Commit Graph

172 Commits

Author SHA1 Message Date
Jason2866
3dcd8d7f13
Add some checks for valid env (#20805) 2024-02-25 20:28:30 +01:00
Jason2866
e152a3cbf7
"MKFSTOOL" (#20800) 2024-02-24 20:27:12 +01:00
Jason2866
d30c634515
one pio scriot to set "C" flags (#20762) 2024-02-19 13:23:38 +01:00
Jason2866
4a4fe27cee
fix esp8266 fs download and extract (#20554) 2024-01-21 13:16:05 +01:00
Jason2866
0ccd958c6c
refactor Pio filesystem download script (#20544)
* refactor FS download Pio script
2024-01-19 18:36:46 +01:00
s-hadinger
2808653ad9
Moved Berry animate to its own berry_animate lib (#20309)
* Moved Berry animate to its own `berry_animate` lib

* Fix solidification

* fix compilation

* Fix compilation
2023-12-25 11:01:19 +01:00
Jason2866
18e5f53e97
Add new board setting "download speed" to esp32x boards json (#20291)
* add download_speed setting

* add "download speed"

* add / change up- download speed
2023-12-22 19:40:47 +01:00
Jason2866
34fba6e21e
Fix audio warning with Arduino core 3 (#20000)
* silence warning Core 3

* Update add_c_flags_ard3.py

* Update library.json
2023-11-12 23:55:50 +01:00
Jason2866
5021b917da
Fix compiler warning (#19990)
* Create add_c_flags_ard3.py
2023-11-12 17:42:00 +01:00
Jason2866
b0d5cffe16
Add flash mode OPI to Tasmota info page (#19881)
* add OPI mode to info page
2023-10-30 18:27:25 +01:00
Jason2866
fdef240ea4
fix resize for FS >16MB (#19880) 2023-10-30 18:07:24 +01:00
Jason2866
75ec9da8a2
Refactoring of storing safeboot bin (#19858)
* Folder for storing safeboot is now configurable
* Platform 2023.10.06
* Platform 2023.10.12
2023-10-28 13:15:31 +02:00
Dellucifer
f45b55a18b
Rectified Typos (#19841)
* Rectified Typos

* Update settings.json
2023-10-26 18:04:34 +02:00
Jason2866
30521027ab
Keep FS intact when over flashing with VSC (#403) (#19816) 2023-10-22 17:10:59 +02:00
Christian Baars
6bde92eef8
use partiton table from flash for download FS (#19694) 2023-10-07 15:18:37 +02:00
Jason2866
9ff65d76cc
Shell needed for unpack LittleFS cmd 2023-09-23 13:24:37 +02:00
blakadder
8246410c8a
fix compile errors on exotic windows codepages (#19508) 2023-09-13 15:06:01 +02:00
Theo Arends
dc68232f42 Phase 1 support C2/C6 2023-08-21 17:32:54 +02:00
Christian Baars
b5cc48dd64
ESP32: pass flashmode at build time to macro definition (#19299)
* pass flashmode at build time to macro definition

* fix 8266 builds
2023-08-12 11:31:06 +02:00
Jason2866
7488ed03f0
Tasmota based on Arduino 3.0.0 (#19270) 2023-08-06 13:44:28 +02:00
Jason2866
222b47627f
fix 4MB PIO script upload regression 2023-07-31 17:43:47 +02:00
Jason2866
2e9cd6a57d
Auto detect flash size and adjust FS (#349) (#19215) 2023-07-29 19:48:43 +02:00
Götz Gottwald
694bebb574
quote path (#18975) 2023-06-27 20:56:40 +02:00
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