ttlappalainen / NMEA2000_esp32

Inherited object for use NMEA2000 with ESP32 boards
68 stars 41 forks source link

Sketches not compiling #14

Open hoellwerth opened 1 year ago

hoellwerth commented 1 year ago

It does not matter what I do with the library, it always throws these errors. This one was with the ActisenseListener example.


/home/johannes/.arduino15/packages/esp32/tools/xtensa-esp32s3-elf-gcc/esp-2021r2-patch5-8.4.0/bin/xtensa-esp32s3-elf-g++ -DHAVE_CONFIG_H "-DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\"" -DUNITY_INCLUDE_CONFIG_H -DWITH_POSIX -D_GNU_SOURCE "-DIDF_VER=\"v4.4.4\"" -DESP_PLATFORM -D_POSIX_READER_WRITER_LOCKS -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/newlib/platform_include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/freertos/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/freertos/include/esp_additions/freertos -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/freertos/port/xtensa/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/freertos/include/esp_additions -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_hw_support/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_hw_support/include/soc -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_hw_support/include/soc/esp32s3 -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_hw_support/port/esp32s3 -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_hw_support/port/esp32s3/private_include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/heap/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/log/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/lwip/include/apps -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/lwip/include/apps/sntp -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/lwip/lwip/src/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/lwip/port/esp32/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/lwip/port/esp32/include/arch -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/soc/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/soc/esp32s3 -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/soc/esp32s3/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/hal/esp32s3/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/hal/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/hal/platform_port/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_rom/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_rom/include/esp32s3 -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_rom/esp32s3 -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_common/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_system/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_system/port/soc -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_system/port/public_compat -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/xtensa/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/xtensa/esp32s3/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/driver/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/driver/esp32s3/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_pm/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_ringbuf/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/efuse/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/efuse/esp32s3/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/vfs/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_wifi/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_event/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_netif/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_eth/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/tcpip_adapter/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_phy/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_phy/esp32s3/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_ipc/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/app_trace/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_timer/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/mbedtls/port/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/mbedtls/mbedtls/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/mbedtls/esp_crt_bundle/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/app_update/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/spi_flash/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/bootloader_support/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/nvs_flash/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/pthread/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_gdbstub/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_gdbstub/xtensa -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_gdbstub/esp32s3 -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/espcoredump/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/espcoredump/include/port/xtensa -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/wpa_supplicant/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/wpa_supplicant/port/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/wpa_supplicant/esp_supplicant/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/ieee802154/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/console -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/asio/asio/asio/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/asio/port/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/bt/common/osi/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/bt/include/esp32s3/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/bt/common/api/include/api -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/bt/common/btc/profile/esp/blufi/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/bt/common/btc/profile/esp/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/bt/host/bluedroid/api/include/api -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/bt/esp_ble_mesh/mesh_common/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/bt/esp_ble_mesh/mesh_common/tinycrypt/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/bt/esp_ble_mesh/mesh_core -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/bt/esp_ble_mesh/mesh_core/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/bt/esp_ble_mesh/mesh_core/storage -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/bt/esp_ble_mesh/btc/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/bt/esp_ble_mesh/mesh_models/common/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/bt/esp_ble_mesh/mesh_models/client/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/bt/esp_ble_mesh/mesh_models/server/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/bt/esp_ble_mesh/api/core/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/bt/esp_ble_mesh/api/models/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/bt/esp_ble_mesh/api -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/cbor/port/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/unity/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/unity/unity/src -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/cmock/CMock/src -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/coap/port/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/coap/libcoap/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/nghttp/port/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/nghttp/nghttp2/lib/includes -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp-tls -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp-tls/esp-tls-crypto -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_adc_cal/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_hid/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/tcp_transport/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_http_client/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_http_server/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_https_ota/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_https_server/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_lcd/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_lcd/interface -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/protobuf-c/protobuf-c -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/protocomm/include/common -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/protocomm/include/security -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/protocomm/include/transports -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/mdns/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_local_ctrl/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/sdmmc/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_serial_slave_link/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_websocket_client/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/expat/expat/expat/lib -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/expat/port/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/wear_levelling/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/fatfs/diskio -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/fatfs/vfs -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/fatfs/src -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/freemodbus/freemodbus/common/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/idf_test/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/idf_test/include/esp32s3 -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/jsmn/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/json/cJSON -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/libsodium/libsodium/src/libsodium/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/libsodium/port_include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/mqtt/esp-mqtt/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/openssl/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/perfmon/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/spiffs/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/usb/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/ulp/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/wifi_provisioning/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/rmaker_common/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_diagnostics/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/rtc_store/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_insights/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/json_parser/upstream/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/json_parser/upstream -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/json_generator/upstream -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_schedule/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/espressif__esp_secure_cert_mgr/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_rainmaker/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/gpio_button/button/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/qrcode/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/ws2812_led -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/freertos/include/freertos -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/arduino_tinyusb/tinyusb/src -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/arduino_tinyusb/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_littlefs/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp-dl/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp-dl/include/tool -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp-dl/include/typedef -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp-dl/include/image -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp-dl/include/math -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp-dl/include/nn -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp-dl/include/layer -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp-dl/include/detect -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp-dl/include/model_zoo -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp-sr/src/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp-sr/esp-tts/esp_tts_chinese/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp-sr/include/esp32s3 -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp32-camera/driver/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp32-camera/conversions/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/espressif__esp-dsp/modules/dotprod/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/espressif__esp-dsp/modules/support/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/espressif__esp-dsp/modules/windows/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/espressif__esp-dsp/modules/windows/hann/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/espressif__esp-dsp/modules/windows/blackman/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/espressif__esp-dsp/modules/windows/blackman_harris/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/espressif__esp-dsp/modules/windows/blackman_nuttall/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/espressif__esp-dsp/modules/windows/nuttall/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/espressif__esp-dsp/modules/windows/flat_top/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/espressif__esp-dsp/modules/iir/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/espressif__esp-dsp/modules/fir/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/espressif__esp-dsp/modules/math/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/espressif__esp-dsp/modules/math/add/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/espressif__esp-dsp/modules/math/sub/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/espressif__esp-dsp/modules/math/mul/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/espressif__esp-dsp/modules/math/addc/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/espressif__esp-dsp/modules/math/mulc/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/espressif__esp-dsp/modules/math/sqrt/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/espressif__esp-dsp/modules/matrix/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/espressif__esp-dsp/modules/fft/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/espressif__esp-dsp/modules/dct/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/espressif__esp-dsp/modules/conv/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/espressif__esp-dsp/modules/common/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/espressif__esp-dsp/modules/kalman/ekf/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/espressif__esp-dsp/modules/kalman/ekf_imu13states/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/fb_gfx/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/qio_qspi/include -mlongcalls -ffunction-sections -fdata-sections -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wno-unused-parameter -Wno-sign-compare -ggdb -freorder-blocks -Wwrite-strings -fstack-protector -fstrict-volatile-bitfields -Wno-error=unused-but-set-variable -fno-jump-tables -fno-tree-switch-conversion -std=gnu++11 -fexceptions -fno-rtti -MMD -c -w -Os -DF_CPU=240000000L -DARDUINO=10607 -DARDUINO_ADAFRUIT_FEATHER_ESP32S3_TFT -DARDUINO_ARCH_ESP32 "-DARDUINO_BOARD=\"ADAFRUIT_FEATHER_ESP32S3_TFT\"" "-DARDUINO_VARIANT=\"adafruit_feather_esp32s3_tft\"" -DARDUINO_PARTITION_default -DESP32 -DCORE_DEBUG_LEVEL=0 -DARDUINO_RUNNING_CORE=1 -DARDUINO_EVENT_RUNNING_CORE=1 -DBOARD_HAS_PSRAM -DARDUINO_USB_MODE=0 -DARDUINO_USB_CDC_ON_BOOT=1 -DARDUINO_USB_MSC_ON_BOOT=0 -DARDUINO_USB_DFU_ON_BOOT=0 @/home/johannes/.var/app/cc.arduino.IDE2/cache/arduino/sketches/B9EB44FDE50B22200D8B1BF41D0C612F/build_opt.h -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/cores/esp32 -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/variants/adafruit_feather_esp32s3_tft -I/home/johannes/Arduino/libraries/NMEA2000/src -I/home/johannes/Arduino/libraries/NMEA2000_esp32 /home/johannes/Arduino/libraries/NMEA2000_esp32/NMEA2000_esp32.cpp -o /home/johannes/.var/app/cc.arduino.IDE2/cache/arduino/sketches/B9EB44FDE50B22200D8B1BF41D0C612F/libraries/NMEA2000_esp32/NMEA2000_esp32.cpp.o
In file included from /home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/soc/esp32s3/include/soc/dport_reg.h:21,
                 from /home/johannes/Arduino/libraries/NMEA2000_esp32/NMEA2000_esp32.cpp:32:
