; ============================================================ ; INAV Telemetry Reader via ELRS Backpack (ESP-NOW) ; Target: ESP32 DevKit (ESP32-WROOM) -- RX-only ; ============================================================ ; ; Perche' la piattaforma e' PINNATA a 6.9.0: ; espressif32 6.9.0 -> arduino-esp32 core 2.0.17. ; Nel core 2.x la callback di ricezione ESP-NOW ha la firma: ; void cb(const uint8_t *mac, const uint8_t *data, int len) ; Nel core 3.x (platform 7.x) la firma e' cambiata in ; void cb(const esp_now_recv_info_t *info, const uint8_t *data, int len) ; Il codice qui usa la firma 2.x. Se vuoi il core 3.x va adattata ; la callback OnDataRecv in main.cpp. ; ============================================================ [env:esp32dev] platform = espressif32@6.9.0 board = esp32dev framework = arduino board_build.mcu = esp32 board_build.f_cpu = 240000000L monitor_speed = 115200 monitor_filters = esp32_exception_decoder upload_protocol = esptool ; terseCRSF: parser CRSF leggero (zs6buj). Usa v0.0.6+. lib_deps = https://github.com/zs6buj/terseCRSF.git build_flags = -D CORE_DEBUG_LEVEL=0