-
Notifications
You must be signed in to change notification settings - Fork 3k
DISCO_L475VG_IOT01A : Add new target #4242
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
/* [RAM = 128kb = 96kb + 32kb = 0x20000] */ | ||
/* Vector table dynamic copy: Total: 98 vectors = 392 bytes (0x188) to be reserved in RAM */ | ||
define symbol __NVIC_start__ = 0x10000000; | ||
define symbol __NVIC_end__ = 0x10000187; /* Aligned on 8 bytes (392 = 49 x 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.
Should be aligned as the comment says? Or that one is related to SRAM2 start that is then?
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.
Yes this is already aligned (must be blocks of 8 bytes). This is the same on other L4xx devices.
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.
Could we change that comment to say that the address after the end is 8 byte aligned? I don't think that 0x187 is a multiple of 8 bytes.
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.
Done
Oulu CI failed with: Restarted.... |
Rebased + solved conflicts |
define region SRAM1_region = mem:[from __region_SRAM1_start__ to __region_SRAM1_end__]; | ||
|
||
/* Stack 1/8 and Heap 1/4 of RAM */ | ||
define symbol __size_cstack__ = 0x8000; |
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.
Is this not too big for mbed OS - this is isr stack ?
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.
Yes maybe. I kept the same values as those used in L476 targets.
tools/build_travis.py
Outdated
@@ -84,6 +84,8 @@ | |||
{ "target": "DISCO_F469NI", "toolchains": "GCC_ARM", "libs": ["dsp", "rtos"] }, | |||
{ "target": "DISCO_F746NG", "toolchains": "GCC_ARM", "libs": ["dsp"] }, | |||
{ "target": "DISCO_F769NI", "toolchains": "GCC_ARM", "libs": ["dsp", "rtos"] }, | |||
{ "target": "DISCO_L475VG_IOT01A", "toolchains": "GCC_ARM", "libs": ["dsp", "rtos", "usb"] }, |
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.
Can you please remove rtos from here (cmsis5 will make this deprecated soon)
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.
done
tools/build_travis.py
Outdated
{"target": "DISCO_L475VG_IOT01A", | ||
"toolchains": "GCC_ARM", | ||
"tests": {"" : ["MBED_2", "MBED_10", "MBED_11", "MBED_16"], | ||
"rtos" : ["RTOS_1", "RTOS_2", "RTOS_3"], |
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 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.
done
b45e88d
to
2954449
Compare
Rebased + removed rtos in build_travis.py |
Can you please rebase again, There was one merge earlier to result in conflicts ( this is probably because of cmsis5 update) as reported earlier |
2954449
to
1898b1f
Compare
Rebased |
/morph test |
Result: SUCCESSYour command has finished executing! Here's what you wrote!
OutputAll builds and test passed! |
Note: this might require one more rebase, as cmsis5 update is going to land soon. It touches tools script, and might require additional update for the new rtos, we will keep you informed and provide an assistance to make it forward. Thank you for understanding |
OK. So I wait the merge of CMSIS5 update and I will rebase after. |
Any idea when ? It becomes critical for us. Can we merge this PR first ? |
Should have been. There's one last module to be updated, our tests should be fixed by then and get a green light.
We would like to, however constant rebasing (too many changes ongoing) and restarting tests are prolonging this update. We will have a look at new targets today, and cmsis5, I'll keep you updated. Thanks for understanding. |
2be7918
to
66cbc8b
Compare
Rebased and solve build issue related to recent other PRs merges. |
An update: We will run CI for this as soon as the upcoming release is made (CI queued up with jobs for it). |
@0xc0170 does this mean that this PR will be included in the release as well or? |
Shall get in for 5.5.1 (the next week), I added a label. |
/morph test |
Result: FAILUREYour command has finished executing! Here's what you wrote!
OutputTest Prep failed! |
Looks like one of the test nodes lost communication with github:
We can just restart this once rc3 is green |
/morph test |
Result: FAILUREYour command has finished executing! Here's what you wrote!
OutputTest failed! |
The failures are not related to this patch, neither the failures reappearing /morph test |
Result: FAILUREYour command has finished executing! Here's what you wrote!
OutputExample Build failed! |
Job aborted ,will be restarted |
/morph test |
Result: FAILUREYour command has finished executing! Here's what you wrote!
OutputExample Build failed! |
/morph test |
Result: SUCCESSYour command has finished executing! Here's what you wrote!
OutputAll builds and test passed! |
Description
This PR adds the new B-L475E-IOT01A board.
Status
READY
Migrations
NO