generated from husarnet/esp32-internet-ota
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathplatformio.ini
28 lines (23 loc) · 790 Bytes
/
platformio.ini
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
[env]
platform = espressif32
framework = arduino
platform_packages =
framework-arduinoespressif32 @ https://github.com/husarnet/arduino-esp32/releases/download/1.0.4-1/arduino-husarnet-esp32.zip
lib_deps =
Husarnet ESP32
https://github.com/DominikN/micro_ros_arduino#galactic-custom-build
[env:esp32dev]
board = esp32dev
monitor_speed = 115200
upload_speed = 921600
monitor_filters = esp32_exception_decoder, default
; board_build.partitions = min_spiffs.csv
board_build.partitions = huge_app.csv
build_flags =
-L ./.pio/libdeps/esp32dev/micro_ros_arduino/src/esp32_5_2_0/
-l microros
-D HUSARNET
'-DWIFI_SSID="${sysenv.SSID}"'
'-DWIFI_PASS="${sysenv.PASS}"'
'-DHUSARNET_HOSTNAME="${sysenv.HOSTNAME}"'
'-DHUSARNET_JOINCODE="${sysenv.JOINCODE}"'