-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add STM32WLE5 for custom targets LORA_E5 and RAK3172 #14872
Changes from all commits
cf7e1eb
d601dd8
38eed85
37814f2
ca32375
51cfdc2
e598f5f
c8fdc0a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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) |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -480222,6 +480222,142 @@ | |
] | ||
], | ||
"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", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 1.1.0 ? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. correct, it's fixed, may be should be also done for WL55 (nucleo)? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. not mandatory, as MCU from NUCLEO was already available in 1.0.0, I think |
||
"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": { | ||
"name": "STM32WB15CCUx", | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe adding also STM32WLE5CCUx for RAK3172 could be a good idea ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
of course, that's done