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/Drivers/ssd1306/Inc/ssd1306.h renamed to MXChip/AZ3166/lib/mxchip_bsp/ssd1306/Inc/ssd1306.h

File renamed without changes.

MXChip/AZ3166/lib/stm32cubef4/Drivers/ssd1306/Inc/ssd1306_fonts.h renamed to MXChip/AZ3166/lib/mxchip_bsp/ssd1306/Inc/ssd1306_fonts.h

File renamed without changes.
File renamed without changes.

MXChip/AZ3166/lib/stm32cubef4/Drivers/ssd1306/Src/ssd1306.c renamed to MXChip/AZ3166/lib/mxchip_bsp/ssd1306/Src/ssd1306.c

File renamed without changes.

MXChip/AZ3166/lib/stm32cubef4/Drivers/ssd1306/Src/ssd1306_fonts.c renamed to MXChip/AZ3166/lib/mxchip_bsp/ssd1306/Src/ssd1306_fonts.c

File renamed without changes.

MXChip/AZ3166/lib/stm32cubef4/Drivers/stm_sensor/Inc/hts221_reg.h renamed to MXChip/AZ3166/lib/mxchip_bsp/stm_sensor/Inc/hts221_reg.h

File renamed without changes.

MXChip/AZ3166/lib/stm32cubef4/Drivers/stm_sensor/Inc/lis2mdl_reg.h renamed to MXChip/AZ3166/lib/mxchip_bsp/stm_sensor/Inc/lis2mdl_reg.h

File renamed without changes.

0 commit comments

Comments
 (0)