We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
My Code does Compile fine with standard Board for ESP32 D1 mini but not for a ESP-32-S3 chip. There i get the following errors:
/Users/user/Documents/Arduino/libraries/NMEA2000_esp32-master/NMEA2000_esp32.cpp: In member function 'void tNMEA2000_esp32::CAN_init()': /Users/user/Documents/Arduino/libraries/NMEA2000_esp32-master/NMEA2000_esp32.cpp:123:23: error: 'PERIPH_CAN_MODULE' was not declared in this scope periph_module_reset(PERIPH_CAN_MODULE); ^~~~~~~~~~~~~~~~~ /Users/user/Documents/Arduino/libraries/NMEA2000_esp32-master/NMEA2000_esp32.cpp:123:23: note: suggested alternative: 'PERIPH_RSA_MODULE' periph_module_reset(PERIPH_CAN_MODULE); ^~~~~~~~~~~~~~~~~ PERIPH_RSA_MODULE In file included from /Users/user/Library/Arduino15/packages/esp32/hardware/esp32/2.0.14/tools/sdk/esp32s3/include/soc/esp32s3/include/soc/dport_reg.h:21, from /Users/user/Documents/Arduino/libraries/NMEA2000_esp32-master/NMEA2000_esp32.cpp:32: /Users/user/Documents/Arduino/libraries/NMEA2000_esp32-master/NMEA2000_esp32.cpp:127:27: error: 'DPORT_PERIP_CLK_EN_REG' was not declared in this scope DPORT_SET_PERI_REG_MASK(DPORT_PERIP_CLK_EN_REG, DPORT_CAN_CLK_EN); ^~~~~~~~~~~~~~~~~~~~~~ /Users/user/Library/Arduino15/packages/esp32/hardware/esp32/2.0.14/tools/sdk/esp32s3/include/soc/esp32s3/include/soc/dport_access.h:75:67: note: in definition of macro '_DPORT_WRITE_PERI_REG' #define _DPORT_WRITE_PERI_REG(addr, val) (*((volatile uint32_t *)(addr))) = (uint32_t)(val) ^~~~ /Users/user/Library/Arduino15/packages/esp32/hardware/esp32/2.0.14/tools/sdk/esp32s3/include/soc/esp32s3/include/soc/dport_access.h:88:46: note: in expansion of macro 'DPORT_WRITE_PERI_REG' #define DPORT_SET_PERI_REG_MASK(reg, mask) DPORT_WRITE_PERI_REG((reg), (DPORT_READ_PERI_REG(reg)|(mask))) ^~~~~~~~~~~~~~~~~~~~ /Users/user/Documents/Arduino/libraries/NMEA2000_esp32-master/NMEA2000_esp32.cpp:127:3: note: in expansion of macro 'DPORT_SET_PERI_REG_MASK' DPORT_SET_PERI_REG_MASK(DPORT_PERIP_CLK_EN_REG, DPORT_CAN_CLK_EN); ^~~~~~~~~~~~~~~~~~~~~~~ /Users/user/Documents/Arduino/libraries/NMEA2000_esp32-master/NMEA2000_esp32.cpp:127:27: note: suggested alternative: 'SYSTEM_PERIP_CLK_EN1_REG' DPORT_SET_PERI_REG_MASK(DPORT_PERIP_CLK_EN_REG, DPORT_CAN_CLK_EN); ^~~~~~~~~~~~~~~~~~~~~~ /Users/user/Library/Arduino15/packages/esp32/hardware/esp32/2.0.14/tools/sdk/esp32s3/include/soc/esp32s3/include/soc/dport_access.h:75:67: note: in definition of macro '_DPORT_WRITE_PERI_REG' #define _DPORT_WRITE_PERI_REG(addr, val) (*((volatile uint32_t *)(addr))) = (uint32_t)(val) ^~~~ /Users/user/Library/Arduino15/packages/esp32/hardware/esp32/2.0.14/tools/sdk/esp32s3/include/soc/esp32s3/include/soc/dport_access.h:88:46: note: in expansion of macro 'DPORT_WRITE_PERI_REG' #define DPORT_SET_PERI_REG_MASK(reg, mask) DPORT_WRITE_PERI_REG((reg), (DPORT_READ_PERI_REG(reg)|(mask))) ^~~~~~~~~~~~~~~~~~~~ /Users/user/Documents/Arduino/libraries/NMEA2000_esp32-master/NMEA2000_esp32.cpp:127:3: note: in expansion of macro 'DPORT_SET_PERI_REG_MASK' DPORT_SET_PERI_REG_MASK(DPORT_PERIP_CLK_EN_REG, DPORT_CAN_CLK_EN); ^~~~~~~~~~~~~~~~~~~~~~~ /Users/user/Documents/Arduino/libraries/NMEA2000_esp32-master/NMEA2000_esp32.cpp:127:51: error: 'DPORT_CAN_CLK_EN' was not declared in this scope DPORT_SET_PERI_REG_MASK(DPORT_PERIP_CLK_EN_REG, DPORT_CAN_CLK_EN); ^~~~~~~~~~~~~~~~ /Users/user/Library/Arduino15/packages/esp32/hardware/esp32/2.0.14/tools/sdk/esp32s3/include/soc/esp32s3/include/soc/dport_access.h:75:88: note: in definition of macro '_DPORT_WRITE_PERI_REG' #define _DPORT_WRITE_PERI_REG(addr, val) (*((volatile uint32_t *)(addr))) = (uint32_t)(val) ^~~ /Users/user/Library/Arduino15/packages/esp32/hardware/esp32/2.0.14/tools/sdk/esp32s3/include/soc/esp32s3/include/soc/dport_access.h:88:46: note: in expansion of macro 'DPORT_WRITE_PERI_REG' #define DPORT_SET_PERI_REG_MASK(reg, mask) DPORT_WRITE_PERI_REG((reg), (DPORT_READ_PERI_REG(reg)|(mask))) ^~~~~~~~~~~~~~~~~~~~ /Users/user/Documents/Arduino/libraries/NMEA2000_esp32-master/NMEA2000_esp32.cpp:127:3: note: in expansion of macro 'DPORT_SET_PERI_REG_MASK' DPORT_SET_PERI_REG_MASK(DPORT_PERIP_CLK_EN_REG, DPORT_CAN_CLK_EN); ^~~~~~~~~~~~~~~~~~~~~~~ /Users/user/Documents/Arduino/libraries/NMEA2000_esp32-master/NMEA2000_esp32.cpp:127:51: note: suggested alternative: 'DPORT_REG_CLR_BIT' DPORT_SET_PERI_REG_MASK(DPORT_PERIP_CLK_EN_REG, DPORT_CAN_CLK_EN); ^~~~~~~~~~~~~~~~ /Users/user/Library/Arduino15/packages/esp32/hardware/esp32/2.0.14/tools/sdk/esp32s3/include/soc/esp32s3/include/soc/dport_access.h:75:88: note: in definition of macro '_DPORT_WRITE_PERI_REG' #define _DPORT_WRITE_PERI_REG(addr, val) (*((volatile uint32_t *)(addr))) = (uint32_t)(val) ^~~ /Users/user/Library/Arduino15/packages/esp32/hardware/esp32/2.0.14/tools/sdk/esp32s3/include/soc/esp32s3/include/soc/dport_access.h:88:46: note: in expansion of macro 'DPORT_WRITE_PERI_REG' #define DPORT_SET_PERI_REG_MASK(reg, mask) DPORT_WRITE_PERI_REG((reg), (DPORT_READ_PERI_REG(reg)|(mask))) ^~~~~~~~~~~~~~~~~~~~ /Users/user/Documents/Arduino/libraries/NMEA2000_esp32-master/NMEA2000_esp32.cpp:127:3: note: in expansion of macro 'DPORT_SET_PERI_REG_MASK' DPORT_SET_PERI_REG_MASK(DPORT_PERIP_CLK_EN_REG, DPORT_CAN_CLK_EN); ^~~~~~~~~~~~~~~~~~~~~~~ /Users/user/Documents/Arduino/libraries/NMEA2000_esp32-master/NMEA2000_esp32.cpp:128:29: error: 'DPORT_PERIP_RST_EN_REG' was not declared in this scope DPORT_CLEAR_PERI_REG_MASK(DPORT_PERIP_RST_EN_REG, DPORT_CAN_RST); ^~~~~~~~~~~~~~~~~~~~~~ /Users/user/Library/Arduino15/packages/esp32/hardware/esp32/2.0.14/tools/sdk/esp32s3/include/soc/esp32s3/include/soc/dport_access.h:75:67: note: in definition of macro '_DPORT_WRITE_PERI_REG' #define _DPORT_WRITE_PERI_REG(addr, val) (*((volatile uint32_t *)(addr))) = (uint32_t)(val) ^~~~ /Users/user/Library/Arduino15/packages/esp32/hardware/esp32/2.0.14/tools/sdk/esp32s3/include/soc/esp32s3/include/soc/dport_access.h:85:46: note: in expansion of macro 'DPORT_WRITE_PERI_REG' #define DPORT_CLEAR_PERI_REG_MASK(reg, mask) DPORT_WRITE_PERI_REG((reg), (DPORT_READ_PERI_REG(reg)&(~(mask)))) ^~~~~~~~~~~~~~~~~~~~ /Users/user/Documents/Arduino/libraries/NMEA2000_esp32-master/NMEA2000_esp32.cpp:128:3: note: in expansion of macro 'DPORT_CLEAR_PERI_REG_MASK' DPORT_CLEAR_PERI_REG_MASK(DPORT_PERIP_RST_EN_REG, DPORT_CAN_RST); ^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/user/Documents/Arduino/libraries/NMEA2000_esp32-master/NMEA2000_esp32.cpp:128:29: note: suggested alternative: 'SYSTEM_PERIP_RST_EN1_REG' DPORT_CLEAR_PERI_REG_MASK(DPORT_PERIP_RST_EN_REG, DPORT_CAN_RST); ^~~~~~~~~~~~~~~~~~~~~~ /Users/user/Library/Arduino15/packages/esp32/hardware/esp32/2.0.14/tools/sdk/esp32s3/include/soc/esp32s3/include/soc/dport_access.h:75:67: note: in definition of macro '_DPORT_WRITE_PERI_REG' #define _DPORT_WRITE_PERI_REG(addr, val) (*((volatile uint32_t *)(addr))) = (uint32_t)(val) ^~~~ /Users/user/Library/Arduino15/packages/esp32/hardware/esp32/2.0.14/tools/sdk/esp32s3/include/soc/esp32s3/include/soc/dport_access.h:85:46: note: in expansion of macro 'DPORT_WRITE_PERI_REG' #define DPORT_CLEAR_PERI_REG_MASK(reg, mask) DPORT_WRITE_PERI_REG((reg), (DPORT_READ_PERI_REG(reg)&(~(mask)))) ^~~~~~~~~~~~~~~~~~~~ /Users/user/Documents/Arduino/libraries/NMEA2000_esp32-master/NMEA2000_esp32.cpp:128:3: note: in expansion of macro 'DPORT_CLEAR_PERI_REG_MASK' DPORT_CLEAR_PERI_REG_MASK(DPORT_PERIP_RST_EN_REG, DPORT_CAN_RST); ^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/user/Documents/Arduino/libraries/NMEA2000_esp32-master/NMEA2000_esp32.cpp:128:53: error: 'DPORT_CAN_RST' was not declared in this scope DPORT_CLEAR_PERI_REG_MASK(DPORT_PERIP_RST_EN_REG, DPORT_CAN_RST); ^~~~~~~~~~~~~ /Users/user/Library/Arduino15/packages/esp32/hardware/esp32/2.0.14/tools/sdk/esp32s3/include/soc/esp32s3/include/soc/dport_access.h:75:88: note: in definition of macro '_DPORT_WRITE_PERI_REG' #define _DPORT_WRITE_PERI_REG(addr, val) (*((volatile uint32_t *)(addr))) = (uint32_t)(val) ^~~ /Users/user/Library/Arduino15/packages/esp32/hardware/esp32/2.0.14/tools/sdk/esp32s3/include/soc/esp32s3/include/soc/dport_access.h:85:46: note: in expansion of macro 'DPORT_WRITE_PERI_REG' #define DPORT_CLEAR_PERI_REG_MASK(reg, mask) DPORT_WRITE_PERI_REG((reg), (DPORT_READ_PERI_REG(reg)&(~(mask)))) ^~~~~~~~~~~~~~~~~~~~ /Users/user/Documents/Arduino/libraries/NMEA2000_esp32-master/NMEA2000_esp32.cpp:128:3: note: in expansion of macro 'DPORT_CLEAR_PERI_REG_MASK' DPORT_CLEAR_PERI_REG_MASK(DPORT_PERIP_RST_EN_REG, DPORT_CAN_RST); ^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/user/Documents/Arduino/libraries/NMEA2000_esp32-master/NMEA2000_esp32.cpp:128:53: note: suggested alternative: 'DPORT_DATE_REG' DPORT_CLEAR_PERI_REG_MASK(DPORT_PERIP_RST_EN_REG, DPORT_CAN_RST); ^~~~~~~~~~~~~ /Users/user/Library/Arduino15/packages/esp32/hardware/esp32/2.0.14/tools/sdk/esp32s3/include/soc/esp32s3/include/soc/dport_access.h:75:88: note: in definition of macro '_DPORT_WRITE_PERI_REG' #define _DPORT_WRITE_PERI_REG(addr, val) (*((volatile uint32_t *)(addr))) = (uint32_t)(val) ^~~ /Users/user/Library/Arduino15/packages/esp32/hardware/esp32/2.0.14/tools/sdk/esp32s3/include/soc/esp32s3/include/soc/dport_access.h:85:46: note: in expansion of macro 'DPORT_WRITE_PERI_REG' #define DPORT_CLEAR_PERI_REG_MASK(reg, mask) DPORT_WRITE_PERI_REG((reg), (DPORT_READ_PERI_REG(reg)&(~(mask)))) ^~~~~~~~~~~~~~~~~~~~ /Users/user/Documents/Arduino/libraries/NMEA2000_esp32-master/NMEA2000_esp32.cpp:128:3: note: in expansion of macro 'DPORT_CLEAR_PERI_REG_MASK' DPORT_CLEAR_PERI_REG_MASK(DPORT_PERIP_RST_EN_REG, DPORT_CAN_RST); ^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/user/Documents/Arduino/libraries/NMEA2000_esp32-master/NMEA2000_esp32.cpp:132:23: error: 'CAN_RX_IDX' was not declared in this scope gpio_matrix_in(RxPin,CAN_RX_IDX,0); ^~~~~~~~~~ /Users/user/Documents/Arduino/libraries/NMEA2000_esp32-master/NMEA2000_esp32.cpp:132:23: note: suggested alternative: 'TWAI_RX_IDX' gpio_matrix_in(RxPin,CAN_RX_IDX,0); ^~~~~~~~~~ TWAI_RX_IDX /Users/user/Documents/Arduino/libraries/NMEA2000_esp32-master/NMEA2000_esp32.cpp:193:20: error: 'ETS_CAN_INTR_SOURCE' was not declared in this scope esp_intr_alloc(ETS_CAN_INTR_SOURCE,0,ESP32Can1Interrupt,NULL,NULL); ^~~~~~~~~~~~~~~~~~~ /Users/user/Documents/Arduino/libraries/NMEA2000_esp32-master/NMEA2000_esp32.cpp:193:20: note: suggested alternative: 'ETS_MAX_INTR_SOURCE' esp_intr_alloc(ETS_CAN_INTR_SOURCE,0,ESP32Can1Interrupt,NULL,NULL); ^~~~~~~~~~~~~~~~~~~ ETS_MAX_INTR_SOURCE /Users/user/Documents/Arduino/libraries/NMEA2000_esp32-master/NMEA2000_esp32.cpp:200:27: error: 'CAN_TX_IDX' was not declared in this scope gpio_matrix_out(TxPin,CAN_TX_IDX,0,0); ^~~~~~~~~~ /Users/user/Documents/Arduino/libraries/NMEA2000_esp32-master/NMEA2000_esp32.cpp:200:27: note: suggested alternative: 'TWAI_TX_IDX' gpio_matrix_out(TxPin,CAN_TX_IDX,0,0); ^~~~~~~~~~ TWAI_TX_IDX exit status 1 Compilation error: exit status
Can Ports are set as follow:
#define ESP32_CAN_TX_PIN GPIO_NUM_10 #define ESP32_CAN_RX_PIN GPIO_NUM_9
Is it possible to Support S3 Boards? Thanks for any Help
The text was updated successfully, but these errors were encountered:
Read #20 (comment)
Sorry, something went wrong.
No branches or pull requests
My Code does Compile fine with standard Board for ESP32 D1 mini but not for a ESP-32-S3 chip. There i get the following errors:
Can Ports are set as follow:
Is it possible to Support S3 Boards?
Thanks for any Help
The text was updated successfully, but these errors were encountered: