adding ducy cycling support to the stm32w-based platforms (patch by Chi-Anh La)
This commit is contained in:
parent
2aa1f587bd
commit
5da4463236
9 changed files with 287 additions and 56 deletions
|
@ -46,8 +46,12 @@
|
|||
#include "sys/clock.h"
|
||||
|
||||
|
||||
//#define RT_RESOLUTION RES_85US
|
||||
#ifdef RT_CONF_RESOLUTION
|
||||
#define RT_RESOLUTION RT_CONF_RESOLUTION
|
||||
#else
|
||||
#define RT_RESOLUTION RES_171US
|
||||
|
||||
#endif
|
||||
|
||||
#define RES_341US 0
|
||||
#define RES_171US 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue