43 Commits

Author SHA1 Message Date
Maxim Prokhorov
360a2f14e7 scripts: update core -> minimal
amend 5bc55cd1a5
2022-09-23 06:09:58 +03:00
Maxim Prokhorov
5ccc70e42e pio: trying to work out 6.0.0 changes 2022-05-05 17:50:21 +03:00
Maxim Prokhorov
bacff3102d pio: make sure "y" for shared libs still works
And update other options to support y, yes and true
2021-06-20 17:41:46 +03:00
Max Prokhorov
1d957506b3 PIO: remove Arduino Core 2.3.0 support (#2333)
As this is no longer an option since PIO 4.4.0
ref.
04694b4126
https://docs.platformio.org/en/latest/core/history.html

*...I have known you for so long
When we ran in circles...*
2020-08-22 01:36:44 +03:00
Max Prokhorov
33ff98c2c6 ota.py: don't use deprecated zeroconf attrs (#2299)
Also bump zeroconf to the version used by PIO
2020-07-09 00:51:36 +03:00
Max Prokhorov
49b6d351d9 PIO/hardware.h: Update naming (#2214)
* update platformio.ini comments
* espurna-base -> espurna-core-webui
* esp8266-<flavour>-<size>-base -> esp8266-<size>-<flavour>-base
* clean-up ESPURNA_CORE detection, use boards function
2020-04-07 21:48:43 +03:00
Max Prokhorov
db50be91bc PIO: fix env definitions (again) (#2212)
* base envs

* CI: speed up release process (since we still want some .bin files)

* fixup! CI: speed up release process (since we still want some .bin files)

* release dry run

* fixup! release dry run

* adjust

* fix .bin name

* it works

* minor cleanup for current git

* use pio suggestion about ldscript, reduce build_flags impact

* fix linker

* parse ${vars} instead of ignoring them

* add filtering and override file (sneak peak into tasmota's pio config)

* don't generate secure client (for now)

* formatting

* codacy
2020-04-07 21:20:32 +03:00
Max Prokhorov
a4d4231ae0 PIO: remove -ota envs, handle OTA condition in extra script (#2099)
* PIO: remove -ota envs, handle OTA condition in extra script
* Tweak ESPURNA_BOARD variable
* Support git and latest in ota script
* Handle ESPURNA_FLAGS too
* Try to handle env and projenv in pylint
* Add deprecation comment about -ota envs
* regen arduino.h
2020-01-20 17:41:10 +03:00
Max Prokhorov
9edccd1c21 Scripts: ota.py version 0.4 (#2020)
* use basic sleep instead of busyloop
* print immediately when no sort option is specified, disable default hostname sort
* restructure
* update requirements.txt
* cli timeout arg, increase default timeout to ensure that all devices are found
* use black for formatting
* shorter ifs
2019-12-21 00:43:53 +03:00
Xose Pérez
7bf7aa6906 Force get_device_size to return an int in OTA manager 2019-12-08 21:09:19 +01:00
Xose Pérez
c271ba666e Using python3 by default in OTA manager 2019-12-06 15:23:24 +01:00
m-kozlowski
8dac0bbe49 Build date in ota.py (mDNS) (#1736)
* include build_date in mdns (and ota.py)

* ota.py: correct number of dashes in header
2019-07-15 00:42:12 +03:00
Max Prokhorov
1d133bee16 Build with platformio 4 (#1805)
- update file paths: .pioenvs -> .pio/build, .piolibdeps -> .pio/libdeps
- modify envs to use common settings
- enable shared libs in travis and ota scripts
2019-07-11 00:34:17 +03:00
Ryan Jarvis
b9cebcf0b0 Make string formatting consistent 2019-02-05 15:45:39 -08:00
Ryan Jarvis
4f1524c1ff typos 2019-02-05 15:44:53 -08:00
Ryan Jarvis
e89ec8c032 PEP8 2019-02-05 15:44:26 -08:00
Xose Pérez
f3aed22179 Increase version field size in OTA manager 2019-01-04 20:25:45 +01:00
Xose Pérez
9ac06d0c7d Fix numbers checks 2018-11-22 21:30:51 +01:00
Max Prokhorov
6e60c7864d Update ota.py
* Fix env size formatting
* Windows support for ota.py
* Sort queue by board to speed up compilation
* Safeguard .pioenvs/elfs
2018-09-17 04:14:13 +03:00
Xose Pérez
d4e5302a81 Fix codacy issues 2018-08-27 11:39:53 +02:00
Xose Pérez
1359157bce Fix sort fields in OTA manager 2018-08-27 10:49:59 +02:00
Xose Pérez
5104b4ced3 Support for 2MB boards with 1MB SPIFFS and 4 sectors for EEPROM 2018-08-26 16:32:38 +02:00
Xose Pérez
f6f60fd10d Remove module option from OTA Manager 2018-06-25 12:52:22 +02:00
Xose Pérez
52ca64eded Clean up builder files 2018-06-21 00:38:13 +02:00
Xose Pérez
b56e986e69 Support for webui_module configuration in the OTA manager 2018-06-20 12:02:57 +02:00
Xose Pérez
f4bc81b733 Fix typo 2018-06-20 11:35:30 +02:00
Xose Pérez
b105947d77 Merge branch 'dev' into ota 2018-06-20 11:26:25 +02:00
Xose Pérez
17dcf520b7 Faster OTA manager, support for zeroconf 0.20.0 and python3 2018-05-25 12:56:09 +02:00
Xose Pérez
738f7f6ab8 Save ELF file to debug 2018-04-02 10:53:34 +02:00
Xose Pérez
02c870b054 Working on extending OTA manager 2018-03-31 11:00:35 +02:00
Xose Pérez
437b0dd929 Fix some codacy issues with python files 2018-02-08 11:12:44 +01:00
Xose Pérez
e13c411148 Exec flag for ota.py 2018-01-19 09:31:29 +01:00
Xose Pérez
ca1c1f7605 Add MAC to mDNS text fields 2018-01-16 22:40:37 +01:00
Xose Pérez
c66e5dc90c Option to bypass the confirmation check in ESPurna OTA Manager 2018-01-15 22:47:11 +01:00
Xose Pérez
1d558891b6 Merged in espurna/dev (pull request #46)
Conflicts:
	code/html/custom.js
2018-01-15 19:55:02 +01:00
Lazar Obradovic
023f70d203 lintfixes, try1 2018-01-12 15:00:46 +01:00
Xose Pérez
ec3c5f5699 Added option to flash multiple devices from the ESPurna OTA Manager at once 2018-01-11 23:32:23 +01:00
Xose Pérez
b8bd302153 Fix compatibility issues between python 2.7 and 3.X 2018-01-11 00:50:58 +01:00
Xose Pérez
ff2b110b2a Merged in ryan_jarvis/espurna/dev (pull request #45)
Conflicts:
	code/ota.py
2018-01-11 00:28:46 +01:00
Xose Pérez
93cd43d0c4 Increase zeroconf discovery time. Check if any devices have been found. 2018-01-10 16:44:47 +01:00
Xose Pérez
29b3ae7041 Support to build a core version of the firmware (<290Kb) keeping track of the board type for future reference 2018-01-08 00:25:12 +01:00
Ryan Jarvis
9503e833ec Python3 support and PEP8 2018-01-05 16:13:32 -08:00
Xose Pérez
77045d9bf9 ESPurna OTA Manager implemented in python 2018-01-05 21:33:00 +01:00