Skip to content

Commit

Permalink
hw/bsp/nucleo-l073rz: Update to use common startup
Browse files Browse the repository at this point in the history
Local linker scripts removed.
BSP uses autogenerated linker script and cortex-m0
startup.

Signed-off-by: Jerzy Kasenberg <jerzy.kasenberg@codecoup.pl>
  • Loading branch information
kasjer committed Apr 15, 2024
1 parent 1bf9a1c commit 87e4612
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 384 deletions.
28 changes: 0 additions & 28 deletions hw/bsp/nucleo-l073rz/boot-nucleo-l073rz.ld

This file was deleted.

7 changes: 1 addition & 6 deletions hw/bsp/nucleo-l073rz/bsp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,7 @@ bsp.url: https://www.st.com/en/evaluation-tools/nucleo-l073rz.html
bsp.maker: "STMicroelectronics"
bsp.arch: cortex_m0
bsp.compiler: "@apache-mynewt-core/compiler/arm-none-eabi-m0"
bsp.linkerscript:
- "hw/bsp/nucleo-l073rz/nucleo-l073rz.ld"
- "@apache-mynewt-core/hw/mcu/stm/stm32l0xx/stm32l073.ld"
bsp.linkerscript.BOOT_LOADER.OVERWRITE:
- "hw/bsp/nucleo-l073rz/boot-nucleo-l073rz.ld"
- "@apache-mynewt-core/hw/mcu/stm/stm32l0xx/stm32l073.ld"
bsp.linkerscript: autogenerated
bsp.downloadscript: "hw/scripts/download.sh"
bsp.debugscript: "hw/bsp/nucleo-l073rz/nucleo-l073rz_debug.sh"

Expand Down
4 changes: 2 additions & 2 deletions hw/bsp/nucleo-l073rz/include/bsp/stm32l0xx_hal_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,8 @@
#define TICK_INT_PRIORITY (((uint32_t)1U<<__NVIC_PRIO_BITS) - 1U) /*!< tick interrupt priority */
#define USE_RTOS 0U
#define PREFETCH_ENABLE MYNEWT_VAL(STM32_FLASH_PREFETCH_ENABLE)
#define INSTRUCTION_CACHE_ENABLE MYNEWT_VAL(STM32_INSTRUCTION_CACHE_ENABLE)
#define DATA_CACHE_ENABLE MYNEWT_VAL(STM32_DATA_CACHE_ENABLE)
#define PREREAD_ENABLE MYNEWT_VAL(STM32_FLASH_PREREAD_ENABLE)
#define BUFFER_CACHE_DISABLE (MYNEWT_VAL(STM32_FLASH_CACHE_ENABLE) == 0)

/* ########################## Assert Selection ############################## */
/**
Expand Down
28 changes: 0 additions & 28 deletions hw/bsp/nucleo-l073rz/nucleo-l073rz.ld

This file was deleted.

Loading

0 comments on commit 87e4612

Please sign in to comment.