Skip to content

Commit 9d6eeca

Browse files
authored
Users/rywinter/mxchip clock (#173)
* update toolchain installs * factor mxchip bsp from stmcubef4 * correct mxchip external osc to 26MHz * update to latest stm32cubef4
1 parent 0d22323 commit 9d6eeca

File tree

177 files changed

+32800
-40498
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

177 files changed

+32800
-40498
lines changed

MXChip/AZ3166/app/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ target_link_libraries(${PROJECT_NAME}
2525
azrtos::netxduo
2626

2727
stm32cubef4
28+
mxchip_bsp
2829
wiced_sdk
2930
app_common
3031
jsmn

MXChip/AZ3166/lib/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@ add_subdirectory(${CORE_LIB_DIR}/netxduo netxduo)
2222
add_subdirectory(${CORE_LIB_DIR}/jsmn jsmn)
2323

2424
add_subdirectory(stm32cubef4)
25+
add_subdirectory(mxchip_bsp)
2526
add_subdirectory(wiced_sdk)
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
set(SOURCES
2+
stm_sensor/Src/lps22hb_reg.c
3+
stm_sensor/Src/hts221_reg.c
4+
stm_sensor/Src/lsm6dsl_reg.c
5+
stm_sensor/Src/lis2mdl_reg.c
6+
stm_sensor/Src/lsm6dsl_read_data_polling.c
7+
stm_sensor/Src/lps22hb_read_data_polling.c
8+
stm_sensor/Src/hts221_read_data_polling.c
9+
stm_sensor/Src/lis2mdl_read_data_polling.c
10+
ssd1306/Src/ssd1306.c
11+
ssd1306/Src/ssd1306_fonts.c
12+
)
13+
14+
set(TARGET mxchip_bsp)
15+
16+
add_library(${TARGET} OBJECT
17+
${SOURCES})
18+
19+
target_link_libraries(${TARGET}
20+
stm32cubef4
21+
)
22+
23+
target_compile_definitions(${TARGET}
24+
PUBLIC
25+
STM32F4
26+
SSD1306_USE_I2C
27+
)
28+
29+
target_include_directories(${TARGET}
30+
PUBLIC
31+
stm_sensor/Inc
32+
ssd1306/Inc
33+
)

MXChip/AZ3166/lib/stm32cubef4/CMakeLists.txt

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,6 @@ set(STM32Cube_DIR "./")
44
find_package(CMSIS REQUIRED)
55
find_package(STM32HAL REQUIRED COMPONENTS dma flash gpio tim timebase_tim uart usart i2c)
66

7-
list(APPEND STM32HAL_SOURCES
8-
Drivers/stm_sensor/Src/lps22hb_reg.c
9-
Drivers/stm_sensor/Src/hts221_reg.c
10-
Drivers/stm_sensor/Src/lsm6dsl_reg.c
11-
Drivers/stm_sensor/Src/lis2mdl_reg.c
12-
Drivers/stm_sensor/Src/lsm6dsl_read_data_polling.c
13-
Drivers/stm_sensor/Src/lps22hb_read_data_polling.c
14-
Drivers/stm_sensor/Src/hts221_read_data_polling.c
15-
Drivers/stm_sensor/Src/lis2mdl_read_data_polling.c
16-
Drivers/ssd1306/Src/ssd1306.c
17-
Drivers/ssd1306/Src/ssd1306_fonts.c
18-
)
19-
207
set(TARGET stm32cubef4)
218

229
add_library(${TARGET} OBJECT
@@ -27,14 +14,11 @@ target_compile_definitions(${TARGET}
2714
STM32F412Rx
2815
USE_HAL_DRIVER
2916
STM32F4
30-
SSD1306_USE_I2C
3117
)
3218

3319
target_include_directories(${TARGET}
3420
PUBLIC
3521
${CMSIS_INCLUDE_DIRS}
3622
${STM32HAL_INCLUDE_DIR}
37-
Drivers/stm_sensor/Inc
38-
Drivers/ssd1306/Inc
3923
config
4024
)

MXChip/AZ3166/lib/stm32cubef4/Drivers/CMSIS/Device/ST/STM32F4xx/Release_Notes.html

Lines changed: 654 additions & 654 deletions
Large diffs are not rendered by default.

MXChip/AZ3166/lib/stm32cubef4/Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/arm/startup_stm32f401xc.s

Lines changed: 0 additions & 377 deletions
This file was deleted.

MXChip/AZ3166/lib/stm32cubef4/Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/arm/startup_stm32f401xe.s

Lines changed: 0 additions & 377 deletions
This file was deleted.

MXChip/AZ3166/lib/stm32cubef4/Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/arm/startup_stm32f405xx.s

Lines changed: 0 additions & 419 deletions
This file was deleted.

MXChip/AZ3166/lib/stm32cubef4/Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/arm/startup_stm32f407xx.s

Lines changed: 0 additions & 425 deletions
This file was deleted.

MXChip/AZ3166/lib/stm32cubef4/Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/arm/startup_stm32f410cx.s

Lines changed: 0 additions & 383 deletions
This file was deleted.

MXChip/AZ3166/lib/stm32cubef4/Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/arm/startup_stm32f410rx.s

Lines changed: 0 additions & 383 deletions
This file was deleted.

MXChip/AZ3166/lib/stm32cubef4/Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/arm/startup_stm32f410tx.s

Lines changed: 0 additions & 377 deletions
This file was deleted.

MXChip/AZ3166/lib/stm32cubef4/Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/arm/startup_stm32f411xe.s

Lines changed: 0 additions & 380 deletions
This file was deleted.

MXChip/AZ3166/lib/stm32cubef4/Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/arm/startup_stm32f412cx.s

Lines changed: 0 additions & 430 deletions
This file was deleted.

MXChip/AZ3166/lib/stm32cubef4/Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/arm/startup_stm32f412rx.s

Lines changed: 0 additions & 434 deletions
This file was deleted.

MXChip/AZ3166/lib/stm32cubef4/Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/arm/startup_stm32f412vx.s

Lines changed: 0 additions & 434 deletions
This file was deleted.

MXChip/AZ3166/lib/stm32cubef4/Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/arm/startup_stm32f412zx.s

Lines changed: 0 additions & 434 deletions
This file was deleted.

MXChip/AZ3166/lib/stm32cubef4/Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/arm/startup_stm32f413xx.s

Lines changed: 0 additions & 473 deletions
This file was deleted.

MXChip/AZ3166/lib/stm32cubef4/Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/arm/startup_stm32f415xx.s

Lines changed: 0 additions & 421 deletions
This file was deleted.

MXChip/AZ3166/lib/stm32cubef4/Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/arm/startup_stm32f417xx.s

Lines changed: 0 additions & 427 deletions
This file was deleted.

MXChip/AZ3166/lib/stm32cubef4/Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/arm/startup_stm32f423xx.s

Lines changed: 0 additions & 475 deletions
This file was deleted.

MXChip/AZ3166/lib/stm32cubef4/Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/arm/startup_stm32f427xx.s

Lines changed: 0 additions & 444 deletions
This file was deleted.

MXChip/AZ3166/lib/stm32cubef4/Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/arm/startup_stm32f429xx.s

Lines changed: 0 additions & 450 deletions
This file was deleted.

MXChip/AZ3166/lib/stm32cubef4/Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/arm/startup_stm32f437xx.s

Lines changed: 0 additions & 448 deletions
This file was deleted.

MXChip/AZ3166/lib/stm32cubef4/Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/arm/startup_stm32f439xx.s

Lines changed: 0 additions & 452 deletions
This file was deleted.

MXChip/AZ3166/lib/stm32cubef4/Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/arm/startup_stm32f446xx.s

Lines changed: 0 additions & 447 deletions
This file was deleted.

MXChip/AZ3166/lib/stm32cubef4/Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/arm/startup_stm32f469xx.s

Lines changed: 0 additions & 456 deletions
This file was deleted.

MXChip/AZ3166/lib/stm32cubef4/Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/arm/startup_stm32f479xx.s

Lines changed: 0 additions & 458 deletions
This file was deleted.

MXChip/AZ3166/lib/stm32cubef4/Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/gcc/startup_stm32f401xc.s

Lines changed: 432 additions & 432 deletions
Large diffs are not rendered by default.

MXChip/AZ3166/lib/stm32cubef4/Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/gcc/startup_stm32f401xe.s

Lines changed: 432 additions & 432 deletions
Large diffs are not rendered by default.

MXChip/AZ3166/lib/stm32cubef4/Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/gcc/startup_stm32f405xx.s

Lines changed: 500 additions & 500 deletions
Large diffs are not rendered by default.

MXChip/AZ3166/lib/stm32cubef4/Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/gcc/startup_stm32f407xx.s

Lines changed: 505 additions & 505 deletions
Large diffs are not rendered by default.

MXChip/AZ3166/lib/stm32cubef4/Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/gcc/startup_stm32f410cx.s

Lines changed: 431 additions & 431 deletions
Large diffs are not rendered by default.

MXChip/AZ3166/lib/stm32cubef4/Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/gcc/startup_stm32f410rx.s

Lines changed: 431 additions & 431 deletions
Large diffs are not rendered by default.

MXChip/AZ3166/lib/stm32cubef4/Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/gcc/startup_stm32f410tx.s

Lines changed: 422 additions & 422 deletions
Large diffs are not rendered by default.

MXChip/AZ3166/lib/stm32cubef4/Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/gcc/startup_stm32f411xe.s

Lines changed: 436 additions & 436 deletions
Large diffs are not rendered by default.

MXChip/AZ3166/lib/stm32cubef4/Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/gcc/startup_stm32f412cx.s

Lines changed: 505 additions & 505 deletions
Large diffs are not rendered by default.

MXChip/AZ3166/lib/stm32cubef4/Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/gcc/startup_stm32f412rx.s

Lines changed: 508 additions & 522 deletions
Large diffs are not rendered by default.

MXChip/AZ3166/lib/stm32cubef4/Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/gcc/startup_stm32f412vx.s

Lines changed: 508 additions & 508 deletions
Large diffs are not rendered by default.

MXChip/AZ3166/lib/stm32cubef4/Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/gcc/startup_stm32f412zx.s

Lines changed: 508 additions & 508 deletions
Large diffs are not rendered by default.

MXChip/AZ3166/lib/stm32cubef4/Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/gcc/startup_stm32f413xx.s

Lines changed: 564 additions & 564 deletions
Large diffs are not rendered by default.

MXChip/AZ3166/lib/stm32cubef4/Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/gcc/startup_stm32f415xx.s

Lines changed: 501 additions & 501 deletions
Large diffs are not rendered by default.

MXChip/AZ3166/lib/stm32cubef4/Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/gcc/startup_stm32f417xx.s

Lines changed: 511 additions & 511 deletions
Large diffs are not rendered by default.

MXChip/AZ3166/lib/stm32cubef4/Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/gcc/startup_stm32f423xx.s

Lines changed: 567 additions & 567 deletions
Large diffs are not rendered by default.

MXChip/AZ3166/lib/stm32cubef4/Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/gcc/startup_stm32f427xx.s

Lines changed: 535 additions & 535 deletions
Large diffs are not rendered by default.

MXChip/AZ3166/lib/stm32cubef4/Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/gcc/startup_stm32f429xx.s

Lines changed: 543 additions & 543 deletions
Large diffs are not rendered by default.

MXChip/AZ3166/lib/stm32cubef4/Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/gcc/startup_stm32f437xx.s

Lines changed: 542 additions & 542 deletions
Large diffs are not rendered by default.

MXChip/AZ3166/lib/stm32cubef4/Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/gcc/startup_stm32f439xx.s

Lines changed: 552 additions & 552 deletions
Large diffs are not rendered by default.

MXChip/AZ3166/lib/stm32cubef4/Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/gcc/startup_stm32f446xx.s

Lines changed: 536 additions & 536 deletions
Large diffs are not rendered by default.

MXChip/AZ3166/lib/stm32cubef4/Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/gcc/startup_stm32f469xx.s

Lines changed: 556 additions & 556 deletions
Large diffs are not rendered by default.

MXChip/AZ3166/lib/stm32cubef4/Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/gcc/startup_stm32f479xx.s

Lines changed: 559 additions & 559 deletions
Large diffs are not rendered by default.

MXChip/AZ3166/lib/stm32cubef4/Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/iar/linker/stm32f401xc_flash.icf

Lines changed: 0 additions & 31 deletions
This file was deleted.

MXChip/AZ3166/lib/stm32cubef4/Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/iar/linker/stm32f401xc_sram.icf

Lines changed: 0 additions & 31 deletions
This file was deleted.

MXChip/AZ3166/lib/stm32cubef4/Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/iar/linker/stm32f401xe_flash.icf

Lines changed: 0 additions & 31 deletions
This file was deleted.

MXChip/AZ3166/lib/stm32cubef4/Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/iar/linker/stm32f401xe_sram.icf

Lines changed: 0 additions & 31 deletions
This file was deleted.

MXChip/AZ3166/lib/stm32cubef4/Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/iar/linker/stm32f405xx_flash.icf

Lines changed: 0 additions & 34 deletions
This file was deleted.

MXChip/AZ3166/lib/stm32cubef4/Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/iar/linker/stm32f405xx_sram.icf

Lines changed: 0 additions & 34 deletions
This file was deleted.

MXChip/AZ3166/lib/stm32cubef4/Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/iar/linker/stm32f407xx_flash.icf

Lines changed: 0 additions & 34 deletions
This file was deleted.

MXChip/AZ3166/lib/stm32cubef4/Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/iar/linker/stm32f407xx_sram.icf

Lines changed: 0 additions & 34 deletions
This file was deleted.

MXChip/AZ3166/lib/stm32cubef4/Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/iar/linker/stm32f410cx_flash.icf

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)