mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-03 09:49:32 +02:00
Use unsupported but working ESP32 version in PlatformIO
This commit is contained in:
parent
6ed2515b76
commit
1c608b8f8c
2 changed files with 5 additions and 0 deletions
|
@ -53,6 +53,8 @@ static ACAN2515_Buffer16 gBuffer;
|
|||
#ifdef CAN_FD
|
||||
#include "src/lib/pierremolinaro-ACAN2517FD/ACAN2517FD.h"
|
||||
ACAN2517FD canfd(MCP2517_CS, SPI, MCP2517_INT);
|
||||
#else
|
||||
typedef char CANFDMessage;
|
||||
#endif
|
||||
|
||||
// ModbusRTU parameters
|
||||
|
|
|
@ -13,6 +13,9 @@ src_dir = ./Software
|
|||
|
||||
[env:esp32dev]
|
||||
platform = espressif32
|
||||
platform_packages=
|
||||
framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#3.0.2
|
||||
framework-arduinoespressif32-libs @ https://github.com/espressif/arduino-esp32/releases/download/3.0.2/esp32-arduino-libs-3.0.2.zip
|
||||
board = esp32dev
|
||||
monitor_speed = 115200
|
||||
monitor_filters = default, time, log2file
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue