-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
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
Sketches not compiling #14
Comments
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. |
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/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```
—
Reply to this email directly, view it on GitHub
<#14>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABYGPNKJDO2TUX76NTX4MRTXHE3TRANCNFSM6AAAAAAYI65WEY>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
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. |
Try this library |
Hi all. Thank you in advance.... Code: //#define N2k_CAN_INT_PIN 21 Error: Using library NMEA2000 at version 4.20.2 in folder: C:\Users\Milan\Documents\Arduino\libraries\NMEA2000-master Compilation error: exit status 1 |
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:
Constructor tNMEA2000_esp32xx has defines above as default values for tx/rx pin parameters. So as alternative you can also use
|
Hi Timo. Thank you so much for help and pointing me to great doc that you have created. Thank you.... // other stream to different port so that you can send data with NMEA Simulator and listen it on other port with //#define N2k_CAN_INT_PIN 21 tNMEA2000_esp32xx NMEA2000(); // Define READ_STREAM to port, where you write data from PC e.g. with NMEA Simulator. and now this is error msg in console: C:\Users\Milan\Desktop\test2\test2.ino: In function 'void setup()': Can you maybe help on this one or this? Best regards... |
I had your same problem. I am using the Arduino Nano ESP32. This is the S3 version of the ESP32. Thanks, Timo, for this huge code base!! |
Sorry my mistake. If you do not define any parameters and just use default you have leave () away.
Also pins must be define with names as above. If you give pins for constructor you use:
In Temperature monitor if you define on setup
Messages will be forwarded to USB port with 115200 baud and you can read them with e.g., Actisense Reader. |
@riotenn @ttlappalainen Info for others with same issue: // Actisense NMEA Reader. #include <Arduino.h> tNMEA2000_esp32xx NMEA2000; // Define READ_STREAM to port, where you write data from PC e.g. with NMEA Simulator. Thank you all guys!! |
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. |
Thank you for reply Timo. You been helping me a lot. I am not skilled programmer but enthusiast. 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. |
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:
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 |
It does not matter what I do with the library, it always throws these errors. This one was with the ActisenseListener example.
The text was updated successfully, but these errors were encountered: