summaryrefslogtreecommitdiffstats
path: root/fiz/naloga/vodnaraketa/platformio.ini
diff options
context:
space:
mode:
authorsijanec <anton@sijanec.eu>2021-05-31 00:06:03 +0200
committersijanec <anton@sijanec.eu>2021-05-31 00:06:03 +0200
commit62233e62e73210d07b2daf86ce04f80278f8a2ee (patch)
tree7856caa8fdbda910a52871428a06ca19d2232fd3 /fiz/naloga/vodnaraketa/platformio.ini
parentang test (diff)
downloadsola-gimb-2-62233e62e73210d07b2daf86ce04f80278f8a2ee.tar
sola-gimb-2-62233e62e73210d07b2daf86ce04f80278f8a2ee.tar.gz
sola-gimb-2-62233e62e73210d07b2daf86ce04f80278f8a2ee.tar.bz2
sola-gimb-2-62233e62e73210d07b2daf86ce04f80278f8a2ee.tar.lz
sola-gimb-2-62233e62e73210d07b2daf86ce04f80278f8a2ee.tar.xz
sola-gimb-2-62233e62e73210d07b2daf86ce04f80278f8a2ee.tar.zst
sola-gimb-2-62233e62e73210d07b2daf86ce04f80278f8a2ee.zip
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