Commit 9a4bdb8
Add STM32F103xD and xG entries in CMakeLists.txt (ARMmbed#155)
* Add STM32F103xD, STM32F103xG series and fix STM32F103xE startup file
* Add system_clock.c file for STM32F103xD series
* Add STM32F103xD and STM32F103xG to targets.json
* Update CMakeLists.txt to add STM32F103xD and STM32F103xG series
add_subdirectory(TARGET_STM32F103xD EXCLUDE_FROM_ALL)
add_subdirectory(TARGET_STM32F103xG EXCLUDE_FROM_ALL)
* Add remaps for STM32F1 timers as in original mbed-os
Added extra remaps for timers 9 to 14 for STM32F1 needed in STM32F103xG series
#define AFIO_REMAP_TIM9_ENABLE 17
#define AFIO_REMAP_TIM10_ENABLE 18
#define AFIO_REMAP_TIM11_ENABLE 19
#define AFIO_REMAP_TIM13_ENABLE 20
#define AFIO_REMAP_TIM14_ENABLE 21
---------
Co-authored-by: Perez <maperez@hp.com>1 parent e93b80a commit 9a4bdb8
File tree
2 files changed
+7
-0
lines changed- targets/TARGET_STM
- TARGET_STM32F1
2 files changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
55 | 60 | | |
56 | 61 | | |
57 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
| 9 | + | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
| |||
0 commit comments