-
Notifications
You must be signed in to change notification settings - Fork 2k
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
cpu/stm32f0 C++ stmf0discovery support fix #1987
cpu/stm32f0 C++ stmf0discovery support fix #1987
Conversation
fb74dd4
to
d402fde
Compare
@@ -324,3 +309,5 @@ int _unlink_r(struct _reent *r, char* path) | |||
r->_errno = ENODEV; /* not implemented yet */ | |||
return -1; | |||
} | |||
|
|||
void _kill(void) {} |
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.
could you please comment the stub?!
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.
will do, btw. it has wrong parameter prototype, should be _kill(int pid, int sig)
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.
thx
dbcf1bd
to
03905f6
Compare
@BytesGalore just trying out your changes by building the
any idea what I am doing wrong here? |
@haukepetersen this error might result from your toolchain version. The followed gcc version 4.8.4 20140725 (release) [ARM/embedded-4_8-branch revision 213147](GNU Tools for ARM Embedded Processors), i.e. q3, fixed that bug. |
hm, ok. I will try to update my toolchain and see how far I get. |
I hope until ;) |
6af2f3f
to
6007fe8
Compare
Works, ACK when squashed |
f77129a
to
4acafb3
Compare
…k attribute for _kill_r boards/stm32f0discovery: provided c++ feature (cpp)
4acafb3
to
3154bc8
Compare
and go. |
…ery_support_fix cpu/stm32f0 C++ stmf0discovery support fix
Using the promoted gnu toolchain provides newlib with a
_kill_r()
implementation conflicting with the RIOT one, so I removed_kill_r()
from RIOT.The shipped newlib requires to provide a
_kill()
function when usingg++
, so I added a stub for it.