vrollei Posted June 27, 2018 Report Share Posted June 27, 2018 Hi, I have added ChibiOS Kernel v5 support. How can I share it? Link to comment Share on other sites More sharing options...
Joel Bodenmann Posted June 29, 2018 Report Share Posted June 29, 2018 Hi, That would be appreciated a lot! I'd recommend you to simply upload a .diff here and we'll push it to the repository. Link to comment Share on other sites More sharing options...
vrollei Posted July 5, 2018 Author Report Share Posted July 5, 2018 diff.zip Link to comment Share on other sites More sharing options...
Joel Bodenmann Posted July 6, 2018 Report Share Posted July 6, 2018 Thank you very much - we appreciate it! I've added this to our internal ToDo list. Link to comment Share on other sites More sharing options...
inmarket Posted July 7, 2018 Report Share Posted July 7, 2018 This has now been added to the official repository (slightly altered for better future proofing). Link to comment Share on other sites More sharing options...
kapacuk Posted July 7, 2018 Report Share Posted July 7, 2018 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; Link to comment Share on other sites More sharing options...
inmarket Posted July 7, 2018 Report Share Posted July 7, 2018 That has been added to the repository. Thanks Link to comment Share on other sites More sharing options...
pashamray Posted July 10, 2018 Report Share Posted July 10, 2018 (edited) Please fix it. Edited July 10, 2018 by pashamray Link to comment Share on other sites More sharing options...
inmarket Posted July 10, 2018 Report Share Posted July 10, 2018 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) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now