Hi,
the shell needs to disable some calls on NIL that only work on RT. These are guarded by checks for _CHIBIOS_NIL_. But since NIL 4.0 the define changed to __CHIBIOS_NIL__ with 2 underscores. This means the current code doesn't compile anymore.
The attached patch fixes this. Afterwards I was not only able to compile it, but I also confirmed that the shell still works on NIL. Please consider applying the attached patch.
Thanks.
[PATCH] shell fails to compile on NIL, still using _CHIBIOS_NIL_ Topic is solved
-
- Posts: 77
- Joined: Sat Mar 19, 2016 8:07 pm
- Been thanked: 17 times
[PATCH] shell fails to compile on NIL, still using _CHIBIOS_NIL_ Topic is solved
- Attachments
-
- nil-shell.zip
- zipped patch
- (1.38 KiB) Downloaded 119 times
- Giovanni
- Site Admin
- Posts: 14444
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1074 times
- Been thanked: 921 times
- Contact:
- Giovanni
- Site Admin
- Posts: 14444
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1074 times
- Been thanked: 921 times
- Contact:
Who is online
Users browsing this forum: No registered users and 13 guests