forked from ev-open-can-tools/ev-open-can-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplatformio_profile.h
More file actions
35 lines (30 loc) · 2.34 KB
/
Copy pathplatformio_profile.h
File metadata and controls
35 lines (30 loc) · 2.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#pragma once
// Shared PlatformIO profile.
// Edit this file from the repository root before building.
// ── BOARD SELECTION ──────────────────────────────────────────────
// Uncomment ONE of the following lines to match your board:
// #define DRIVER_MCP2515 // Adafruit Feather RP2040 CAN (MCP2515 over SPI)
// #define DRIVER_SAME51 // Adafruit Feather M4 CAN Express (native ATSAME51 CAN)
// #define DRIVER_TWAI // ESP32 boards with built-in TWAI (CAN) peripheral
// #define DRIVER_ESP32_EXT_MCP2515 // ESP32-S3 + external MCP2515 via SPI (use esp32_ext_mcp2515 env)
// ── VEHICLE HARDWARE SELECTION ───────────────────────────────────
// Uncomment ONE of the following lines to match your vehicle:
// #define LEGACY // HW3-retrofit
// #define HW3 // HW3
// #define HW4 // HW4
// ── DASHBOARD CREDENTIALS ────────────────────────────────────────
// Required for all ESP32 dashboard builds. These are the initial values used
// on first boot; change them at runtime via the dashboard WiFi Hotspot card
// (persisted in NVS and survive firmware updates).
#define DASH_SSID "EVtools" // WiFi AP name
#define DASH_PASS "changeme" // WiFi password (min 8 chars)
#define DASH_OTA_USER "admin" // OTA username
#define DASH_OTA_PASS "changeme" // OTA password
// #define DASH_INJECTION_ON_BOOT // Start injecting automatically after boot; default is stopped
// ── BEHAVIOUR OPTIONS ────────────────────────────────────────────
// Uncomment any of the following lines:
// #define ISA_SPEED_CHIME_SUPPRESS // Suppress ISA speed chime; speed limit sign will be empty while driving
// #define EMERGENCY_VEHICLE_DETECTION // Enable emergency vehicle detection
// #define BYPASS_TLSSC_REQUIREMENT // Always enable drivepilot without requiring "Traffic Light and Stop Sign Control" toggle
// #define NAG_KILLER // Suppress Autosteer "hands on wheel" nag (CAN 880 counter+1 echo, X179 pin 2/3)
// #define ENHANCED_AUTOPILOT // Enable UI_applyEceR79 override on HW3/HW4 and summon on HW4