/home/johannes/Arduino/libraries/NMEA2000_esp32/NMEA2000_esp32.cpp: In member function 'void tNMEA2000_esp32::CAN_init()':
/home/johannes/Arduino/libraries/NMEA2000_esp32/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);
                           ^~~~~~~~~~~~~~~~~~~~~~
/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/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)
                                                                   ^~~~
/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/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)))
                                              ^~~~~~~~~~~~~~~~~~~~
/home/johannes/Arduino/libraries/NMEA2000_esp32/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);
   ^~~~~~~~~~~~~~~~~~~~~~~
/home/johannes/Arduino/libraries/NMEA2000_esp32/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);
                           ^~~~~~~~~~~~~~~~~~~~~~
/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/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)
                                                                   ^~~~
/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/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)))
                                              ^~~~~~~~~~~~~~~~~~~~
/home/johannes/Arduino/libraries/NMEA2000_esp32/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);
   ^~~~~~~~~~~~~~~~~~~~~~~
/home/johannes/Arduino/libraries/NMEA2000_esp32/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);
                                                   ^~~~~~~~~~~~~~~~
/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/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)
                                                                                        ^~~
/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/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)))
                                              ^~~~~~~~~~~~~~~~~~~~
/home/johannes/Arduino/libraries/NMEA2000_esp32/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);
   ^~~~~~~~~~~~~~~~~~~~~~~
