From 392f8db6c033f4e6cbd663d50836139453272d2e Mon Sep 17 00:00:00 2001 From: Greg Cormier Date: Mon, 2 Feb 2026 15:18:28 -0500 Subject: [PATCH] add STM32F412 VG --- boards/genericSTM32F412VG.json | 37 ++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 boards/genericSTM32F412VG.json diff --git a/boards/genericSTM32F412VG.json b/boards/genericSTM32F412VG.json new file mode 100644 index 00000000..9ac78407 --- /dev/null +++ b/boards/genericSTM32F412VG.json @@ -0,0 +1,37 @@ +{ + "build": { + "core": "stm32", + "cpu": "cortex-m4", + "extra_flags": "-DSTM32F4 -DSTM32F412Vx -DSTM32F4xx", + "f_cpu": "100000000L", + "mcu": "stm32f412vgt6", + "product_line": "STM32F412Vx", + "variant": "STM32F4xx/F412V(E-G)(T-Y)x(P)" + }, + "debug": { + "jlink_device": "STM32F412VG", + "openocd_target": "stm32f4x", + "svd_path": "STM32F41x.svd" + }, + "frameworks": [ + "arduino", + "cmsis", + "stm32cube", + "libopencm3" + ], + "name": "STM32F412VG (256k RAM. 1024k Flash)", + "upload": { + "maximum_ram_size": 262144, + "maximum_size": 1048576, + "protocol": "serial", + "protocols": [ + "blackmagic", + "dfu", + "jlink", + "serial", + "stlink" + ] + }, + "url": "https://www.st.com/en/microcontrollers-microprocessors/stm32f412vg.html", + "vendor": "Generic" +} \ No newline at end of file