Skip to content

Commit

Permalink
hw/bsp: Use common startup in STM32F0 boards
Browse files Browse the repository at this point in the history
This
- switches to use autogenerated linker script
- removes .cmd files
- removes local versions of startup code

Signed-off-by: Jerzy Kasenberg <jerzy.kasenberg@codecoup.pl>
  • Loading branch information
kasjer committed May 15, 2024
1 parent 790cd58 commit f5565e4
Show file tree
Hide file tree
Showing 14 changed files with 10 additions and 806 deletions.
6 changes: 1 addition & 5 deletions hw/bsp/nucleo-f030r8/bsp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,9 @@ bsp.url: https://www.st.com/en/evaluation-tools/nucleo-f030r8.html
bsp.maker: "STMicroelectronics"
bsp.arch: cortex_m0
bsp.compiler: compiler/arm-none-eabi-m0
bsp.linkerscript:
- "hw/bsp/nucleo-f030r8/nucleo-f030r8.ld"
- "@apache-mynewt-core/hw/mcu/stm/stm32f0xx/stm32f0xx.ld"
bsp.linkerscript: autogenerated
bsp.downloadscript: "hw/bsp/nucleo-f030r8/nucleo-f030r8_download.sh"
bsp.debugscript: "hw/bsp/nucleo-f030r8/nucleo-f030r8_debug.sh"
bsp.downloadscript.WINDOWS.OVERWRITE: "hw/bsp/nucleo-f030r8/nucleo-f030r8_download.cmd"
bsp.debugscript.WINDOWS.OVERWRITE: "hw/bsp/nucleo-f030r8/nucleo-f030r8_debug.cmd"

bsp.flash_map:
areas:
Expand Down
39 changes: 0 additions & 39 deletions hw/bsp/nucleo-f030r8/nucleo-f030r8.ld

This file was deleted.

22 changes: 0 additions & 22 deletions hw/bsp/nucleo-f030r8/nucleo-f030r8_debug.cmd

This file was deleted.

22 changes: 0 additions & 22 deletions hw/bsp/nucleo-f030r8/nucleo-f030r8_download.cmd

This file was deleted.

1 change: 1 addition & 0 deletions hw/bsp/nucleo-f030r8/pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,4 @@ pkg.cflags.HARDFLOAT:
pkg.deps:
- "@apache-mynewt-core/hw/mcu/stm/stm32f0xx"
- "@apache-mynewt-core/libc"
- "@apache-mynewt-core/boot/startup"
Loading

0 comments on commit f5565e4

Please sign in to comment.