/home/johannes/Arduino/libraries/NMEA2000_esp32/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);
                                                   ^~~~~~~~~~~~~~~~
/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/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)
                                                                                        ^~~
/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/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)))
                                              ^~~~~~~~~~~~~~~~~~~~
/home/johannes/Arduino/libraries/NMEA2000_esp32/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);
   ^~~~~~~~~~~~~~~~~~~~~~~
/home/johannes/Arduino/libraries/NMEA2000_esp32/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);
                             ^~~~~~~~~~~~~~~~~~~~~~
/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/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)
                                                                   ^~~~
/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/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))))
                                              ^~~~~~~~~~~~~~~~~~~~
/home/johannes/Arduino/libraries/NMEA2000_esp32/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);
   ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/johannes/Arduino/libraries/NMEA2000_esp32/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);
                             ^~~~~~~~~~~~~~~~~~~~~~
/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/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)
                                                                   ^~~~
/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/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))))
                                              ^~~~~~~~~~~~~~~~~~~~
/home/johannes/Arduino/libraries/NMEA2000_esp32/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);
   ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/johannes/Arduino/libraries/NMEA2000_esp32/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);
                                                     ^~~~~~~~~~~~~
/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/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)
                                                                                        ^~~
/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/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))))
                                              ^~~~~~~~~~~~~~~~~~~~
/home/johannes/Arduino/libraries/NMEA2000_esp32/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);
   ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/johannes/Arduino/libraries/NMEA2000_esp32/NMEA2000_esp32.cpp:128:53: note: suggested alternative: 'DPORT_DATE_REG'
   DPORT_CLEAR_PERI_REG_MASK(DPORT_PERIP_RST_EN_REG, DPORT_CAN_RST);
                                                     ^~~~~~~~~~~~~
/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/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)
                                                                                        ^~~
/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/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))))
                                              ^~~~~~~~~~~~~~~~~~~~
/home/johannes/Arduino/libraries/NMEA2000_esp32/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);
   ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/johannes/Arduino/libraries/NMEA2000_esp32/NMEA2000_esp32.cpp:132:23: error: 'CAN_RX_IDX' was not declared in this scope
  gpio_matrix_in(RxPin,CAN_RX_IDX,0);
                       ^~~~~~~~~~
/home/johannes/Arduino/libraries/NMEA2000_esp32/NMEA2000_esp32.cpp:132:23: note: suggested alternative: 'TWAI_RX_IDX'
  gpio_matrix_in(RxPin,CAN_RX_IDX,0);
                       ^~~~~~~~~~
                       TWAI_RX_IDX
/home/johannes/Arduino/libraries/NMEA2000_esp32/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);
                    ^~~~~~~~~~~~~~~~~~~
/home/johannes/Arduino/libraries/NMEA2000_esp32/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
/home/johannes/Arduino/libraries/NMEA2000_esp32/NMEA2000_esp32.cpp:200:27: error: 'CAN_TX_IDX' was not declared in this scope
     gpio_matrix_out(TxPin,CAN_TX_IDX,0,0);
                           ^~~~~~~~~~
/home/johannes/Arduino/libraries/NMEA2000_esp32/NMEA2000_esp32.cpp:200:27: note: suggested alternative: 'TWAI_TX_IDX'
     gpio_matrix_out(TxPin,CAN_TX_IDX,0,0);
                           ^~~~~~~~~~
                           TWAI_TX_IDX

Using library NMEA2000 at version 4.18.7 in folder: /home/johannes/Arduino/libraries/NMEA2000 
Using library NMEA2000_esp32 at version 1.0.3 in folder: /home/johannes/Arduino/libraries/NMEA2000_esp32 
exit status 1

