Code: Select all
../../chibios_stable-21.11.x/os/rt/include/chvt.h:74:19: error: unknown type name 'virtual_timer_t'
../../chibios_stable-21.11.x/os/rt/include/chvt.h:74:41: error: unknown type name 'sysinterval_t'
../../chibios_stable-21.11.x/os/rt/include/chvt.h:75:19: error: unknown type name 'vtfunc_t'
I would have expected that one header file to include the other header files in order to define all of those types as well as all of the other symbols in the errors. Did I pick the wrong header file? Did I need to be adding other header files?
Similarly for adding mutex functionality: I added #include "chmtx.h" and "static mutex_t mtx;".
With that I got errors such as:
Code: Select all
../../chibios_stable-21.11.x/os/rt/include/chmtx.h:58:3: error: unknown type name 'ch_queue_t'
../../chibios_stable-21.11.x/os/rt/include/chmtx.h:60:3: error: unknown type name 'thread_t'
../../chibios_stable-21.11.x/os/rt/include/chmtx.h:65:3: error: unknown type name 'cnt_t'
What sort of thing am I appearing to do wrong?
Once again this is code based on demo code with my old code added in.
