From 4f7085d5c11c02a4e0465aa653238006242facce Mon Sep 17 00:00:00 2001 From: matei jordache Date: Thu, 3 Oct 2024 23:35:23 -0700 Subject: [PATCH] add generic g071c8 --- boards/genericSTM32G071C8.json | 40 ++++++++++++++++++++++++++++++++++ boards/genericSTM32G071RB.json | 2 +- 2 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 boards/genericSTM32G071C8.json diff --git a/boards/genericSTM32G071C8.json b/boards/genericSTM32G071C8.json new file mode 100644 index 00000000..c41a1709 --- /dev/null +++ b/boards/genericSTM32G071C8.json @@ -0,0 +1,40 @@ +{ + "build": { + "core": "stm32", + "cpu": "cortex-m0plus", + "extra_flags": "-DSTM32G0 -DSTM32G0xx -DSTM32G071xx", + "f_cpu": "64000000L", + "mcu": "stm32g071c8u3", + "product_line": "STM32G071xx", + "zephyr": { + "variant": "G071C(6-8-B)(T-U)_G081CB(T-U)" + } + }, + "debug": { + "jlink_device": "STM32G071C8", + "openocd_target": "stm32g0x", + "svd_path": "STM32G071.svd" + }, + "frameworks": [ + "arduino", + "cmsis", + "libopencm3", + "stm32cube", + "zephyr" + ], + "name": "STM32G071C8 (36k RAM, 64k Flash)", + "upload": { + "maximum_ram_size": 36864, + "maximum_size": 65536, + "protocol": "stlink", + "protocols": [ + "stlink", + "jlink", + "cmsis-dap", + "blackmagic", + "mbed" + ] + }, + "url": "https://www.st.com/en/microcontrollers-microprocessors/stm32g071c8.html", + "vendor": "ST" +} diff --git a/boards/genericSTM32G071RB.json b/boards/genericSTM32G071RB.json index ec599410..94599ab7 100644 --- a/boards/genericSTM32G071RB.json +++ b/boards/genericSTM32G071RB.json @@ -22,7 +22,7 @@ "stm32cube", "zephyr" ], - "name": "STM32G071B (36k RAM, 128k Flash)", + "name": "STM32G071RB (36k RAM, 128k Flash)", "upload": { "maximum_ram_size": 36864, "maximum_size": 131072,