Compilation error: exit status 1```
ttlappalainen commented 1 year ago

Seems that there is no those required definitions for ESP32-S2 and ESP32-S3 boards, so it will not compile with those boards for now. Compiling for ESP32 works.

GWS65 commented 1 year ago

Hello all,

I see that you are using the newest ESP32 core v2.0.9 ... Please try the same with an install that has v1 core of esp32. I have seen multiple errors with core v2.0.x that went away using the old core version I think you can uninstall it in the board manager. (in Arduino IDE).

Hope this solves your issue for now GWS

On Sat, May 20, 2023 at 11:46 PM Johannes Höllwerth < @.***> wrote:

It does not matter what I do with the library, it always throws these errors. This one was with the ActisenseListener example.

/home/johannes/.arduino15/packages/esp32/tools/xtensa-esp32s3-elf-gcc/esp-2021r2-patch5-8.4.0/bin/xtensa-esp32s3-elf-g++ -DHAVE_CONFIG_H "-DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\"" -DUNITY_INCLUDE_CONFIG_H -DWITH_POSIX -D_GNU_SOURCE "-DIDF_VER=\"v4.4.4\"" -DESP_PLATFORM -D_POSIX_READER_WRITER_LOCKS -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/newlib/platform_include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/freertos/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/freertos/include/esp_additions/freertos -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/freertos/port/xtensa/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/freertos/include/esp_additions -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_hw_support/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_hw_support/include/soc -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_hw_support/include/soc/esp32s3 -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_hw_support/port/esp32s3 -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_hw_support/port/esp32s3/private_include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/heap/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/log/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/lwip/include/apps -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/lwip/include/apps/sntp -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/lwip/lwip/src/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/lwip/port/esp32/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/lwip/port/esp32/include/arch -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/soc/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/soc/esp32s3 -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/soc/esp32s3/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/hal/esp32s3/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/hal/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/hal/platform_port/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_rom/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_rom/include/esp32s3 -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_rom/esp32s3 -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_common/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_system/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_system/port/soc -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_system/port/public_compat -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/xtensa/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/xtensa/esp32s3/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/driver/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/driver/esp32s3/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_pm/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_ringbuf/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/efuse/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/efuse/esp32s3/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/vfs/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_wifi/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_event/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_netif/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_eth/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/tcpip_adapter/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_phy/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_phy/esp32s3/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_ipc/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/app_trace/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_timer/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/mbedtls/port/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/mbedtls/mbedtls/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/mbedtls/esp_crt_bundle/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/app_update/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/spi_flash/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/bootloader_support/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/nvs_flash/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/pthread/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_gdbstub/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_gdbstub/xtensa -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_gdbstub/esp32s3 -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/espcoredump/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/espcoredump/include/port/xtensa -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/wpa_supplicant/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/wpa_supplicant/port/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/wpa_supplicant/esp_supplicant/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/ieee802154/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/console -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/asio/asio/asio/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/asio/port/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/bt/common/osi/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/bt/include/esp32s3/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/bt/common/api/include/api -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/bt/common/btc/profile/esp/blufi/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/bt/common/btc/profile/esp/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/bt/host/bluedroid/api/include/api -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/bt/esp_ble_mesh/mesh_common/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/bt/esp_ble_mesh/mesh_common/tinycrypt/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/bt/esp_ble_mesh/mesh_core -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/bt/esp_ble_mesh/mesh_core/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/bt/esp_ble_mesh/mesh_core/storage -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/bt/esp_ble_mesh/btc/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/bt/esp_ble_mesh/mesh_models/common/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/bt/esp_ble_mesh/mesh_models/client/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/bt/esp_ble_mesh/mesh_models/server/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/bt/esp_ble_mesh/api/core/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/bt/esp_ble_mesh/api/models/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/bt/esp_ble_mesh/api -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/cbor/port/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/unity/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/unity/unity/src -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/cmock/CMock/src -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/coap/port/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/coap/libcoap/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/nghttp/port/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/nghttp/nghttp2/lib/includes -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp-tls -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp-tls/esp-tls-crypto -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_adc_cal/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_hid/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/tcp_transport/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_http_client/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_http_server/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_https_ota/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_https_server/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_lcd/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_lcd/interface -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/protobuf-c/protobuf-c -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/protocomm/include/common -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/protocomm/include/security -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/protocomm/include/transports -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/mdns/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_local_ctrl/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/sdmmc/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_serial_slave_link/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_websocket_client/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/expat/expat/expat/lib -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/expat/port/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/wear_levelling/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/fatfs/diskio -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/fatfs/vfs -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/fatfs/src -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/freemodbus/freemodbus/common/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/idf_test/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/idf_test/include/esp32s3 -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/jsmn/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/json/cJSON -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/libsodium/libsodium/src/libsodium/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/libsodium/port_include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/mqtt/esp-mqtt/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/openssl/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/perfmon/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/spiffs/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/usb/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/ulp/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/wifi_provisioning/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/rmaker_common/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_diagnostics/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/rtc_store/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_insights/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/json_parser/upstream/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/json_parser/upstream -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/json_generator/upstream -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_schedule/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/espressifesp_secure_cert_mgr/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_rainmaker/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/gpio_button/button/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/qrcode/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/ws2812_led -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/freertos/include/freertos -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/arduino_tinyusb/tinyusb/src -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/arduino_tinyusb/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp_littlefs/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp-dl/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp-dl/include/tool -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp-dl/include/typedef -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp-dl/include/image -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp-dl/include/math -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp-dl/include/nn -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp-dl/include/layer -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp-dl/include/detect -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp-dl/include/model_zoo -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp-sr/src/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp-sr/esp-tts/esp_tts_chinese/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp-sr/include/esp32s3 -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp32-camera/driver/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/esp32-camera/conversions/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/espressifesp-dsp/modules/dotprod/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/espressifesp-dsp/modules/support/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/espressifesp-dsp/modules/windows/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/espressifesp-dsp/modules/windows/hann/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/espressifesp-dsp/modules/windows/blackman/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/espressifesp-dsp/modules/windows/blackman_harris/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/espressif__esp-dsp/modules/windows/blackman_nuttall/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/espressifesp-dsp/modules/windows/nuttall/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/espressif__esp-dsp/modules/windows/flat_top/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/espressifesp-dsp/modules/iir/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/espressifesp-dsp/modules/fir/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/espressifesp-dsp/modules/math/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/espressifesp-dsp/modules/math/add/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/espressifesp-dsp/modules/math/sub/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/espressifesp-dsp/modules/math/mul/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/espressifesp-dsp/modules/math/addc/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/espressifesp-dsp/modules/math/mulc/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/espressifesp-dsp/modules/math/sqrt/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/espressifesp-dsp/modules/matrix/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/espressifesp-dsp/modules/fft/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/espressifesp-dsp/modules/dct/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/espressifesp-dsp/modules/conv/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/espressifesp-dsp/modules/common/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/espressifesp-dsp/modules/kalman/ekf/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/espressifesp-dsp/modules/kalman/ekf_imu13states/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/fb_gfx/include -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/qio_qspi/include -mlongcalls -ffunction-sections -fdata-sections -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wno-unused-parameter -Wno-sign-compare -ggdb -freorder-blocks -Wwrite-strings -fstack-protector -fstrict-volatile-bitfields -Wno-error=unused-but-set-variable -fno-jump-tables -fno-tree-switch-conversion -std=gnu++11 -fexceptions -fno-rtti -MMD -c -w -Os -DF_CPU=240000000L -DARDUINO=10607 -DARDUINO_ADAFRUIT_FEATHER_ESP32S3_TFT -DARDUINO_ARCH_ESP32 "-DARDUINO_BOARD=\"ADAFRUIT_FEATHER_ESP32S3_TFT\"" "-DARDUINO_VARIANT=\"adafruit_feather_esp32s3_tft\"" -DARDUINO_PARTITION_default -DESP32 -DCORE_DEBUG_LEVEL=0 -DARDUINO_RUNNING_CORE=1 -DARDUINO_EVENT_RUNNING_CORE=1 -DBOARD_HAS_PSRAM -DARDUINO_USB_MODE=0 -DARDUINO_USB_CDC_ON_BOOT=1 -DARDUINO_USB_MSC_ON_BOOT=0 -DARDUINO_USB_DFU_ON_BOOT=0 @/home/johannes/.var/app/cc.arduino.IDE2/cache/arduino/sketches/B9EB44FDE50B22200D8B1BF41D0C612F/build_opt.h -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/cores/esp32 -I/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/variants/adafruit_feather_esp32s3_tft -I/home/johannes/Arduino/libraries/NMEA2000/src -I/home/johannes/Arduino/libraries/NMEA2000_esp32 /home/johannes/Arduino/libraries/NMEA2000_esp32/NMEA2000_esp32.cpp -o /home/johannes/.var/app/cc.arduino.IDE2/cache/arduino/sketches/B9EB44FDE50B22200D8B1BF41D0C612F/libraries/NMEA2000_esp32/NMEA2000_esp32.cpp.o In file included from /home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/sdk/esp32s3/include/soc/esp32s3/include/soc/dport_reg.h:21, from /home/johannes/Arduino/libraries/NMEA2000_esp32/NMEA2000_esp32.cpp:32: /home/johannes/Arduino/libraries/NMEA2000_esp32/NMEA2000_esp32.cpp: In member function 'void tNMEA2000_esp32::CAN_init()': /home/johannes/Arduino/libraries/NMEA2000_esp32/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); ^~~~~~ /home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/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)

                                                               ^~~~

/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/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)))

                                          ^~~~~~~~~~~~~~~~~~~~

/home/johannes/Arduino/libraries/NMEA2000_esp32/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); ^~~~~~~ /home/johannes/Arduino/libraries/NMEA2000_esp32/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); ^~~~~~ /home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/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)

                                                               ^~~~

/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/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)))

                                          ^~~~~~~~~~~~~~~~~~~~

/home/johannes/Arduino/libraries/NMEA2000_esp32/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); ^~~~~~~ /home/johannes/Arduino/libraries/NMEA2000_esp32/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); ^~~~ /home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/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)

                                                                                    ^~~

/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/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)))

                                          ^~~~~~~~~~~~~~~~~~~~

/home/johannes/Arduino/libraries/NMEA2000_esp32/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); ^~~~~~~ /home/johannes/Arduino/libraries/NMEA2000_esp32/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); ^~~~ /home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/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)

                                                                                    ^~~

/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/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)))

                                          ^~~~~~~~~~~~~~~~~~~~

/home/johannes/Arduino/libraries/NMEA2000_esp32/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); ^~~~~~~ /home/johannes/Arduino/libraries/NMEA2000_esp32/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); ^~~~~~ /home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/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)

                                                               ^~~~

/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/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))))

                                          ^~~~~~~~~~~~~~~~~~~~

/home/johannes/Arduino/libraries/NMEA2000_esp32/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); ^~~~~~~~~ /home/johannes/Arduino/libraries/NMEA2000_esp32/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); ^~~~~~ /home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/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)

                                                               ^~~~

/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/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))))

                                          ^~~~~~~~~~~~~~~~~~~~

/home/johannes/Arduino/libraries/NMEA2000_esp32/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); ^~~~~~~~~ /home/johannes/Arduino/libraries/NMEA2000_esp32/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); ^~~~~ /home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/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)

                                                                                    ^~~

/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/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))))

                                          ^~~~~~~~~~~~~~~~~~~~

/home/johannes/Arduino/libraries/NMEA2000_esp32/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); ^~~~~~~~~ /home/johannes/Arduino/libraries/NMEA2000_esp32/NMEA2000_esp32.cpp:128:53: note: suggested alternative: 'DPORT_DATE_REG' DPORT_CLEAR_PERI_REG_MASK(DPORT_PERIP_RST_EN_REG, DPORT_CAN_RST); ^~~~~ /home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/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)

                                                                                    ^~~

/home/johannes/.arduino15/packages/esp32/hardware/esp32/2.0.9/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))))

                                          ^~~~~~~~~~~~~~~~~~~~

/home/johannes/Arduino/libraries/NMEA2000_esp32/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); ^~~~~~~~~ /home/johannes/Arduino/libraries/NMEA2000_esp32/NMEA2000_esp32.cpp:132:23: error: 'CAN_RX_IDX' was not declared in this scope gpio_matrix_in(RxPin,CAN_RX_IDX,0); ^~~~~~ /home/johannes/Arduino/libraries/NMEA2000_esp32/NMEA2000_esp32.cpp:132:23: note: suggested alternative: 'TWAI_RX_IDX' gpio_matrix_in(RxPin,CAN_RX_IDX,0); ^~~~~~ TWAI_RX_IDX /home/johannes/Arduino/libraries/NMEA2000_esp32/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); ^~~~~~~ /home/johannes/Arduino/libraries/NMEA2000_esp32/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 /home/johannes/Arduino/libraries/NMEA2000_esp32/NMEA2000_esp32.cpp:200:27: error: 'CAN_TX_IDX' was not declared in this scope gpio_matrix_out(TxPin,CAN_TX_IDX,0,0); ^~~~~~ /home/johannes/Arduino/libraries/NMEA2000_esp32/NMEA2000_esp32.cpp:200:27: note: suggested alternative: 'TWAI_TX_IDX' gpio_matrix_out(TxPin,CAN_TX_IDX,0,0); ^~~~~~ TWAI_TX_IDX

Using library NMEA2000 at version 4.18.7 in folder: /home/johannes/Arduino/libraries/NMEA2000 Using library NMEA2000_esp32 at version 1.0.3 in folder: /home/johannes/Arduino/libraries/NMEA2000_esp32 exit status 1

Compilation error: exit status 1```

