sync rp2040 configs with qmk

it seems tickless mode works now, but tick is broken on 2040
This commit is contained in:
Ilya Zhuravlev 2023-05-06 20:12:17 -06:00
parent 0f55483dea
commit abe4b76351
3 changed files with 6 additions and 24 deletions

View File

@ -5,15 +5,9 @@
#define CH_CFG_SMP_MODE TRUE
#define CH_CFG_ST_RESOLUTION 32
#define CH_CFG_ST_FREQUENCY 10000
#define CH_CFG_ST_FREQUENCY 1000000
#define CH_CFG_INTERVALS_SIZE 32
#define CH_CFG_TIME_TYPES_SIZE 32
#define CH_CFG_ST_TIMEDELTA 0
/* Workaround a bug in chibios where port_timer_enable is not defined for RP2040 in tick mode */
#if !defined(_FROM_ASM_)
void stBind(void);
#define port_timer_enable(oip) stBind()
#endif
#define CH_CFG_ST_TIMEDELTA 20
#include_next <chconf.h>

View File

@ -5,15 +5,9 @@
#define CH_CFG_SMP_MODE TRUE
#define CH_CFG_ST_RESOLUTION 32
#define CH_CFG_ST_FREQUENCY 10000
#define CH_CFG_ST_FREQUENCY 1000000
#define CH_CFG_INTERVALS_SIZE 32
#define CH_CFG_TIME_TYPES_SIZE 32
#define CH_CFG_ST_TIMEDELTA 0
/* Workaround a bug in chibios where port_timer_enable is not defined for RP2040 in tick mode */
#if !defined(_FROM_ASM_)
void stBind(void);
#define port_timer_enable(oip) stBind()
#endif
#define CH_CFG_ST_TIMEDELTA 20
#include_next <chconf.h>

View File

@ -5,15 +5,9 @@
#define CH_CFG_SMP_MODE TRUE
#define CH_CFG_ST_RESOLUTION 32
#define CH_CFG_ST_FREQUENCY 10000
#define CH_CFG_ST_FREQUENCY 1000000
#define CH_CFG_INTERVALS_SIZE 32
#define CH_CFG_TIME_TYPES_SIZE 32
#define CH_CFG_ST_TIMEDELTA 0
/* Workaround a bug in chibios where port_timer_enable is not defined for RP2040 in tick mode */
#if !defined(_FROM_ASM_)
void stBind(void);
#define port_timer_enable(oip) stBind()
#endif
#define CH_CFG_ST_TIMEDELTA 20
#include_next <chconf.h>