; PlatformIO Project Configuration File
;
;   Build options: build flags, source filter
;   Upload options: custom upload port, speed and extra flags
;   Library options: dependencies, extra library storages
;   Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html

[env:nilsdriverv1]
# platform = espressif32
platform = https://github.com/cziter15/platform-espressif32.git
#platform = https://github.com/tasmota/platform-espressif32/releases/download/2023.10.10/platform-espressif32.zip
# board = adafruit_feather_esp32s3
board = lolin_s3_mini
framework = arduino
upload_protocol = esptool
upload_port = /dev/ttyACM*
# board_build.mcu = esp32s3
lib_archive = false
;platform_packages = espressif/toolchain-xtensa-esp32@8.4.0+2021r2-patch5
monitor_speed = 115200
lib_deps =
	https://github.com/simplefoc/Arduino-FOC.git#dev
	https://github.com/simplefoc/Arduino-FOC-drivers.git#dev
	https://github.com/handmade0octopus/ESP32-TWAI-CAN
;	https://github.com/simplefoc/Arduino-FOC-dcmotor.git
;	https://github.com/eric-wieser/packet-io.git
;	https://git.nilsschulte.de/nils/simplesync.git
;	https://github.com/Tinyu-Zhao/INA3221.git

build_flags = -DRADIOLIB_EEPROM_UNSUPPORTED 
;-DSIMPLEFOC_ESP32_USELEDC

