Hi!
Another compile issue with the AVR port of nilrtos:
In file included from omm_workdir/mini_wi/atmega168/package/chibi_os_nil/ChibiOS-master/os/hal/ports/AVR/st_lld.h:31:0,
from omm_workdir/mini_wi/atmega168/package/chibi_os_nil/ChibiOS-master/os/hal/include/st.h:46,
from omm_workdir/mini_wi/atmega168/package/chibi_os_nil/ChibiOS-master/os/nil/ports/AVR/nilcore_timer.h:32,
from omm_workdir/mini_wi/atmega168/package/chibi_os_nil/ChibiOS-master/os/nil/ports/AVR/nilcore.h:408,
from omm_workdir/mini_wi/atmega168/package/chibi_os_nil/ChibiOS-master/os/nil/include/nil.h:41,
from omm_workdir/mini_wi/atmega168/package/mini_wi/src/main.c:12:
omm_workdir/mini_wi/atmega168/package/chibi_os_nil/ChibiOS-master/os/hal/ports/AVR/avr_timers.h: At top level:
omm_workdir/mini_wi/atmega168/package/chibi_os_nil/ChibiOS-master/os/hal/ports/AVR/avr_timers.h:22:7: warning: "OSAL_ST_MODE" is not defined
omm_workdir/mini_wi/atmega168/package/chibi_os_nil/ChibiOS-master/os/hal/ports/AVR/avr_timers.h:22:23: warning: "OSAL_ST_MODE_FREERUNNING" is not defined
I must admit that I am not sure on this one, maybe something is wrong with my project define settings. However these defines are set in osal.h. It seems to me that there are some serious dependency issues with the headers in nilrtos.
It is working though, however I prefer projects with 0 warnings :)
Could someone have a look on this?
Thanks, regards,
Franz
Please also post in the AVR forum, this is something tha Fabio should look into.
I can reproduce it and should fix it by the weekend.
It should be fixed now. Please try and report back!
Cheers,
Fabio Utzig
Hi Fabio!
Great, all warnings are gone now!
Thanks,
Franz