Files
patriandClaude Opus 5.5 66f70c0cc1 Add 12-OBD-Speed: ELM327 speed over BLE on a GIF background
- speed page: 120 px antialiased number (lv_font_conv) + 0-200 km/h arc
  gauge over ezgif-5-cb56986bc7.gif (embedded via board_build.embed_files)
- swipe-left menu: scan, OBD-like adapters first, tap to select; adapter
  remembered in NVS, auto-connect at boot and reconnect every 3 s
- ELM327 init ATZ/ATE0/ATL0/ATS0/ATH0/ATSP0/0100, then 010D polling
- shared ini: -DLV_LVGL_H_INCLUDE_SIMPLE for generated fonts

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 16:49:37 +02:00

46 lines
1.4 KiB
INI

; Shared PlatformIO settings for all JC3636W518 projects
; (ESP32-S3R8, 16 MB QIO flash, 8 MB OPI PSRAM, 360x360 ST77916 QSPI + CST816S).
;
; Use from a project's platformio.ini:
; [platformio]
; extra_configs = <path to shared>/jc3636w518.ini
; [shared]
; dir = <path to shared>
; [env:jc3636w518]
; extends = jc3636w518
[jc3636w518]
; pioarduino = Arduino core 3.0.5 (ESP32_Display_Panel 0.1.4 needs core 3.x)
platform = https://github.com/pioarduino/platform-espressif32/releases/download/51.03.05/platform-espressif32.zip
board = esp32-s3-devkitc-1
framework = arduino
board_build.arduino.memory_type = qio_opi
board_build.flash_mode = qio
board_upload.flash_size = 16MB
board_build.partitions = huge_app.csv
; optimise for speed instead of size
build_unflags = -Os
build_flags =
-O2
-DBOARD_HAS_PSRAM
-DARDUINO_USB_CDC_ON_BOOT=1
; LVGL (also when compiled as a library) uses shared/include/lv_conf.h
-DLV_CONF_INCLUDE_SIMPLE
; generated LVGL fonts/images include "lvgl.h" directly
-DLV_LVGL_H_INCLUDE_SIMPLE
-I${shared.dir}/include
; shared/lib: JC3636W518 board library
; vendor folder: ESP32_Display_Panel 0.1.4, ESP32_IO_Expander 0.0.2 (its lvgl 8.3.11 is not used)
lib_extra_dirs =
${shared.dir}/lib
${shared.dir}/../2-Program Example/Demo_Arduino/library
lib_deps = lvgl/lvgl@9.6.0
upload_port = COM21
monitor_port = COM21
monitor_speed = 115200
monitor_filters = esp32_exception_decoder