mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #14872 from hallard/STM32WLEx
Add STM32WLE5 for custom targets LORA_E5 and RAK3172pull/14897/head
commit
7350b03088
|
@ -16,6 +16,7 @@ target_sources(mbed-stm32wl
|
||||||
pwmout_device.c
|
pwmout_device.c
|
||||||
serial_device.c
|
serial_device.c
|
||||||
spi_api.c
|
spi_api.c
|
||||||
|
system_clock.c
|
||||||
)
|
)
|
||||||
|
|
||||||
target_include_directories(mbed-stm32wl
|
target_include_directories(mbed-stm32wl
|
||||||
|
|
|
@ -6,7 +6,6 @@ add_library(mbed-nucleo-wl55jc INTERFACE)
|
||||||
target_sources(mbed-nucleo-wl55jc
|
target_sources(mbed-nucleo-wl55jc
|
||||||
INTERFACE
|
INTERFACE
|
||||||
PeripheralPins.c
|
PeripheralPins.c
|
||||||
system_clock.c
|
|
||||||
)
|
)
|
||||||
|
|
||||||
target_include_directories(mbed-nucleo-wl55jc
|
target_include_directories(mbed-nucleo-wl55jc
|
||||||
|
|
|
@ -0,0 +1,26 @@
|
||||||
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
|
if(${MBED_TOOLCHAIN} STREQUAL "GCC_ARM")
|
||||||
|
set(STARTUP_FILE TOOLCHAIN_GCC_ARM/startup_stm32wle5xx.S)
|
||||||
|
set(LINKER_FILE TOOLCHAIN_GCC_ARM/stm32wle5xc.ld)
|
||||||
|
elseif(${MBED_TOOLCHAIN} STREQUAL "ARM")
|
||||||
|
set(STARTUP_FILE TOOLCHAIN_ARM/startup_stm32wle5xx.S)
|
||||||
|
set(LINKER_FILE TOOLCHAIN_ARM/stm32wle5xc.sct)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
add_library(mbed-stm32wle5xc INTERFACE)
|
||||||
|
|
||||||
|
target_sources(mbed-stm32wle5xc
|
||||||
|
INTERFACE
|
||||||
|
${STARTUP_FILE}
|
||||||
|
)
|
||||||
|
|
||||||
|
target_include_directories(mbed-stm32wle5xc
|
||||||
|
INTERFACE
|
||||||
|
.
|
||||||
|
)
|
||||||
|
|
||||||
|
mbed_set_linker_script(mbed-stm32wle5xc ${CMAKE_CURRENT_SOURCE_DIR}/${LINKER_FILE})
|
||||||
|
|
||||||
|
target_link_libraries(mbed-stm32wle5xc INTERFACE mbed-stm32wl)
|
|
@ -4381,6 +4381,22 @@
|
||||||
],
|
],
|
||||||
"device_name": "STM32WL55JCIx"
|
"device_name": "STM32WL55JCIx"
|
||||||
},
|
},
|
||||||
|
"MCU_STM32WLE5xC": {
|
||||||
|
"inherits": [
|
||||||
|
"MCU_STM32WL"
|
||||||
|
],
|
||||||
|
"public": false,
|
||||||
|
"macros_add": [
|
||||||
|
"STM32WLE5xx"
|
||||||
|
],
|
||||||
|
"extra_labels_add": [
|
||||||
|
"STM32WLE5xC"
|
||||||
|
],
|
||||||
|
"mbed_rom_start": "0x8000000",
|
||||||
|
"mbed_rom_size": "0x40000",
|
||||||
|
"mbed_ram_start": "0x20000000",
|
||||||
|
"mbed_ram_size": "0x10000"
|
||||||
|
},
|
||||||
"MIMXRT1050_EVK": {
|
"MIMXRT1050_EVK": {
|
||||||
"supported_form_factors": [
|
"supported_form_factors": [
|
||||||
"ARDUINO_UNO"
|
"ARDUINO_UNO"
|
||||||
|
|
|
@ -480223,6 +480223,142 @@
|
||||||
],
|
],
|
||||||
"sub_family": "STM32WL55"
|
"sub_family": "STM32WL55"
|
||||||
},
|
},
|
||||||
|
"STM32WLE5JCIx": {
|
||||||
|
"name": "STM32WLE5JCIx:CM4",
|
||||||
|
"memories": {
|
||||||
|
"IRAM1": {
|
||||||
|
"access": {
|
||||||
|
"read": true,
|
||||||
|
"write": true,
|
||||||
|
"execute": false,
|
||||||
|
"peripheral": false,
|
||||||
|
"secure": false,
|
||||||
|
"non_secure": false,
|
||||||
|
"non_secure_callable": false
|
||||||
|
},
|
||||||
|
"start": 536870912,
|
||||||
|
"size": 65536,
|
||||||
|
"startup": false,
|
||||||
|
"default": true
|
||||||
|
},
|
||||||
|
"IROM1": {
|
||||||
|
"access": {
|
||||||
|
"read": true,
|
||||||
|
"write": false,
|
||||||
|
"execute": true,
|
||||||
|
"peripheral": false,
|
||||||
|
"secure": false,
|
||||||
|
"non_secure": false,
|
||||||
|
"non_secure_callable": false
|
||||||
|
},
|
||||||
|
"start": 134217728,
|
||||||
|
"size": 262144,
|
||||||
|
"startup": true,
|
||||||
|
"default": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"algorithms": [
|
||||||
|
{
|
||||||
|
"file_name": "CMSIS/Flash/STM32WLxx_CM4.FLM",
|
||||||
|
"start": 134217728,
|
||||||
|
"size": 262144,
|
||||||
|
"default": true,
|
||||||
|
"ram_start": null,
|
||||||
|
"ram_size": null
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"processor": {
|
||||||
|
"Symmetric": {
|
||||||
|
"units": 1,
|
||||||
|
"core": "CortexM4",
|
||||||
|
"fpu": "None",
|
||||||
|
"mpu": "Present"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"from_pack": {
|
||||||
|
"vendor": "Keil",
|
||||||
|
"pack": "STM32WLxx_DFP",
|
||||||
|
"version": "1.1.0",
|
||||||
|
"url": "http://www.keil.com/pack"
|
||||||
|
},
|
||||||
|
"vendor": "STMicroelectronics:13",
|
||||||
|
"family": "STM32WL Series",
|
||||||
|
"sectors": [
|
||||||
|
[
|
||||||
|
134217728,
|
||||||
|
2048
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"sub_family": "STM32WLE5"
|
||||||
|
},
|
||||||
|
"STM32WLE5CCUx": {
|
||||||
|
"name": "STM32WLE5CCUx:CM4",
|
||||||
|
"memories": {
|
||||||
|
"IRAM1": {
|
||||||
|
"access": {
|
||||||
|
"read": true,
|
||||||
|
"write": true,
|
||||||
|
"execute": false,
|
||||||
|
"peripheral": false,
|
||||||
|
"secure": false,
|
||||||
|
"non_secure": false,
|
||||||
|
"non_secure_callable": false
|
||||||
|
},
|
||||||
|
"start": 536870912,
|
||||||
|
"size": 65536,
|
||||||
|
"startup": false,
|
||||||
|
"default": true
|
||||||
|
},
|
||||||
|
"IROM1": {
|
||||||
|
"access": {
|
||||||
|
"read": true,
|
||||||
|
"write": false,
|
||||||
|
"execute": true,
|
||||||
|
"peripheral": false,
|
||||||
|
"secure": false,
|
||||||
|
"non_secure": false,
|
||||||
|
"non_secure_callable": false
|
||||||
|
},
|
||||||
|
"start": 134217728,
|
||||||
|
"size": 262144,
|
||||||
|
"startup": true,
|
||||||
|
"default": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"algorithms": [
|
||||||
|
{
|
||||||
|
"file_name": "CMSIS/Flash/STM32WLxx_CM4.FLM",
|
||||||
|
"start": 134217728,
|
||||||
|
"size": 262144,
|
||||||
|
"default": true,
|
||||||
|
"ram_start": null,
|
||||||
|
"ram_size": null
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"processor": {
|
||||||
|
"Symmetric": {
|
||||||
|
"units": 1,
|
||||||
|
"core": "CortexM4",
|
||||||
|
"fpu": "None",
|
||||||
|
"mpu": "Present"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"from_pack": {
|
||||||
|
"vendor": "Keil",
|
||||||
|
"pack": "STM32WLxx_DFP",
|
||||||
|
"version": "1.1.0",
|
||||||
|
"url": "http://www.keil.com/pack"
|
||||||
|
},
|
||||||
|
"vendor": "STMicroelectronics:13",
|
||||||
|
"family": "STM32WL Series",
|
||||||
|
"sectors": [
|
||||||
|
[
|
||||||
|
134217728,
|
||||||
|
2048
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"sub_family": "STM32WLE5"
|
||||||
|
},
|
||||||
"STM32WB15CCUx": {
|
"STM32WB15CCUx": {
|
||||||
"name": "STM32WB15CCUx",
|
"name": "STM32WB15CCUx",
|
||||||
"memories": {
|
"memories": {
|
||||||
|
|
Loading…
Reference in New Issue