mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-15 10:07:51 +00:00
feat(driver_twai): support legacy targets in new driver
This commit is contained in:
@@ -1075,6 +1075,10 @@ config SOC_TWAI_CONTROLLER_NUM
|
||||
int
|
||||
default 1
|
||||
|
||||
config SOC_TWAI_MASK_FILTER_NUM
|
||||
int
|
||||
default 1
|
||||
|
||||
config SOC_TWAI_CLK_SUPPORT_APB
|
||||
bool
|
||||
default y
|
||||
|
@@ -413,7 +413,8 @@
|
||||
#define SOC_TOUCH_SAMPLE_CFG_NUM (1U) /*!< The sample configuration number in total, each sampler can be used to sample on one frequency */
|
||||
|
||||
/*-------------------------- TWAI CAPS ---------------------------------------*/
|
||||
#define SOC_TWAI_CONTROLLER_NUM 1UL
|
||||
#define SOC_TWAI_CONTROLLER_NUM 1U
|
||||
#define SOC_TWAI_MASK_FILTER_NUM 1U
|
||||
#define SOC_TWAI_CLK_SUPPORT_APB 1
|
||||
#define SOC_TWAI_BRP_MIN 2
|
||||
#define SOC_TWAI_BRP_MAX 16384
|
||||
|
Reference in New Issue
Block a user