-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Fix RP2040 build without configASSERT defined #1170
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
Fix RP2040 build without configASSERT defined #1170
Conversation
|
|
Hello @jackwilsdon, Thank you. |
|
|
|
Hi @jackwilsdon, EDIT: FreeRTOS.h includes FreeRTOSConfig.h at line 58. The configASSERT is defined before including portable.h. Thank you. |
|
I'm already defining an empty |
|
Hi @jackwilsdon, Thank you. |
* Add SMP schedule equal priority on target test * Remove unnecessary config * Fix spelling format and header * Code review suggestions Signed-off-by: Gaurav Aggarwal <[email protected]> --------- Signed-off-by: Gaurav Aggarwal <[email protected]> Co-authored-by: Gaurav Aggarwal <[email protected]> Co-authored-by: Gaurav-Aggarwal-AWS <[email protected]> Co-authored-by: Rahul Kar <[email protected]>



Description
Fixes building the RP2040 port without
configASSERTdefined. It seems like no other ports useconfigASSERTinportmacro.h, so this isn't an issue anywhere else. NormallyFreeRTOS.hdefinesconfigASSERT, but that can't be included inportmacro.h.This may be a bit easier to review with whitespace changes ignored: https://github.com/FreeRTOS/FreeRTOS-Kernel/pull/1170/files?w=1
Test Steps
Build the RP2040 port without
configASSERTdefined.Checklist:
Related Issue
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.