-
-
Notifications
You must be signed in to change notification settings - Fork 86
Allow FreeRTOS hook for C33 only and improve its reliability #414
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
This gives the chance for users to create new threads/queues in setup() without race conditions
@facchinm: Perhaps it would be better to condition, with the same #ifdef, also the code within port.c so as to have it compiled only if it is really useful. This, for those who use in IDE a "Compiler warning" level higher than the minimum, could avoid a series of unnecessary warnings during compilation for UNO R4. :-) Cordially, Guglielmo |
I agree with @gpb01. If I remember correctly, the built-in compiler of the Arduino IDE does strip unused functions out of the binary, Best regards |
Yes, correct!
The compiler gives the following warning:
... and, since it is very easy to remove it, why not do it? :-) Guglielmo |
@facchinm: Thanks! :-) Guglielmo |
Looks good 👍 Best regards |
I get a warning for loop() now on C33 1.3.2 and an error if I don't define it for the idle task, is that intended? |
@Wetmelon having |
Fixes concerns from #369 (comment)
@pennam @hexnet1234 @gpb01