— Reply to this email directly, view it on GitHub https://github.com/ttlappalainen/NMEA2000_esp32/issues/14, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYGPNKJDO2TUX76NTX4MRTXHE3TRANCNFSM6AAAAAAYI65WEY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

ttlappalainen commented 1 year ago

Does old core compile properly for S2 and S3? v2.0.x compiles OK, if you use board with ESP32 chip.

On the other hand e.g., ESPAsyncWebserver is horrible slow with newest core at least in AP mode.

jiauka commented 1 year ago

Try this library https://github.com/jiauka/NMEA2000_esp32xx It uses the espressif original HAL twai calls. It works on ESP32, ESP32C3 and has been successfully tested on ESP32S2 by @cheli0. It should work on any ESP32 chip/module with CAN/TWAI interface

mljuba1 commented 10 months ago

Hi all. @jiauka Please can you or any body help me on explanation how to integrate https://github.com/jiauka/NMEA2000_esp32xx lib into ActisenseListenerSender example. I would like to use it with ESP32-S2-Saola-1 dev module.

Thank you in advance....

Code: // Demo: NMEA2000 library. Bus listener and sender. // Sends all bus data to serial in Actisense format. // Send all data received from serial in Actisense format to the N2kBus. // Use this e.g. with NMEA Simulator (see. http://www.kave.fi/Apps/index.html) to send simulated data to the bus. // I have plans to add receiving functionality and data forwarding to NMEA Simulator. Meanwhile you can define // other stream to different port so that you can send data with NMEA Simulator and listen it on other port with // Actisense NMEA Reader.

