debugging support :) over gdbstub
This commit is contained in:
+16
-5
@@ -8,14 +8,18 @@
|
||||
; Please visit documentation for the other options and examples
|
||||
; https://docs.platformio.org/page/projectconf.html
|
||||
|
||||
[env:esp01_1m]
|
||||
[env]
|
||||
platform = espressif8266
|
||||
board = esp01_1m
|
||||
board = nodemcuv2
|
||||
framework = arduino
|
||||
monitor_speed = 115200
|
||||
|
||||
extra_scripts = pre:extra_script.py
|
||||
|
||||
[env:serial]
|
||||
upload_protocol = esptool
|
||||
upload_speed = 921600
|
||||
|
||||
[env:ota]
|
||||
; stuff for OTA
|
||||
; https://docs.platformio.org/en/latest/platforms/espressif8266.html#over-the-air-ota-update
|
||||
upload_protocol = espota
|
||||
@@ -24,5 +28,12 @@ upload_flags =
|
||||
--port=8266
|
||||
--auth=admin
|
||||
|
||||
lib_deps =
|
||||
ottowinter/PCA9685 16-Channel PWM Driver Module Library @ 1.2.9
|
||||
[env:debug]
|
||||
build_flags = -DWITH_DEBUGGING_ON -Os -g3 -ggdb3
|
||||
upload_protocol = esptool
|
||||
upload_speed = 921600
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user