Skip to content

Commit

Permalink
hw/bsp: Disable UART_0 in bootloader for BSPs that don't fit on flash
Browse files Browse the repository at this point in the history
This allows to fit in mcuboot with default configuration.
  • Loading branch information
sjanc committed Oct 9, 2023
1 parent 11bc3ee commit 763b634
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions hw/bsp/b-l072z-lrwan1/syscfg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,8 @@ syscfg.vals:
TIMER_0_TIM: 'TIM2'
TIMER_1_TIM: 'TIM3'
TIMER_2_TIM: 'TIM21'

# Disable UART for bootloader, otherwise may not fit on flash
# with default build
syscfg.vals.BOOT_LOADER:
UART_0: 0
5 changes: 5 additions & 0 deletions hw/bsp/stm32f4discovery/syscfg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,8 @@ syscfg.vals:
TIMER_0_TIM: 'TIM9'
TIMER_1_TIM: 'TIM10'
TIMER_2_TIM: 'TIM11'

# Disable UART for bootloader, otherwise may not fit on flash
# with default build
syscfg.vals.BOOT_LOADER:
UART_0: 0

0 comments on commit 763b634

Please sign in to comment.