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_ 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" +}