diff --git a/boards/default_src/micropython/generators/system.js b/boards/default_src/micropython/generators/system.js
index de7dd76b..6028fb20 100644
--- a/boards/default_src/micropython/generators/system.js
+++ b/boards/default_src/micropython/generators/system.js
@@ -139,7 +139,7 @@ export const timer = function (_, generator) {
export const set_system_timer = function (_, generator) {
generator.definitions_['import_machine'] = 'import machine';
var v = generator.valueToCode(this, "VAR", generator.ORDER_NONE) || "None";
- var i = generator.valueToCode(this, "ID", generator.ORDER_NONE) || "None";
+ var i = generator.valueToCode(this, "PIN", generator.ORDER_NONE) || "None";
var period = generator.valueToCode(this, "period", generator.ORDER_NONE) || "0";
var mode = this.getFieldValue('mode');
var callback = generator.valueToCode(this, "callback", generator.ORDER_NONE) || "None";
diff --git a/boards/default_src/micropython_esp32/template.xml b/boards/default_src/micropython_esp32/template.xml
index 31e611b5..e003f4c9 100644
--- a/boards/default_src/micropython_esp32/template.xml
+++ b/boards/default_src/micropython_esp32/template.xml
@@ -254,7 +254,7 @@
- tim_6
+ tim_callback
diff --git a/boards/default_src/micropython_esp32c2/template.xml b/boards/default_src/micropython_esp32c2/template.xml
index f5a0bb55..6a5dee4f 100644
--- a/boards/default_src/micropython_esp32c2/template.xml
+++ b/boards/default_src/micropython_esp32c2/template.xml
@@ -229,7 +229,7 @@
- tim_6
+ tim_callback
diff --git a/boards/default_src/micropython_esp32c3/template.xml b/boards/default_src/micropython_esp32c3/template.xml
index 3ac0cf2d..31ea26fc 100644
--- a/boards/default_src/micropython_esp32c3/template.xml
+++ b/boards/default_src/micropython_esp32c3/template.xml
@@ -229,7 +229,7 @@
- tim_6
+ tim_callback
diff --git a/boards/default_src/micropython_esp32s2/template.xml b/boards/default_src/micropython_esp32s2/template.xml
index 94ccb6c7..89348d79 100644
--- a/boards/default_src/micropython_esp32s2/template.xml
+++ b/boards/default_src/micropython_esp32s2/template.xml
@@ -254,7 +254,7 @@
- tim_6
+ tim_callback
diff --git a/boards/default_src/micropython_esp32s3/template.xml b/boards/default_src/micropython_esp32s3/template.xml
index 46ec212d..83575a96 100644
--- a/boards/default_src/micropython_esp32s3/template.xml
+++ b/boards/default_src/micropython_esp32s3/template.xml
@@ -254,7 +254,7 @@
- tim_6
+ tim_callback