From 2441e150a482d914afe5091158604e0885e62282 Mon Sep 17 00:00:00 2001 From: jeromecoutant Date: Thu, 10 Sep 2020 14:12:51 +0200 Subject: [PATCH] MCU_STM32G031xx : decrease boot-stack-size As a small RAM target, default boot-stack-size is decreased for baremetal full support --- targets/targets.json | 25 +++++++------------------ 1 file changed, 7 insertions(+), 18 deletions(-) diff --git a/targets/targets.json b/targets/targets.json index a2458619ad..8bfa31d83a 100644 --- a/targets/targets.json +++ b/targets/targets.json @@ -2374,6 +2374,12 @@ "MCU_STM32G0" ], "public": false, + "overrides": { + "boot-stack-size": "0x400" + }, + "supported_application_profiles": [ + "bare-metal" + ], "extra_labels_add": [ "STM32G031xx" ], @@ -2388,24 +2394,7 @@ "detect_code": [ "0852" ], - "device_name": "STM32G031K8Tx", - "supported_c_libs": { - "arm": [ - "std", - "small" - ], - "gcc_arm": [ - "std", - "small" - ], - "iar": [ - "std" - ] - }, - "c_lib": "small", - "supported_application_profiles": [ - "bare-metal" - ] + "device_name": "STM32G031K8Tx" }, "MCU_STM32G071xx": { "inherits": [