sync rp2040 configs with qmk
it seems tickless mode works now, but tick is broken on 2040
This commit is contained in:
parent
0f55483dea
commit
abe4b76351
@ -5,15 +5,9 @@
|
|||||||
|
|
||||||
#define CH_CFG_SMP_MODE TRUE
|
#define CH_CFG_SMP_MODE TRUE
|
||||||
#define CH_CFG_ST_RESOLUTION 32
|
#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_INTERVALS_SIZE 32
|
||||||
#define CH_CFG_TIME_TYPES_SIZE 32
|
#define CH_CFG_TIME_TYPES_SIZE 32
|
||||||
#define CH_CFG_ST_TIMEDELTA 0
|
#define CH_CFG_ST_TIMEDELTA 20
|
||||||
|
|
||||||
/* 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
|
|
||||||
|
|
||||||
#include_next <chconf.h>
|
#include_next <chconf.h>
|
||||||
|
@ -5,15 +5,9 @@
|
|||||||
|
|
||||||
#define CH_CFG_SMP_MODE TRUE
|
#define CH_CFG_SMP_MODE TRUE
|
||||||
#define CH_CFG_ST_RESOLUTION 32
|
#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_INTERVALS_SIZE 32
|
||||||
#define CH_CFG_TIME_TYPES_SIZE 32
|
#define CH_CFG_TIME_TYPES_SIZE 32
|
||||||
#define CH_CFG_ST_TIMEDELTA 0
|
#define CH_CFG_ST_TIMEDELTA 20
|
||||||
|
|
||||||
/* 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
|
|
||||||
|
|
||||||
#include_next <chconf.h>
|
#include_next <chconf.h>
|
||||||
|
@ -5,15 +5,9 @@
|
|||||||
|
|
||||||
#define CH_CFG_SMP_MODE TRUE
|
#define CH_CFG_SMP_MODE TRUE
|
||||||
#define CH_CFG_ST_RESOLUTION 32
|
#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_INTERVALS_SIZE 32
|
||||||
#define CH_CFG_TIME_TYPES_SIZE 32
|
#define CH_CFG_TIME_TYPES_SIZE 32
|
||||||
#define CH_CFG_ST_TIMEDELTA 0
|
#define CH_CFG_ST_TIMEDELTA 20
|
||||||
|
|
||||||
/* 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
|
|
||||||
|
|
||||||
#include_next <chconf.h>
|
#include_next <chconf.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user