From a35551f9fe1b437090e3b64de5d60aa08200a97b Mon Sep 17 00:00:00 2001 From: xC0000005 <32139633+xC0000005@users.noreply.github.com> Date: Wed, 13 Jun 2018 11:47:58 -0700 Subject: [PATCH 1/2] Add package.json --- package.json | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 package.json diff --git a/package.json b/package.json new file mode 100644 index 0000000000..c81909ec7a --- /dev/null +++ b/package.json @@ -0,0 +1,7 @@ +{ + "description":"Arduino STM32 Official Framework (stm32core)", + "name":"framework-arduinostm32core", + "system":"all", + "url":"https://github.com/xC0000005/Arduino_Core_STM32", + "version":"1.0.0" +} From feab0ff6915bccf963f60dd6a8726a9c8c57af94 Mon Sep 17 00:00:00 2001 From: xC0000005 <32139633+xC0000005@users.noreply.github.com> Date: Tue, 9 Oct 2018 13:13:18 -0700 Subject: [PATCH 2/2] Add the ability for a variant to use its own startup file by defining CMSIS_STARTUP_FILE. --- cores/arduino/stm32/stm32_def_build.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cores/arduino/stm32/stm32_def_build.h b/cores/arduino/stm32/stm32_def_build.h index d131d85361..7f2f7af348 100644 --- a/cores/arduino/stm32/stm32_def_build.h +++ b/cores/arduino/stm32/stm32_def_build.h @@ -1,6 +1,7 @@ #ifndef _STM32_DEF_BUILD_ #define _STM32_DEF_BUILD_ +#ifndef CMSIS_STARTUP_FILE #if defined(STM32F030x6) #define CMSIS_STARTUP_FILE "startup_stm32f030x6.s" #elif defined(STM32F030x8) @@ -296,4 +297,5 @@ #else #error UNKNOWN CHIP #endif +#endif // CMSIS_STARTUP_FILE undefined #endif //_STM32_DEF_BUILD_