Commit d1d80bb
committed
Avoid use internal core header file use Arduino.h instead
Up to the used core to define properly what the library need.
Mainly the cortex M core to use:
Ex: for STM32F103 based board:
#define __CORTEX_M (0x03U) /*!< Cortex-M Core */
https://github.com/stm32duino/Arduino_Core_STM32 uses the CMSIS which defined it.
https://github.com/ARM-software/CMSIS/blob/6891719834ac6ca2a79e8ded00620faffae10ae8/CMSIS/Include/core_cm3.h#L79
Fix #3
Signed-off-by: Frederic Pillon <[email protected]>1 parent 24cd55d commit d1d80bb
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
0 commit comments