-
Notifications
You must be signed in to change notification settings - Fork 3k
Changed error(...) to a weak function #239
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
Made error(...) a weak function so that it can be overridden in production projects. Also fixed several serial_api.c files that required stdlib.h, but were getting it from error.h.
@@ -16,6 +16,7 @@ | |||
// math.h required for floating point operations for baud rate calculation | |||
#include <math.h> | |||
#include <string.h> | |||
#include <stdlib.h> |
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.
Required for abs()
Hello, A side note: you included notes, which is appreciated ! 👍 Thanks! Regarding those comments about abs() in serial code files, they could be actually merged into one or preferably stated in the commit message. Regards, |
Ah, sorry, I guess I went a little bit overboard. |
Changed error(...) to a weak function
- Link to bug tracking: https://developer.trustedfirmware.org/T239 (cherry picked from commit 5f2e4b3)
- Link to bug tracking: https://developer.trustedfirmware.org/T239 (cherry picked from commit 5f2e4b3)
- Link to bug tracking: https://developer.trustedfirmware.org/T239 (cherry picked from commit 5f2e4b3)
- Link to bug tracking: https://developer.trustedfirmware.org/T239 (cherry picked from commit 5f2e4b3) (cherry picked from commit 5d41a2a)
- Link to bug tracking: https://developer.trustedfirmware.org/T239 (cherry picked from commit 5f2e4b3) (cherry picked from commit 5d41a2a)
Made error(...) a weak function so that it can be overridden in production projects. Also fixed several serial_api.c files that required stdlib.h, but were getting it from error.h.