File tree Expand file tree Collapse file tree 2 files changed +43
-0
lines changed
TARGET_STM/TARGET_STM32WL/TARGET_STM32WLE5xC Expand file tree Collapse file tree 2 files changed +43
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Copyright (c) 2020 ARM Limited. All rights reserved.
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ if (${MBED_TOOLCHAIN} STREQUAL "GCC_ARM" )
5
+ set (STARTUP_FILE TOOLCHAIN_GCC_ARM/startup_stm32wle5xx.S )
6
+ set (LINKER_FILE TOOLCHAIN_GCC_ARM/stm32wle5xc.ld )
7
+ elseif (${MBED_TOOLCHAIN} STREQUAL "ARM" )
8
+ set (STARTUP_FILE TOOLCHAIN_ARM/startup_stm32wle5xx.S )
9
+ set (LINKER_FILE TOOLCHAIN_ARM/stm32wle5xc.sct )
10
+ endif ()
11
+
12
+ add_library (mbed-stm32wle5xc INTERFACE )
13
+
14
+ target_sources (mbed-stm32wle5xc
15
+ INTERFACE
16
+ ${STARTUP_FILE}
17
+ )
18
+
19
+ target_include_directories (mbed-stm32wle5xc
20
+ INTERFACE
21
+ .
22
+ )
23
+
24
+ mbed_set_linker_script (mbed-stm32wle5xc ${CMAKE_CURRENT_SOURCE_DIR} /${LINKER_FILE} )
25
+
26
+ target_link_libraries (mbed-stm32wle5xc INTERFACE mbed-stm32wl )
Original file line number Diff line number Diff line change 4381
4381
],
4382
4382
"device_name" : " STM32WL55JCIx"
4383
4383
},
4384
+ "MCU_STM32WLe5xC" : {
4385
+ "inherits" : [
4386
+ " MCU_STM32WL"
4387
+ ],
4388
+ "public" : false ,
4389
+ "macros_add" : [
4390
+ " STM32WLE5xx"
4391
+ ],
4392
+ "extra_labels_add" : [
4393
+ " STM32WLE5xC"
4394
+ ],
4395
+ "device_name" : " STM32WLE5JCIx" ,
4396
+ "mbed_rom_start" : " 0x8000000" ,
4397
+ "mbed_rom_size" : " 0x40000" ,
4398
+ "mbed_ram_start" : " 0x20000000" ,
4399
+ "mbed_ram_size" : " 0x10000"
4400
+ },
4384
4401
"MIMXRT1050_EVK" : {
4385
4402
"supported_form_factors" : [
4386
4403
" ARDUINO_UNO"
You can’t perform that action at this time.
0 commit comments