//#define N2k_CAN_INT_PIN 21

include

include

include

include

include

include

Error: In file included from C:\Users\Milan\Desktop\ActisenseListenerSender_esp32s2\ActisenseListenerSender_esp32s2.ino:14: c:\Users\Milan\Documents\Arduino\libraries\NMEA2000-master\src/NMEA2000_CAN.h:278:27: error: expected type-specifier before 'tNMEA2000_esp32' tNMEA2000 &NMEA2000=(new tNMEA2000_esp32()); ^~~~~~~ c:\Users\Milan\Documents\Arduino\libraries\NMEA2000-master\src/NMEA2000_CAN.h:278:26: error: expected ')' before 'tNMEA2000_esp32' tNMEA2000 &NMEA2000=(new tNMEA2000_esp32()); ~ ^~~~ )

Using library NMEA2000 at version 4.20.2 in folder: C:\Users\Milan\Documents\Arduino\libraries\NMEA2000-master Using library NMEA2000_esp32xx at version 0.0.1 in folder: C:\Users\Milan\Documents\Arduino\libraries\NMEA2000_esp32xx-main Using library NMEA2000_esp32 at version 1.0.3 in folder: C:\Users\Milan\Documents\Arduino\libraries\NMEA2000_esp32-master exit status 1

Compilation error: exit status 1

