![]() ![]() #define _DPORT_WRITE_PERI_REG(addr, val) (((volatile uint32_t )(addr))) = (uint32_t)(val)Ĭ:/Users/radu.rotaru/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32s3/include/soc/esp32s3/include/soc/dport_access.h:85:46: note: in expansion of macro ‘DPORT_WRITE_PERI_REG’ Lib/CAN/CAN.c:172:31: error: ‘DPORT_PERIP_RST_EN_REG’ undeclared (first use in this function) did you mean ‘SYSTEM_PERIP_RST_EN0_REG’?ĭPORT_CLEAR_PERI_REG_MASK(DPORT_PERIP_RST_EN_REG, DPORT_CAN_RST) Ĭ:/Users/radu.rotaru/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32s3/include/soc/esp32s3/include/soc/dport_access.h:75:67: note: in definition of macro ‘_DPORT_WRITE_PERI_REG’ Lib/CAN/CAN.c:171:5: note: in expansion of macro ‘DPORT_SET_PERI_REG_MASK’ #define DPORT_SET_PERI_REG_MASK(reg, mask) DPORT_WRITE_PERI_REG((reg), (DPORT_READ_PERI_REG(reg)|(mask))) #define _DPORT_WRITE_PERI_REG(addr, val) (*((volatile uint32_t )(addr))) = (uint32_t)(val)Ĭ:/Users/radu.rotaru/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32s3/include/soc/esp32s3/include/soc/dport_access.h:88:46: note: in expansion of macro ‘DPORT_WRITE_PERI_REG’ ![]() Lib/CAN/CAN.c:171:53: error: ‘DPORT_CAN_CLK_EN’ undeclared (first use in this function) did you mean ‘DPORT_REG_CLR_BIT’?ĭPORT_SET_PERI_REG_MASK(DPORT_PERIP_CLK_EN_REG, DPORT_CAN_CLK_EN) Ĭ:/Users/radu.rotaru/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32s3/include/soc/esp32s3/include/soc/dport_access.h:75:88: note: in definition of macro ‘_DPORT_WRITE_PERI_REG’
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |