Skip to content

Commit

Permalink
hw/bsp: nucleo-f411re add syscfg selectable download script
Browse files Browse the repository at this point in the history
Signed-off-by: Jerzy Kasenberg <jerzy.kasenberg@codecoup.pl>
  • Loading branch information
kasjer committed May 26, 2023
1 parent f8a540f commit 1029206
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 47 deletions.
4 changes: 1 addition & 3 deletions hw/bsp/nucleo-f411re/bsp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,8 @@ bsp.linkerscript:
bsp.linkerscript.BOOT_LOADER.OVERWRITE:
- "hw/bsp/nucleo-f411re/boot-nucleo-f411re.ld"
- "@apache-mynewt-core/hw/mcu/stm/stm32f4xx/stm32f411.ld"
bsp.downloadscript: "hw/bsp/nucleo-f411re/nucleo-f411re_download.sh"
bsp.downloadscript: "hw/scripts/download.sh"
bsp.debugscript: "hw/bsp/nucleo-f411re/nucleo-f411re_debug.sh"
bsp.downloadscript.WINDOWS.OVERWRITE: "hw/bsp/nucleo-f411re/nucleo-f411re_download.cmd"
bsp.debugscript.WINDOWS.OVERWRITE: "hw/bsp/nucleo-f411re/nucleo-f411re_debug.cmd"

bsp.flash_map:
areas:
Expand Down
22 changes: 0 additions & 22 deletions hw/bsp/nucleo-f411re/nucleo-f411re_debug.cmd

This file was deleted.

22 changes: 0 additions & 22 deletions hw/bsp/nucleo-f411re/nucleo-f411re_download.cmd

This file was deleted.

1 change: 1 addition & 0 deletions hw/bsp/nucleo-f411re/pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,4 @@ pkg.cflags.HARDFLOAT:
pkg.deps:
- "@apache-mynewt-core/hw/mcu/stm/stm32f4xx"
- "@apache-mynewt-core/libc/baselibc"
- "@apache-mynewt-core/hw/scripts"
4 changes: 4 additions & 0 deletions hw/bsp/nucleo-f411re/syscfg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,7 @@ syscfg.vals:
I2C_2_PIN_SCL: 'MCU_GPIO_PORTA(8)'
I2C_2_PIN_SDA: 'MCU_GPIO_PORTC(9)'
TIMER_0_TIM: 'TIM9'
MYNEWT_DOWNLOADER: stflash
MYNEWT_DOWNLOADER_MFG_IMAGE_FLASH_OFFSET: 0x08000000
PYOCD_TARGET: stm32f412xe
JLINK_TARGET: STM32F411RE

0 comments on commit 1029206

Please sign in to comment.