Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions targets/TARGET_STM/TARGET_STM32L4/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ add_subdirectory(TARGET_STM32L4R5xI EXCLUDE_FROM_ALL)
add_subdirectory(TARGET_STM32L4R9xI EXCLUDE_FROM_ALL)
add_subdirectory(TARGET_STM32L4S5xI EXCLUDE_FROM_ALL)
add_subdirectory(STM32Cube_FW EXCLUDE_FROM_ALL)
add_subdirectory(linker_scripts)

add_library(mbed-stm32l4 INTERFACE)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@ add_subdirectory(TARGET_NUCLEO_L432KC EXCLUDE_FROM_ALL)

if(${MBED_TOOLCHAIN} STREQUAL "GCC_ARM")
set(STARTUP_FILE TOOLCHAIN_GCC_ARM/startup_stm32l432xx.S)
set(LINKER_FILE TOOLCHAIN_GCC_ARM/stm32l432xc.ld)
elseif(${MBED_TOOLCHAIN} STREQUAL "ARM")
set(STARTUP_FILE TOOLCHAIN_ARM/startup_stm32l432xx.S)
set(LINKER_FILE TOOLCHAIN_ARM/stm32l432xc.sct)
endif()

add_library(mbed-stm32l432xc INTERFACE)
Expand All @@ -23,5 +21,5 @@ target_include_directories(mbed-stm32l432xc
INTERFACE
.
)
mbed_set_linker_script(mbed-stm32l432xc ${CMAKE_CURRENT_SOURCE_DIR}/${LINKER_FILE})

target_link_libraries(mbed-stm32l432xc INTERFACE mbed-stm32l4)

This file was deleted.

24 changes: 0 additions & 24 deletions targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L432xC/cmsis_nvic.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,30 +17,6 @@
#ifndef MBED_CMSIS_NVIC_H
#define MBED_CMSIS_NVIC_H

#if !defined(MBED_ROM_START)
#define MBED_ROM_START 0x8000000
#endif

#if !defined(MBED_ROM_SIZE)
#define MBED_ROM_SIZE 0x40000 // 256 KB
#endif

#if !defined(MBED_RAM_START)
#define MBED_RAM_START 0x20000000
#endif

#if !defined(MBED_RAM_SIZE)
#define MBED_RAM_SIZE 0xc000 // 48 KB
#endif

#if !defined(MBED_RAM1_START)
#define MBED_RAM1_START 0x10000000
#endif

#if !defined(MBED_RAM1_SIZE)
#define MBED_RAM1_SIZE 0x4000 // 16 KB
#endif

#define NVIC_NUM_VECTORS 99
#define NVIC_RAM_VECTOR_ADDRESS MBED_RAM_START

Expand Down
Loading