summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/rp2/boards/MACHDYNE_WERKZEUG/board.json19
-rw-r--r--ports/rp2/boards/MACHDYNE_WERKZEUG/mpconfigboard.cmake3
-rw-r--r--ports/rp2/boards/MACHDYNE_WERKZEUG/mpconfigboard.h3
-rw-r--r--ports/rp2/boards/MACHDYNE_WERKZEUG/pins.csv30
4 files changed, 55 insertions, 0 deletions
diff --git a/ports/rp2/boards/MACHDYNE_WERKZEUG/board.json b/ports/rp2/boards/MACHDYNE_WERKZEUG/board.json
new file mode 100644
index 000000000..c657f18b2
--- /dev/null
+++ b/ports/rp2/boards/MACHDYNE_WERKZEUG/board.json
@@ -0,0 +1,19 @@
+{
+ "deploy": [
+ "../deploy.md"
+ ],
+ "docs": "",
+ "features": [
+ "Dual-core",
+ "External Flash",
+ "USB-C"
+ ],
+ "images": [
+ "werkzeug.jpg"
+ ],
+ "mcu": "rp2040",
+ "product": "Werkzeug",
+ "thumbnail": "",
+ "url": "https://machdyne.com/product/werkzeug-multi-tool/",
+ "vendor": "Machdyne"
+}
diff --git a/ports/rp2/boards/MACHDYNE_WERKZEUG/mpconfigboard.cmake b/ports/rp2/boards/MACHDYNE_WERKZEUG/mpconfigboard.cmake
new file mode 100644
index 000000000..281c4e6f1
--- /dev/null
+++ b/ports/rp2/boards/MACHDYNE_WERKZEUG/mpconfigboard.cmake
@@ -0,0 +1,3 @@
+# cmake file for Machdyne Werkzeug
+set(PICO_BOARD "machdyne_werkzeug")
+set(PICO_PLATFORM "rp2040")
diff --git a/ports/rp2/boards/MACHDYNE_WERKZEUG/mpconfigboard.h b/ports/rp2/boards/MACHDYNE_WERKZEUG/mpconfigboard.h
new file mode 100644
index 000000000..476ea23b9
--- /dev/null
+++ b/ports/rp2/boards/MACHDYNE_WERKZEUG/mpconfigboard.h
@@ -0,0 +1,3 @@
+// Board and hardware specific configuration
+#define MICROPY_HW_BOARD_NAME "Machdyne Werkzeug"
+#define MICROPY_HW_FLASH_STORAGE_BYTES (384 * 1024)
diff --git a/ports/rp2/boards/MACHDYNE_WERKZEUG/pins.csv b/ports/rp2/boards/MACHDYNE_WERKZEUG/pins.csv
new file mode 100644
index 000000000..c3c578132
--- /dev/null
+++ b/ports/rp2/boards/MACHDYNE_WERKZEUG/pins.csv
@@ -0,0 +1,30 @@
+GP0,GPIO0
+GP1,GPIO1
+GP2,GPIO2
+GP3,GPIO3
+GP4,GPIO4
+GP5,GPIO5
+GP6,GPIO6
+GP7,GPIO7
+GP8,GPIO8
+GP9,GPIO9
+GP10,GPIO10
+GP11,GPIO11
+PMOD10,GPIO12
+PMOD4,GPIO13
+PMOD9,GPIO14
+PMOD3,GPIO15
+PMOD8,GPIO16
+PMOD2,GPIO17
+PMOD7,GPIO18
+PMOD1,GPIO19
+LED_GREEN,GPIO20
+LED_RED,GPIO21
+USBA_POWER,GPIO22
+USBA_DN,GPIO23
+USBA_DP,GPIO24
+USBA_DP_PU,GPIO25
+GP26,GPIO26
+GP27,GPIO27
+GP28,GPIO28
+GP29,GPIO29