Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@

- TCA9534: Added I2C GPIO expander driver (`src/dev/tca9534.h`) with shared-bus and owned-bus init, plus `TCA9534_GPIO` example.

### Bug Fixes

- CMake: `DATA_IN_D2_SRAM` is now defined, so `SystemInit()` enables the D2 AHB SRAM blocks that hold the DMA buffers. The Makefile build already did this.

## v8.1.0

### Features
Expand Down
5 changes: 5 additions & 0 deletions Drivers/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ target_include_directories(CMSIS_DEVICE_H7 PUBLIC
target_sources(CMSIS_DEVICE_H7 PRIVATE
${MODULE_DIR}/sys/system_stm32h7xx.c
)
# Enables the D2 AHB SRAM blocks in SystemInit(). DMA_BUFFER_MEM_SECTION places
# DMA buffers there (.sram1_bss / RAM_D2), and the blocks are off out of reset.
target_compile_definitions(CMSIS_DEVICE_H7 PRIVATE
DATA_IN_D2_SRAM
)
target_link_libraries(CMSIS_DEVICE_H7 PUBLIC
CMSIS_CORE
STM32H7XX_HAL_DRIVER
Expand Down
Loading