-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update STM32F7 hal drivers to version 1.17.0 * Update STM32F4 hal drivers to version 1.27.1 * Update STM32WB hal drivers to version 1.16.0 * Remove std_periph_stm32f4xx * Add STM32G4 hal drivers version 1.5.1 * add configuration and make it compile for stm32g431 * Remove unmaintained peripheral libraries: stm32f0, f2, f3 * Remove trace * Add hal_st/std_periph/HowToImport.txt * Refactor hal_st/std_periph/CMakeLists * ci: add stm32g431 * Replace HALST_INCLUDE_DEFAULT_LINKER_SCRIPTS with halst_target_default_linker_scripts * Fix previous commit * Remove most conditional inclusion of peripherals * Replace HALST_INCLUDE_DEFAULT_INIT by halst_default_init function * Move ST HAL drivers from hal_st to st, remove hal_st/cmsis/cmsis_arm and hal_st/cmsis/cortex * Remove hal_st/cmsis, add default code to hal_st/default_init/DefaultInit.cpp, remove Default_Handler from all startup code * hal_st/default_init/CMakeLists: Rename halst_default_init to halst_target_default_init * Align Nucleo support * Fix startup initialization of STM32WBxx * Make xml files used for generating tables configurable through HALST_XML_GPIO and HALST_XML_STM32 * CMakePresets: Configure the Nucleo variant for STM32WB55 * examples/blink and examples/freertos: Only include in build when building for ST * .github/workflows/ci.yml: stm32wb55cg -> stm32wb55rg * Move default clock initialization functions to hal_st/stm32fxxx * hal_st/instantiations/NucleoUi: Rename Nucleo68Ui to Nucleo64WBUi * Add initialization methods for typical Nucleo and Discovery clock settings * Move initialization assembly to hal_st.default_init * st/hal_driver.cmake: Add USE_FULL_LL_DRIVER definition * Several small refactorings * .github/workflows/ci.yml: Update stm32wb55rg to stm32wb55 * Make examples/blink suitable for NUCLEO-G431RB * hal_st/default_init/DefaultInit: Add __assert_func to avoid pulling in _write, _close, _fstat, _isatty, _lseek, _read * hal_st/default_init/DefaultInit: Make Default_Handler_Forwarded weak so it can be overridden * CMakeLists: Update emil version used because the release contains a bug regarding the use of EMIL_OBJ_COPY_TOOL
- Loading branch information
1 parent
b103541
commit 6987d83
Showing
1,902 changed files
with
1,734,922 additions
and
1,004,763 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,35 @@ | ||
if ("${TARGET_MCU}" STREQUAL "stm32f767") | ||
add_executable(hal_st.blink Main.cpp) | ||
target_link_libraries(hal_st.blink PRIVATE | ||
services.util | ||
hal_st.instantiations | ||
) | ||
|
||
emil_generate_artifacts(TARGET hal_st.blink LST MAP BIN HEX) | ||
endif() | ||
add_executable(hal_st.blink_nucleo144 Main.cpp) | ||
set_target_properties(hal_st.blink_nucleo144 PROPERTIES EXCLUDE_FROM_ALL $<NOT:$<STREQUAL:${TARGET_MCU_VENDOR},st>>) | ||
|
||
target_compile_definitions(hal_st.blink_nucleo144 PUBLIC | ||
NUCLEO=Nucleo144Ui | ||
) | ||
|
||
target_link_libraries(hal_st.blink_nucleo144 PRIVATE | ||
services.util | ||
hal_st.instantiations | ||
) | ||
|
||
halst_target_default_linker_scripts(hal_st.blink_nucleo144) | ||
halst_target_default_init(hal_st.blink_nucleo144) | ||
|
||
emil_generate_artifacts(TARGET hal_st.blink_nucleo144 LST MAP BIN HEX) | ||
|
||
###################################################################### | ||
|
||
add_executable(hal_st.blink_nucleo64 Main.cpp) | ||
set_target_properties(hal_st.blink_nucleo64 PROPERTIES EXCLUDE_FROM_ALL $<NOT:$<STREQUAL:${TARGET_MCU_VENDOR},st>>) | ||
|
||
target_compile_definitions(hal_st.blink_nucleo64 PUBLIC | ||
NUCLEO=Nucleo64Ui | ||
) | ||
|
||
target_link_libraries(hal_st.blink_nucleo64 PRIVATE | ||
services.util | ||
hal_st.instantiations | ||
) | ||
|
||
halst_target_default_linker_scripts(hal_st.blink_nucleo64) | ||
halst_target_default_init(hal_st.blink_nucleo64) | ||
|
||
emil_generate_artifacts(TARGET hal_st.blink_nucleo64 LST MAP BIN HEX) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,15 @@ | ||
if ("${TARGET_MCU}" STREQUAL "stm32f767" AND ${HALST_BUILD_EXAMPLES_FREERTOS}) | ||
add_executable(hal_st.freertos Main.cpp) | ||
target_link_libraries(hal_st.freertos PRIVATE | ||
if (${HALST_BUILD_EXAMPLES_FREERTOS}) | ||
add_executable(hal_st.freertos_nucleo144 Main.cpp) | ||
set_target_properties(hal_st.freertos_nucleo144 PROPERTIES EXCLUDE_FROM_ALL $<NOT:$<STREQUAL:${TARGET_MCU_VENDOR},st>>) | ||
|
||
target_link_libraries(hal_st.freertos_nucleo144 PRIVATE | ||
hal_st.instantiations | ||
osal.thread | ||
osal.freertos_system_time | ||
) | ||
|
||
halst_target_default_linker_scripts(hal_st.freertos_nucleo144) | ||
halst_target_default_init(hal_st.freertos_nucleo144) | ||
|
||
emil_generate_artifacts(TARGET hal_st.freertos_nucleo144 LST MAP BIN HEX) | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
add_subdirectory(cmsis) | ||
add_subdirectory(std_periph) | ||
add_subdirectory(cortex) | ||
add_subdirectory(stm32fxxx) | ||
add_subdirectory(synchronous_stm32fxxx) | ||
add_subdirectory(middlewares) | ||
add_subdirectory(instantiations) | ||
add_subdirectory(default_init) |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#include "cmsis_device.h" | ||
#include DEVICE_HEADER | ||
|
||
extern "C" | ||
{ | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.