Dominik Bartsch 33499beb32 zero duty cycle fix | 3 years ago | |
---|---|---|
.vscode | 3 years ago | |
data | 3 years ago | |
include | 3 years ago | |
lib | 3 years ago | |
scripts | 3 years ago | |
src | 3 years ago | |
test | 3 years ago | |
.gitignore | 3 years ago | |
.gitmodules | 3 years ago | |
README.md | 3 years ago | |
create_gz_files.py | 3 years ago | |
doku.md | 3 years ago | |
start_xtensa_gdb_stub.sh | 3 years ago | |
templ_platformio_ini | 3 years ago | |
webtest.cmd | 3 years ago | |
webtest.sh | 3 years ago |
https://arduino-esp8266.readthedocs.io/en/latest/ota_updates/readme.html
#ifndef __WIFI_CREDENTIALS_H
#define __WIFI_CREDENTIALS_H
#ifndef STASSID
#define STASSID "ssid"
#define STAPSK "key"
#endif
#endif // __WIFI_CREDENTIALS_H
see templ_platformio_ini
[env:<BOARD>]
platform = espressif8266
board = <BOARD>
framework = arduino
monitor_speed = 115200
extra_scripts = pre:extra_script.py
; stuff for OTA
; https://docs.platformio.org/en/latest/platforms/espressif8266.html#over-the-air-ota-update
upload_protocol = espota
upload_port = <IPADRESS>
upload_flags =
--port=8266
--auth=admin