Skip to content

Commit

Permalink
hw/bsp/b-l475e-iot01a: Use common startup code
Browse files Browse the repository at this point in the history
This:
- removes .cmd files that are no longer needed.
- removes local linker scripts
- removes download script and allows to use global one
- removes startup_stm32l475xx.s
- switches to use common startup and linke scripts

Signed-off-by: Jerzy Kasenberg <jerzy.kasenberg@codecoup.pl>
  • Loading branch information
kasjer committed Apr 12, 2024
1 parent 5c2cea1 commit 4b2c33e
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 671 deletions.
28 changes: 0 additions & 28 deletions hw/bsp/b-l475e-iot01a/b-l475e-iot01a.ld

This file was deleted.

22 changes: 0 additions & 22 deletions hw/bsp/b-l475e-iot01a/b-l475e-iot01a_debug.cmd

This file was deleted.

22 changes: 0 additions & 22 deletions hw/bsp/b-l475e-iot01a/b-l475e-iot01a_download.cmd

This file was deleted.

39 changes: 0 additions & 39 deletions hw/bsp/b-l475e-iot01a/b-l475e-iot01a_download.sh

This file was deleted.

28 changes: 0 additions & 28 deletions hw/bsp/b-l475e-iot01a/boot-b-l475e-iot01a.ld

This file was deleted.

11 changes: 2 additions & 9 deletions hw/bsp/b-l475e-iot01a/bsp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,9 @@ bsp.url: https://www.st.com/en/evaluation-tools/b-l475e-iot01a.html
bsp.maker: "STMicroelectronics"
bsp.arch: cortex_m4
bsp.compiler: compiler/arm-none-eabi-m4
bsp.linkerscript:
- "hw/bsp/b-l475e-iot01a/b-l475e-iot01a.ld"
- "@apache-mynewt-core/hw/mcu/stm/stm32l4xx/stm32l476.ld"
bsp.linkerscript.BOOT_LOADER.OVERWRITE:
- "hw/bsp/b-l475e-iot01a/boot-b-l475e-iot01a.ld"
- "@apache-mynewt-core/hw/mcu/stm/stm32l4xx/stm32l476.ld"
bsp.downloadscript: "hw/bsp/b-l475e-iot01a/b-l475e-iot01a_download.sh"
bsp.linkerscript: autogenerated
bsp.downloadscript: "hw/scripts/download.sh"
bsp.debugscript: "hw/bsp/b-l475e-iot01a/b-l475e-iot01a_debug.sh"
bsp.downloadscript.WINDOWS.OVERWRITE: "hw/bsp/b-l475e-iot01a/b-l475e-iot01a_download.cmd"
bsp.debugscript.WINDOWS.OVERWRITE: "hw/bsp/b-l475e-iot01a/b-l475e-iot01a_debug.cmd"

bsp.flash_map:
areas:
Expand Down
2 changes: 2 additions & 0 deletions hw/bsp/b-l475e-iot01a/pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ pkg.cflags.HARDFLOAT:
pkg.deps:
- "@apache-mynewt-core/hw/mcu/stm/stm32l4xx"
- "@apache-mynewt-core/libc"
- "@apache-mynewt-core/hw/scripts"
- "@apache-mynewt-core/boot/startup"

pkg.deps.LPS22HB_ONB:
- "@apache-mynewt-core/hw/drivers/sensors/lps33hw"
Expand Down
Loading

0 comments on commit 4b2c33e

Please sign in to comment.