[INFO] ChibiOS 2.6->3.0 porting guide

This forum is dedicated to feedback, discussions about ongoing or future developments, ideas and suggestions regarding the ChibiOS projects are welcome. This forum is NOT for support.
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: [INFO] ChibiOS 2.6->3.0 porting guide

Post by Giovanni »

Hi,

thanks, link updated, it was because the new web site. Added some more info to the articles too.

Giovanni
User avatar
russian
Posts: 368
Joined: Mon Oct 29, 2012 3:17 am
Has thanked: 16 times
Been thanked: 14 times

Re: [INFO] ChibiOS 2.6->3.0 porting guide

Post by russian »

What is the 3.0 replacement for CORTEX_PRIORITY_SYSTICK?

I am using 3.0 in tick mode and just realized that I have no idea what is the priority of my virtual timers which I assume are on the systick handler.

CORTEX_PRIORITY_SYSTICK is not mentioned in the code anymore and I am not sure if CORTEX_PRIORITY_SVCALL is what I need.
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: [INFO] ChibiOS 2.6->3.0 porting guide

Post by Giovanni »

Hi,

Systick is no more handled in the Cortex port layer, now there is a new "ST" (SysTick) driver in HAL, related settings are there. Note that in tickless mode the systick cortex timer is not used.

Giovanni
User avatar
russian
Posts: 368
Joined: Mon Oct 29, 2012 3:17 am
Has thanked: 16 times
Been thanked: 14 times

Re: [INFO] ChibiOS 2.6->3.0 porting guide

Post by russian »

Sounds like STM32_ST_IRQ_PRIORITY is CORTEX_PRIORITY_SYSTICK replacement

Wonder how many people are confused by "ST" abbreviation. Would it be beneficial to mention SysTick in the @brief or @details?

* @file st.c
* @brief ST Driver code.

* @file st.h
* @brief ST Driver macros and structures.
* @details This header is designed to be include-able without having to
* include other files from the HAL.
Post Reply