-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Fix RP2040 build without configASSERT defined #1170
Conversation
Quality Gate passedIssues Measures |
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. |
Description
Fixes building the RP2040 port without
configASSERT
defined. It seems like no other ports useconfigASSERT
inportmacro.h
, so this isn't an issue anywhere else. NormallyFreeRTOS.h
definesconfigASSERT
, 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
configASSERT
defined.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.