-
Notifications
You must be signed in to change notification settings - Fork 3k
add support for STM32L443RC & WISE-1510 #5904
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
Conversation
@@ -1472,6 +1472,23 @@ | |||
"release_versions": ["2", "5"], | |||
"device_name": "STM32L433RC", | |||
"bootloader_supported": true | |||
}, | |||
"WISE_1510": { |
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.
no release version? will be added later?
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.
I'm not sure about which revision it's aiming.
Should it be current 5.7 or next release 5.8 ?
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.
release_versions can be 2 or 5 or both. I assume 5 should be defined here
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.
oh, ok, I add it now.
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.
Hi
Here is a quick review
Thx
.gitignore
Outdated
@@ -72,6 +72,9 @@ debug.log | |||
# Cscope | |||
cscope.* | |||
|
|||
# Ctags | |||
tags |
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.
Not related to the PR
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.
Should be sent via separate PR
.ANY (+RO) | ||
} | ||
|
||
RW_IRAM1 0x20000000 0x0000C000 { ; RW data 48k L4-SRAM1 |
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.
In STM32L443, SRAM2 and SRAM1 and continuous.
You can prefer to get a bigger SRAM1. See #5171
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.
These two ranges offer different features namely the hardware parity check and the standby retain mode on SRAM2.
In order to let the end-user free to choose to use it or not, shouldn't we rather add a special section to allow this use case and avoid the user to tweak the linker script him/herself ?
{ | ||
FLASH (rx) : ORIGIN = MBED_APP_START, LENGTH = MBED_APP_SIZE | ||
SRAM2 (rwx) : ORIGIN = 0x1000018C, LENGTH = 16k - 0x18C | ||
SRAM1 (rwx) : ORIGIN = 0x20000000, LENGTH = 48k |
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.
Same comment, you can increase RAM size from 48k to 64k
targets/targets.json
Outdated
} | ||
}, | ||
"release_versions": ["5"], | ||
"device_has_add": ["ANALOGOUT", "LOWPOWERTIMER", "SERIAL_FC", "SERIAL_ASYNCH", "CAN", "TRNG", "FLASH", "AES"], |
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.
DEVICE_AES doesn't exist ?
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.
Should it be the macro MBEDTLS_CONFIG_HW_SUPPORT
instead ?
Please check travis failures |
/morph build |
Build : SUCCESSBuild number : 971 Triggering tests/morph test |
Exporter Build : SUCCESSBuild number : 657 |
/morph build |
@jeromecoutant Are you good with the latest commits for this PR? |
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.
Increase RAM size from 48k to 64k is optional, and can be checked later.
Build : SUCCESSBuild number : 991 Triggering tests/morph test |
Exporter Build : SUCCESSBuild number : 685 |
Test : SUCCESSBuild number : 814 |
/morph uvisor-test |
/morph uvisor-test |
All green 🕺 ! |
Exporter Build : FAILUREBuild number : 703 |
@ithinuel Not sure why the above exporter build just ran. If we need some sort of action from you, we'll let you know. |
Ok, no problem, you know where I stand 😉 |
@ithinuel It looks like this PR + #5947 + some unfortunate timing is causing the new build issues. I'm going to move forward with the revert PR, and once it passes all of its tests, merge it in. After it's merged in, I'd like you to restore your branch, and create a new PR. The issue appears to have been the timing that the |
Description
This PR add support for the STM32L443RC and the WISE-1510 module.
This was tested with @kivaisan on mbed-os-example-lora
Status
MERGED
Todos