Jason2866
b10b42ff34
warn for whitespaces in path ( #18985 )
2023-06-27 20:33:38 +02:00
Christian Baars
e0619c8602
post_esp32.py: Allow renaming of files from URLs on the fly ( #18965 )
2023-06-25 21:21:27 +02:00
KDMcMullan
558f812ec2
Update gzip-firmware.py ( #18936 )
...
Small grammar fix.
2023-06-22 22:42:15 +02:00
Christian Baars
325ceef839
allow folders to be added to the filesystem ( #18926 )
2023-06-21 18:32:42 +02:00
Jason2866
10821b7e24
fix factory file not removed ( #18761 )
2023-05-31 21:54:59 +02:00
Jason2866
ec00f0f7e2
esp8266 iram metrics ( #18564 )
2023-05-03 11:04:10 +02:00
Jason2866
112c254d54
refac firmware-metrics ( #18466 )
...
* refac firmware-metrics
* rm debugging print
* fix esp8266
2023-04-21 16:56:27 +02:00
Jason2866
ca88aa2519
fix c3 map metrics ( #18465 )
2023-04-21 14:24:29 +02:00
Jason2866
49d5356ea3
Show Metrics for ESP32x firmware ( #18461 )
2023-04-20 20:26:07 +02:00
Jason2866
50dfd30148
refac `UPLOAD` no build ( #18277 )
2023-03-27 11:46:40 +02:00
Jason2866
4fd6694efc
prevent crash when no firmware exits
2023-03-21 17:26:22 +01:00
Jason2866
11645705e3
Flash firmware without `run build` ( #18233 )
...
* Flash without build
* Use firmwares from `build_output`
* simulate build with firmware from `build_output`
* rm debug code
2023-03-21 14:56:24 +01:00
Jason2866
deeed56610
Refactor `set_partition_table.py` ( #18072 )
2023-02-28 12:15:19 +01:00
Jason2866
cadab815ef
pio script to set env `PARTITIONS_TABLE_CSV` ( #18065 )
2023-02-27 17:15:19 +01:00
s-hadinger
a483991ba3
ESP32 preliminary support for Matter protocol, milestone 1 (commissioning) ( #17871 )
...
* ESP32 preliminary support for Matter protocol, milestone 1 (commissioning)
* Fix case
2023-02-04 00:00:21 +01:00
Jason2866
c574e24cad
minor clean up in scripts ( #17483 )
2022-12-22 17:50:40 +01:00
Theo Arends
8ffff8b857
Change Tasmota OTA scripts
...
Change Tasmota OTA scripts now support both unzipped and gzipped file uploads (#17378 )
2022-12-21 17:22:54 +01:00
Jason2866
3a98fbbe38
rm AutodetectUploadPort ( #17442 )
2022-12-19 15:51:57 +01:00
Jason2866
e71913ed42
add option to gz esp32 firmware files ( #17379 )
...
* add option to gz esp32 fimrware files
* reverse esp32 gz logic
2022-12-13 16:40:48 +01:00
Theo Arends
5f581fa7f2
Update http-uploader.py
2022-12-13 15:41:11 +01:00
Theo Arends
8ad0e8b9ec
Change espupload from curl to requests
2022-12-13 14:54:20 +01:00
Jason2866
9a10436450
rm pip install zopfli
2022-11-13 16:46:26 +01:00
Jason2866
e5219fb8be
ues zopfli to gz firmware
2022-11-12 17:12:15 +01:00
Staars
5dc5e11dc9
check for valid cdc config: board vs env
2022-10-29 10:56:53 +02:00
Jason2866
e2391c33e7
use actual builded safeboot firmwares for all esp32 env (Github Actions only) ( #16915 )
2022-10-26 15:50:44 +02:00
Stephan Hadinger
2438ab959a
lv_berry simplify solidification from laptop
2022-10-05 21:58:59 +02:00
Jason2866
056f838f1d
small code refactoring
2022-09-27 14:30:57 +02:00
Jason2866
9688de0b33
One Tasmota Platformio Platform for all framework variants
2022-09-24 12:05:00 +02:00
Stephan Hadinger
e0f9154986
Berry automated solidification of code
2022-09-12 22:02:25 +02:00
Jason2866
7ca8fa94b9
Delete files in folder `berry/generate`
2022-09-10 15:04:00 +02:00
Theo Arends
cd68adbc40
Fix python location
...
Fix python location (#16425 )
2022-09-06 12:24:39 +02:00
s-hadinger
e6ffdaea1b
Merge pull request #16425 from Staars/gen_berry_str
...
generate berry structures before every build process
2022-09-04 22:14:49 +02:00
Jason2866
e6ded2bffe
octal flash needs flashed in mode `dout` ( #16436 )
...
* octal flash needs flashed in mode `dout`
flash modes `qio, qout, dio` can all be flashed in mode `dio`
2022-09-04 15:20:21 +02:00
Jason2866
eea3b0ed10
add Pio env
2022-09-03 22:04:56 +02:00
Christian Baars
a68d2726c5
refactor BERRY_GEN_DIR
2022-09-03 17:22:27 +02:00
Christian Baars
34084c6e75
generate berry structures before every build process
2022-09-03 15:32:24 +02:00
Theo Arends
2cca11f54b
Fix OTA upload when filesystem is added
...
Fix OTA upload when filesystem is added.
An OTA upload to OTA server fails without this test as it overrules the user upload script.
2022-09-02 17:12:42 +02:00
Jason2866
6e7f559f07
Use `dio` when no flash mode is set
2022-08-26 16:17:52 +02:00
Jason2866
bdbd33aecf
fix `board` not defined
2022-08-10 14:11:47 +02:00
Jason2866
73166cace7
Allow overriding reset operation via project file
...
to make it possible to use `usb_reset`. Needed by CDC devices. Infos https://github.com/platformio/platform-espressif32/issues/874
2022-08-10 13:01:01 +02:00
Jason2866
861518679a
Optimize factory firmware generation
...
to use all settings from boards.json manifest.
Set boot flash modes correctly for all flash modes
2022-07-13 14:33:13 +02:00
Jason2866
f9e0431b88
set used flash mode in factory.bin
2022-07-12 13:27:17 +02:00
Moleus
37163a2d38
Fix build environment name check for esp32.
2022-07-06 21:08:16 +03:00
Jason2866
90bd562248
safeboot firmware from OTA source
2022-06-22 18:50:02 +02:00
Theo Arends
c08561f67c
Bump version to v11.1.0.4
...
- Restructure tasmota
2022-06-02 14:17:39 +02:00
Theo Arends
f20fd158b6
Prep tasmota source subdirs
2022-06-01 14:43:23 +02:00
Jason2866
afc8e7a3d6
fs build https:// as source too
2022-05-27 19:45:09 +02:00
Theo Arends
76df8580a1
Fix safeboot compilation on windows
2022-05-20 17:00:56 +02:00
Jason2866
e6e1127a1e
Support more target build names
2022-05-12 13:13:39 +02:00
Jason2866
ba3a258247
Update post_esp32.py
2022-05-12 10:58:36 +02:00
Jason2866
24c4dcec72
add littlefs partition option
2022-05-11 18:30:20 +02:00
Stephan Hadinger
4d8a68ddc5
Board allow no 'flash_size'
2022-05-10 08:24:56 +02:00
Jason2866
4e845127f1
fix shown download URL for solo1
2022-05-05 18:47:37 +02:00
Jason2866
9af8b8f834
Rename safemode to safeboot
...
* rename safemode to safeboot
* fix safeboot env
2022-05-05 11:19:39 +02:00
Jason2866
bc64dd6b9d
Real Python fix ;-)
...
Thx @Staars
2022-05-04 20:26:29 +02:00
Jason2866
3c13fb1b8d
fix solo1 safemode
2022-05-04 19:44:41 +02:00
Jason2866
1b7c182656
Safemode refactor (again ;-) ) ( #15529 )
...
* add more safemode boards.json
* no safemode folder
* staars changes
2022-05-03 22:25:23 +02:00
Jason2866
160282b261
safemode bin repo is arendst/Tasmota-firmware/
2022-05-03 13:49:19 +02:00
Jason2866
f789225e02
Safemode refactor
...
* Safemode refactor
* Looks nicer
* rm littlefs upload
* Delete littlefs.bin
* Create placeholder
* Delete tasmota32-minicustom.bin
* Delete tasmota32c3-minicustom.bin
* rm littlefs
* rename to *-safemode.bin
2022-05-02 23:24:52 +02:00
Jason2866
a192015ea0
remove fix 0x10000 for firmware
2022-04-30 14:01:49 +02:00
Jason2866
dfa104383e
use always actual safemode bins
2022-04-26 18:07:37 +02:00
Jason2866
54fc04409a
safemode refactor
2022-04-26 16:41:35 +02:00
Jason2866
4496f6f111
naming *.map file changes
...
in Arduino Core 2.0.3.
2022-03-28 23:18:53 +02:00
Jason2866
5a70ca1562
NimBLE v1.36 ( #14744 )
2022-02-12 20:01:12 +01:00
Jason2866
7ac85ad973
add ESP32s2 in objdump
2022-01-07 22:28:52 +01:00
Jason2866
c26742f9b5
use pio env for esptool path
2022-01-07 11:07:36 +01:00
Jason2866
046097ffbc
Merge pull request #14311 from Jason2866/work
...
Use esptool.py to generate one file firmware
2022-01-06 23:39:54 +01:00
Jason2866
48585eebd2
Less verbose
2022-01-06 23:20:21 +01:00
Jason2866
e039e59375
next try to find esptool
2022-01-06 22:02:59 +00:00
Christian Baars
17f3e9fab7
Update obj-dump.py to support more boards
...
and adding flag to demangle.
2022-01-06 20:51:40 +01:00
Jason2866
ea12ddeca9
find esptool for import
2022-01-06 19:07:59 +01:00
Jason2866
b9dc142134
Use esptool.py to generate one file firmware
2022-01-06 18:38:02 +01:00
Jason2866
12ecfae94d
copy factory firmware to `build_output`
2022-01-05 23:14:49 +01:00
Jason2866
c808257284
Fix for one firmware file script
...
THX @TD-er for this script!!
2022-01-05 17:50:36 +01:00
Jason2866
811d140124
prep one file firmware esp32
...
For easy initial flashing. Flashing at address 0x0 with esptool.py
Generated in folder `.pio..../firmware-factory.bin` (Not used at the moment!)
## Checklist:
- [x] The pull request is done against the latest development branch
- [x] Only relevant files were touched
- [x] Only one feature/fix was added per PR and the code change compiles without warnings
- [x] The code change is tested and works with Tasmota core ESP8266 V.2.7.4.9
- [x] The code change is tested and works with Tasmota core ESP32 V.2.0.2
- [x] I accept the [CLA](https://github.com/arendst/Tasmota/blob/development/CONTRIBUTING.md#contributor-license-agreement-cla ).
_NOTE: The code change must pass CI tests. **Your PR cannot be merged unless tests pass**_
2022-01-02 15:14:54 +01:00
Jason2866
c2b2062de6
last C3 warning
2022-01-01 18:08:50 +01:00
Jason2866
7765ff43eb
Silence compiler warnings
...
Discarded-qualifiers
Platformio refactored to support different Platformio Scripts for esp8266 and Esp32.
2022-01-01 17:34:35 +01:00
Jason2866
d3ba1dd5fc
fix compiler warnings
2021-11-15 12:35:48 +01:00
Jason2866
a9871ee0ba
Silence warnings with Arduino32 IDF4.4
2021-11-07 11:25:35 +01:00
Jason2866
e42915dd61
Delete cxx_flags.py
2021-09-06 21:01:08 +02:00
Jason2866
68e9e3dbc7
NimBLE 1.3.1
2021-08-22 15:52:00 +02:00
Sillyfrog
00f3c3ecd2
PIO tools overrides using .ini file settings
2021-08-17 09:16:30 +10:00
Sillyfrog
34d0f8302e
PIO tools environment variable controls
2021-08-16 22:41:10 +10:00
Sillyfrog
7dd7cf71a0
Refactor Python PIO tools
2021-08-16 20:37:38 +10:00
Jason2866
4209f7d1cb
Final? fix for map file with IDF4.4
2021-08-09 18:34:09 +02:00
Jason2866
18442c7e57
next try for IDF 4.4 map file building
...
#12837 @arendst @sillyfrog give it a try. I am a Python noob... The `map_name` generating is problematic. Better would be to use last entry of the string `src_dir`.
2021-08-09 16:27:22 +02:00
Theo Arends
0c30aeeebc
Fix compile erro by lack of map file ( #12837 )
2021-08-09 10:58:37 +02:00
Jason2866
0ce68b1b6b
Fixes #12837
...
With the new toolchain used with IDF 4.4 the MAP file is in a different folder and the name has changed (from firmware.map to Tasmota.map).
Now name-firmware.py is searching for both-
2021-08-08 13:35:17 +02:00
Jason2866
5ff35f99f2
gzip map file
2021-08-06 20:34:14 +02:00
Jason2866
a15b6e8d73
typo
2021-04-24 20:11:27 +02:00
Jason2866
7e862adf9a
Autocopy platformio_tasmota_cenv_sample
...
to platformio_tasmota_cenv.ini when not existing
2021-04-24 20:06:29 +02:00
Jason2866
0025ca4ae4
Auto copy platformio_override
2021-04-12 10:18:27 +02:00
Jason2866
c41373d7ef
warning if ESP8266 firmware is too big
2021-02-10 13:51:53 +01:00
Jason2866
1b1b1ed83c
build gz only for ESP8266
2021-01-18 19:21:51 +01:00
Jason2866
af798b40e2
fix compile ESP8266
2021-01-15 20:59:56 +01:00
Jason2866
7fc0c42e04
change from string to list
...
and hack for using littlefs for ESP32 instead of SPIFFS
2021-01-15 15:15:04 +01:00
Jason2866
988ca925dd
PIO file system downloader script
2021-01-13 13:51:03 +01:00
Theo Arends
bc8610f277
Force python3
...
Force python3 (#10057 )
2020-12-05 11:47:09 +01:00
Barbudor
1694087a28
Rename pio folder to pio-tools solve linux build errors
...
When vscode is ran from the Tasmota folder in Linux, build fails with message :
```Executing task: pio run <
The terminal process failed to launch: Path to shell executable "pio" is not a file of a symlink.```
Renaming pio folder into pio-tools solve the problem.
Note: the problem can still occur if the user have a pio folder in his PATH...
2020-11-17 22:01:42 +01:00