ttlappalainen commented 10 months ago

I expect you have not read the document - who needs them. On https://ttlappalainen.github.io/NMEA2000/pg_lib_ref.html chapter "Inherited classes according to your Board" you would have found examples for forced "driver" usage for several boards. Extending examples to new "driver" you ca do:

#include <Arduino.h>
#include <N2kMsg.h>
#include <NMEA2000.h>
#define ESP32_CAN_TX_PIN 16
#define ESP32_CAN_RX_PIN 4
#include <NMEA2000_esp32xx.h>
#include <ActisenseReader.h>

tNMEA2000_esp32xx NMEA2000();

Constructor tNMEA2000_esp32xx has defines above as default values for tx/rx pin parameters. So as alternative you can also use

#include <Arduino.h>
#include <N2kMsg.h>
#include <NMEA2000.h>
#include <NMEA2000_esp32xx.h>
#include <ActisenseReader.h>

tNMEA2000_esp32xx NMEA2000(16,4);
mljuba1 commented 10 months ago

Hi Timo. Thank you so much for help and pointing me to great doc that you have created. Thank you.... I did how its described

// other stream to different port so that you can send data with NMEA Simulator and listen it on other port with // Actisense NMEA Reader.

//#define N2k_CAN_INT_PIN 21

include

include

include

//#include

include

include

tNMEA2000_esp32xx NMEA2000(); tActisenseReader ActisenseReader;

// Define READ_STREAM to port, where you write data from PC e.g. with NMEA Simulator.

define READ_STREAM Serial

// Define ForwardStream to port, what you listen on PC side. On Arduino Due you can use e.g. SerialUSB

define FORWARD_STREAM Serial

and now this is error msg in console:

C:\Users\Milan\Desktop\test2\test2.ino: In function 'void setup()': test2:30:12: error: request for member 'SetN2kCANSendFrameBufSize' in 'NMEA2000', which is of non-class type 'tNMEA2000_esp32xx()' NMEA2000.SetN2kCANSendFrameBufSize(150); ^~~~~~~~~ test2:31:12: error: request for member 'SetN2kCANReceiveFrameBufSize' in 'NMEA2000', which is of non-class type 'tNMEA2000_esp32xx()' NMEA2000.SetN2kCANReceiveFrameBufSize(150); ^~~~~~~~ test2:35:12: error: request for member 'SetForwardStream' in 'NMEA2000', which is of non-class type 'tNMEA2000_esp32xx()' NMEA2000.SetForwardStream(ForwardStream); ^~~~ test2:36:12: error: request for member 'SetMode' in 'NMEA2000', which is of non-class type 'tNMEA2000_esp32xx()' NMEA2000.SetMode(tNMEA2000::N2km_ListenAndSend); ^~~ test2:38:43: error: request for member 'SetForwardOwnMessages' in 'NMEA2000', which is of non-class type 'tNMEA2000_esp32xx()' if (ReadStream==ForwardStream) NMEA2000.SetForwardOwnMessages(false); // If streams are same, do not echo own messages. ^~~~~ test2:40:12: error: request for member 'Open' in 'NMEA2000', which is of non-class type 'tNMEA2000_esp32xx()' NMEA2000.Open(); ^~~~ C:\Users\Milan\Desktop\test2\test2.ino: In function 'void HandleStreamN2kMsg(const tN2kMsg&)': test2:51:12: error: request for member 'SendMsg' in 'NMEA2000', which is of non-class type 'tNMEA2000_esp32xx()' NMEA2000.SendMsg(N2kMsg,-1); ^~~ C:\Users\Milan\Desktop\test2\test2.ino: In function 'void loop()': test2:55:12: error: request for member 'ParseMessages' in 'NMEA2000', which is of non-class type 'tNMEA2000_esp32xx()' NMEA2000.ParseMessages(); ^~~~~ exit status 1 request for member 'SetN2kCANSendFrameBufSize' in 'NMEA2000', which is of non-class type 'tNMEA2000_esp32xx()'

Can you maybe help on this one or this?

Best regards...

riotenn commented 10 months ago

