summaryrefslogtreecommitdiffstats
path: root/fiz/naloga/vodnaraketa/platformio.ini
diff options
context:
space:
mode:
Diffstat (limited to 'fiz/naloga/vodnaraketa/platformio.ini')
-rw-r--r--fiz/naloga/vodnaraketa/platformio.ini18
1 files changed, 7 insertions, 11 deletions
diff --git a/fiz/naloga/vodnaraketa/platformio.ini b/fiz/naloga/vodnaraketa/platformio.ini
index 5977f35..0c7f25b 100644
--- a/fiz/naloga/vodnaraketa/platformio.ini
+++ b/fiz/naloga/vodnaraketa/platformio.ini
@@ -1,18 +1,14 @@
-; 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
+[s]
+monitor_speed = 9600
+upload_speed = 921600
+
[env:myboard]
platform = espressif8266
+extends = s
board = nodemcuv2
monitor_speed = 9600
-upload_speed = 921600
-build_flags = -DDEBUG_ESP_CORE -DDEBUG_ESP_WIFI -DDEBUG_ESP_PORT=Serial -DIP_FORWARD=1
+upload_speed = 460800
+build_flags = -DDEBUG_ESP_CORE -DDEBUG_ESP_WIFI -DDEBUG_ESP_PORT=Serial -DIP_FORWARD=1 -DMONITOR_SPEED=${s.monitor_speed}
framework = arduino
board_build.filesystem = littlefs
board_build.ldscript = eagle.flash.4m2m.ld