diff --git a/targets/targets.json b/targets/targets.json
index d4f6a93f2c0..733adca6542 100644
--- a/targets/targets.json
+++ b/targets/targets.json
@@ -2870,6 +2870,7 @@
},
"TB_SENSE_12": {
"inherits": ["EFR32MG12P332F1024GL125"],
+ "device_name": "EFR32MG12P332F1024GL125",
"device_has": ["ANALOGIN", "I2C", "I2CSLAVE", "I2C_ASYNCH", "INTERRUPTIN", "LOWPOWERTIMER", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SERIAL_ASYNCH", "SLEEP", "SPI", "SPISLAVE", "SPI_ASYNCH", "STDIO_MESSAGES", "TRNG", "FLASH"],
"forced_reset_timeout": 5,
"config": {
diff --git a/tools/export/uvision/uvision.tmpl b/tools/export/uvision/uvision.tmpl
index 49c708c3bb1..f49c79659d4 100644
--- a/tools/export/uvision/uvision.tmpl
+++ b/tools/export/uvision/uvision.tmpl
@@ -394,7 +394,7 @@
{{asm_flags}}
- {{include_paths}}
+