File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ uint32_t pinNametoDigitalPin(PinName p);
4949// Convert an analog pin number Axx to a PinName Pxy
5050#define analogInputToPinName (p ) (digitalPinToPinName(analogInputToDigitalPin(p)))
5151// All pins could manage EXTI
52- #define digitalPinToInterrupt (p ) (( digitalPinIsValid(p) ? p : NOT_AN_INTERRUPT)
52+ #define digitalPinToInterrupt (p ) (digitalPinIsValid(p) ? p : NOT_AN_INTERRUPT)
5353
5454#define digitalPinHasI2C (p ) (pin_in_pinmap(digitalPinToPinName(p), PinMap_I2C_SDA) ||\
5555 pin_in_pinmap(digitalPinToPinName(p), PinMap_I2C_SCL))
Original file line number Diff line number Diff line change 2626#define CMSIS_STARTUP_FILE "startup_stm32f091xc.s"
2727#elif defined(STM32F030x8 )
2828#define CMSIS_STARTUP_FILE "startup_stm32f030x8.s"
29+ #elif defined(STM32F042x6 )
30+ #define CMSIS_STARTUP_FILE "startup_stm32f042x6.s"
2931#elif defined(STM32F207xx )
3032#define CMSIS_STARTUP_FILE "startup_stm32f207xx.s"
3133#elif defined(STM32F303xE )
You can’t perform that action at this time.
0 commit comments