Commit Graph

50 Commits

Author SHA1 Message Date
Jason2866 17ea732753
Do not abort compile when safeboot firmware can not be downloaded (#21684)
* Message when dl of safeboot failed
* check for safeboot
2024-06-23 15:01:07 +02:00
Jason2866 c7ff6342d8
remove extensiom cdc from C3,C6,S3 variants (#21212) 2024-04-18 13:08:31 +02:00
Jason2866 1d04c000e2
Re enable Ethernet in safeboot for ESP32 (#21199)
by using the Arduino Solo1 framework. The framework has a smaller flash usage
2024-04-16 12:08:53 +02:00
Jason2866 e218550447
Refactor Platformio script `post_esp32.py` (#20966) 2024-03-16 20:23:25 +01:00
Jason2866 3c43486cf5
Colorama (#20838) 2024-02-29 18:23:33 +01:00
Jason2866 62d37e9fcf
enhanced 'Env' check (#20813) 2024-02-26 14:30:44 +01:00
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 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
Jason2866 30521027ab
Keep FS intact when over flashing with VSC (#403) (#19816) 2023-10-22 17:10:59 +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
Christian Baars e0619c8602
post_esp32.py: Allow renaming of files from URLs on the fly (#18965) 2023-06-25 21:21:27 +02:00
Christian Baars 325ceef839
allow folders to be added to the filesystem (#18926) 2023-06-21 18:32:42 +02: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
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
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
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
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 c26742f9b5
use pio env for esptool path 2022-01-07 11:07:36 +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
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