-
Notifications
You must be signed in to change notification settings - Fork 3k
RTOS - Move per-target RTX config to mbed_rtx.h #2586
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
06dfd18
to
8bcde6b
Compare
8bcde6b
to
3eb832f
Compare
This is great! Why are there json changes for MTS targets in the change set? |
@tung7970 please rebase |
3eb832f
to
4c3e0a5
Compare
A couple of MTS boards set OS_CLOCK through targets.json file. Move that to mbed_rtx.h so all related config stay at the same place. Commit is rebased and pushed upstream. Thanks. |
4c3e0a5
to
be8b404
Compare
Rebased again for disco_f769ni and NUC472 merges. |
@c1728p9 please review |
This looks good to me! |
/morph test |
@mbed-bot: TEST HOST_OSES=ALL |
[Build 912] |
@mbed-bot: TEST HOST_OSES=ALL |
Result: FAILUREYour command has finished executing! Here's what you wrote!
Outputmbed Build Number: 837 Build failed! |
Log from the build failure (note that I've shortened some of the output):
The target |
[Build 916] |
be8b404
to
46b01c7
Compare
NUC472 defines HEAP_START and HEAP_SIZE directly. Modified target test to check for INITIAL_SP or HEAP_START. |
46b01c7
to
c5a5f1b
Compare
Rebased for TARGET_STM32F030R8 RTOS support removal. |
c5a5f1b
to
7bafdf4
Compare
Rebased for TARGET_UBLOX_C029 merge. |
7bafdf4
to
a7b28f0
Compare
a7b28f0
to
0cb1b29
Compare
Did a quick fix by moving the target check after ICCARM sets the HEAP_START. |
/morph test |
Result: SUCCESSYour command has finished executing! Here's what you wrote!
Outputmbed Build Number: 886 All builds and test passed! |
@mbed-bot: TEST HOST_OSES=ALL |
[Build 943] |
@mbed-bot: TEST HOST_OSES=ALL |
[Build 946] |
@tung7970 Can you rebase and resolve the conflicts. Ready to come in after that. |
0cb1b29
to
c125675
Compare
Rebased and pushed. Thanks. |
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.
Nitpick: preprocessor directives should start at the beginning (see coding guide)
Other than that, good work !
edc851b
to
ef5a590
Compare
Thanks for the reminder. Pushed a new commit with leading spaces removed. |
@tung7970 Can you rebase and resolve the conflicts. Ready to come in after that. Last time :) |
Disintegrate global RTX target config. Move per-target fragment to mbed_rtx.h under each vendor's directory. One mbed_rtx.h is defined for each vendor at this moment, however, the granularity of mbed_rtx.h can be per-chip, or per-board if necessary. Signed-off-by: Tony Wu <[email protected]>
ef5a590
to
aa663ea
Compare
Rebased and pushed. Thanks. |
/morph test |
Result: SUCCESSYour command has finished executing! Here's what you wrote!
Outputmbed Build Number: 924 All builds and test passed! |
Disintegrate global RTX target config. Move per-target fragment
to mbed_rtx.h under each vendor's directory.
Right now, only one mbed_rtx.h is defined for each vendor, but the granularity of mbed_rtx.h can be per-chip, or per-board if necessary.