Skip to content

Commit

Permalink
hw/bsp/b-l072z-lrwan1: Update to use common startup
Browse files Browse the repository at this point in the history
Local linker scripts and .cmd files 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 24, 2024
1 parent 9397646 commit 8625973
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 427 deletions.
28 changes: 0 additions & 28 deletions hw/bsp/b-l072z-lrwan1/b-l072z-lrwan1.ld

This file was deleted.

22 changes: 0 additions & 22 deletions hw/bsp/b-l072z-lrwan1/b-l072z-lrwan1_debug.cmd

This file was deleted.

22 changes: 0 additions & 22 deletions hw/bsp/b-l072z-lrwan1/b-l072z-lrwan1_download.cmd

This file was deleted.

28 changes: 0 additions & 28 deletions hw/bsp/b-l072z-lrwan1/boot-b-l072z-lrwan1.ld

This file was deleted.

9 changes: 1 addition & 8 deletions hw/bsp/b-l072z-lrwan1/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-l072z-lrwan1.html
bsp.maker: "STMicroelectronics"
bsp.arch: cortex_m0
bsp.compiler: compiler/arm-none-eabi-m0
bsp.linkerscript:
- "hw/bsp/b-l072z-lrwan1/b-l072z-lrwan1.ld"
- "hw/mcu/stm/stm32l0xx/stm32l072.ld"
bsp.linkerscript.BOOT_LOADER.OVERWRITE:
- "hw/bsp/b-l072z-lrwan1/boot-b-l072z-lrwan1.ld"
- "hw/mcu/stm/stm32l0xx/stm32l072.ld"
bsp.linkerscript: autogenerated
bsp.downloadscript: "hw/bsp/b-l072z-lrwan1/b-l072z-lrwan1_download.sh"
bsp.debugscript: "hw/bsp/b-l072z-lrwan1/b-l072z-lrwan1_debug.sh"
bsp.downloadscript.WINDOWS.OVERWRITE: "hw/bsp/b-l072z-lrwan1/b-l072z-lrwan1_download.cmd"
bsp.debugscript.WINDOWS.OVERWRITE: "hw/bsp/b-l072z-lrwan1/b-l072z-lrwan1_debug.cmd"

bsp.flash_map:
areas:
Expand Down
4 changes: 2 additions & 2 deletions hw/bsp/b-l072z-lrwan1/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
Loading

0 comments on commit 8625973

Please sign in to comment.