diff --git a/boards/genericSTM32F070x6.json b/boards/genericSTM32F070x6.json new file mode 100644 index 00000000..ac1ce83c --- /dev/null +++ b/boards/genericSTM32F070x6.json @@ -0,0 +1,36 @@ +{ + "build": { + "cpu": "cortex-m0", + "extra_flags": "-DSTM32F070x6", + "f_cpu": "48000000L", + "mcu": "stm32f070f6p6", + "product_line": "STM32F070x6", + "variant": "STM32F0xx/F070F6P" + }, + "debug": { + "jlink_device": "STM32F070F6", + "openocd_target": "stm32f0x", + "svd_path": "STM32F0x0.svd" + }, + "frameworks": [ + "arduino", + "cmsis", + "stm32cube", + "libopencm3" + ], + "name": "STM32F070F6P6 (6K RAM 32K Flash)", + "upload": { + "maximum_ram_size": 6144, + "maximum_size": 32768, + "protocol": "stlink", + "protocols": [ + "jlink", + "cmsis-dap", + "stlink", + "blackmagic", + "serial" + ] + }, + "url": "https://www.hotmcu.com/stm32f030f4p6-minimum-systerm-boardcortexm0-p-208.html", + "vendor": "Generic" +} diff --git a/boards/genericSTM32G0xx.json b/boards/genericSTM32G0xx.json new file mode 100644 index 00000000..a4bca46e --- /dev/null +++ b/boards/genericSTM32G0xx.json @@ -0,0 +1,42 @@ +{ + "build": { + "core": "stm32", + "cpu": "cortex-m0plus", + "extra_flags": "-DSTM32G0xx -DSTM32G030xx", + "f_cpu": "64000000L", + "framework_extra_flags": { + "arduino": "-D__CORTEX_SC=0" + }, + "mcu": "stm32g030f6p6", + "product_line": "STM32G030xx", + "variant": "STM32G0xx/G030F6P" + }, + "debug": { + "jlink_device": "STM32G030F6", + "openocd_target": "stm32g0x", + "svd_path": "STM32G030.svd" + }, + "frameworks": [ + "arduino", + "cmsis", + "libopencm3", + "stm32cube" + ], + "name": "genericSTM32G030F6P6", + "upload": { + "maximum_ram_size": 8192, + "maximum_size": 32768, + "protocol": "stlink", + "protocols": [ + "stlink", + "blackmagic", + "cmsis-dap", + "dfu", + "jlink", + "serial", + "mbed" + ] + }, + "url": "https://github.com/WeActStudio/WeActStudio.STM32G0xxC0xxCoreBoard/", + "vendor": "WeActStudio" +}