Jump to content

Recommended Posts

Thanks guys,

Could you also add one more change, as systime_t and sysinterval_t are possibly different types in ChibiOS:

diff --git a/src/gos/gos_chibios.h b/src/gos/gos_chibios.h
index d97d1e9f..a76fa513 100644
--- a/src/gos/gos_chibios.h
+++ b/src/gos/gos_chibios.h
@@ -30,7 +30,11 @@
  * are already defined by ChibiOS
  */
 
+#if CH_KERNEL_MAJOR <= 4
 typedef systime_t      delaytime_t;
+#else
+typedef sysinterval_t  delaytime_t;
+#endif
 typedef systime_t      systemticks_t;
 typedef cnt_t          semcount_t;
 typedef msg_t          threadreturn_t;

 

Share this post


Link to post
Share on other sites

Make sure you are using the very latest repository version.

The error messages clearly show you are using an earlier version (eg bool_t is a type that is no longer used in gfx function definitions)

Share this post


Link to post
Share on other sites
Guest
You are commenting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×