I had your same problem. I am using the Arduino Nano ESP32. This is the S3 version of the ESP32. Follow the instructions for modifying NMEA2000_CAN.h (in the src tree of NMEA2000) found at this link: https://github.com/ttlappalainen/NMEA2000/issues/348 If using the Arduino IDE, make sure you add only NMEA2000_esp32xx as the support library. Do not add NMEA2000_esp32 *thus your imported libraries should be NMEA2000 and NMEA2000_esp32xx). It is not necessary to modify any other code except perhaps the pins you are using for TX and RX. The modification to CAN.h shown in the link takes care of including the xx library and instantiating the correct NMEA2000 object.
One of the default pins is not available on the Nano ESP32-S3 so it is necessary to change this. I used Timo's Temperature Monitor as my core development "sketch." I just uncommented his pin defines at the top and defined the pins I was using.
Note that I was never able to get the Actisense Reader to work. I spent perhaps 1/2 a day reading all the documentation and poring over the code but no luck. I gave up on that since I do not really need it for my application.
I have been successful reading and writing to a N2K network I have set up in the lab (for example, reading GNSS data on the ESP and transmitting dynamic engine parameters to a Garmin MFD).

Thanks, Timo, for this huge code base!!

ttlappalainen commented 10 months ago

Sorry my mistake. If you do not define any parameters and just use default you have leave () away.

#include <Arduino.h>
#include <N2kMsg.h>
#include <NMEA2000.h>
#define ESP32_CAN_TX_PIN GPIO_NUM_16
#define ESP32_CAN_RX_PIN GPIO_NUM_4
#include <NMEA2000_esp32xx.h>
#include <ActisenseReader.h>

tNMEA2000_esp32xx NMEA2000;

Also pins must be define with names as above. If you give pins for constructor you use:

#include <Arduino.h>
#include <N2kMsg.h>
#include <NMEA2000.h>
#include <NMEA2000_esp32xx.h>
#include <ActisenseReader.h>

tNMEA2000_esp32xx NMEA2000(GPIO_NUM_16,GPIO_NUM_4);

In Temperature monitor if you define on setup

Serial.begin(115200);
NMEA2000.SetForwardStream(&Serial);
NMEA2000.EnableForward(true);

Messages will be forwarded to USB port with 115200 baud and you can read them with e.g., Actisense Reader.

mljuba1 commented 10 months ago

@riotenn Thank you for replay. Please see below.

@ttlappalainen Successfully compiled!! Thank you for help.

Info for others with same issue: Board - ESP32-S2-Saola-1 IDE - Arduino 2.2.1 peek inside of Actisense listener sender sketch

// Actisense NMEA Reader.

include

include

include

define ESP32_CAN_TX_PIN GPIO_NUM_16

define ESP32_CAN_RX_PIN GPIO_NUM_4

include

include

tNMEA2000_esp32xx NMEA2000; tActisenseReader ActisenseReader;

// Define READ_STREAM to port, where you write data from PC e.g. with NMEA Simulator.

Thank you all guys!! One other question, can someone point me to example of receiving PGN 127502 - Switch Bank Control msg and controlling GPIO? :-)

ttlappalainen commented 10 months ago

Again read documents. There is Set and parse funtions for 127502 on N2kMessages.h. Note that this works in a bit different way. Device, which will set switch bank switch sends 127502 one with only new status for defined switch. Other switches has to be set NA.

127502 is also deprecated. One should use command group function 126208 for commanding switch states.

mljuba1 commented 9 months ago

Thank you for reply Timo. You been helping me a lot. I am not skilled programmer but enthusiast. Actually I don't know how to use 126208.

I am trying to build 16ch relay sw board for my boat that I can switch on off or toggle by timer from my Garmin. I have success setting switches to on-off with this example https://github.com/ando274/N2KRelays , but only for 8ch. As soon as I change to 16ch by fiddling with bankStatus = bankStatus | 0xffffffffff000000ULL; // set unused bits to "unavailable" thing start to get weird and I can not help to myself to correct them. On Garmin I get 16 switches displayed though and when I press either of first 8 (SW1 to SW8) that one goes on but also sw from 9 to 16 goes on as well and vice-versa. Can someone please help regarding this. Thank you so much.

ttlappalainen commented 9 months ago

What do you try to do with bankStatus = bankStatus | 0xffffffffff000000ULL; ? If you have not set bankStatus before, your result is undefined. If you have set, then you force 16 topmost switches NA and 12 lowest unchanged.

I prefer to use functions N2kResetBinaryStatus, N2kSetStatusBinaryOnStatus and N2kGetStatusOnBinaryStatus for status bits handling. Note that you should command change only for status you want to change, not for all. E.g., if you want to turn on switch 12, you should do:

tN2kBinaryStatus BankStatus;
N2kResetBinaryStatus(BankStatus);
N2kSetStatusBinaryOnStatus (BankStatus,N2kOnOff_On,12);
SetN2kSwitchState(N2kMsg,0,BankStatus);  // Expected you have written SetN2kSwitchState

Then you should listen 127501 to read current status.

You can read how to use Command Group Function from document https://web.archive.org/web/20170609033039/http://www.nmea.org/Assets/20140109%20nmea-2000-corrigendum-tc201401031%20pgn%20126208.pdf That is mentions on documentation first page on chapter References.