Commit Graph

8 Commits

Author SHA1 Message Date
Jason2866 bbdd8e1eda
rm `-Dxxxx=0`settings (#18269)
* rm `-Dxxxx=0˙settings
* c3 no usb_mode
2023-03-26 17:09:45 +02:00
Jason2866 724b0342c7
Reduce Boards manifests
## Description:

by using the 4MB default safeboot partition scheme layout. Tasmota will increase the FS partition with
the new Autoresize feature introduced with PR #16838 #16842

So it is possible to reduce the boards mainifest since it is no more needed to have different ones for boards with different flash sizes. Added generic S3 Flash / PSRAM boards variants. Removed all S3 boards specific variants. Configuration is done via Autoconfig. For a few special use cases maybe an [env] needs to be defined. Examples for are in file `platformio_tasmota_cenv_sample.ini`

@s-hadinger @arendst @staars please test. Since it is a major change how the firmwares are build, there is maybe something i overlooked. So i do not check all below.

## Checklist:
  - [x] The pull request is done against the latest development branch
  - [x] Only relevant files were touched
  - [ ] Only one feature/fix was added per PR and the code change compiles without warnings
  - [ ] The code change is tested and works with Tasmota core ESP8266 V.2.7.4.9
  - [ ] The code change is tested and works with Tasmota core ESP32 V.2.0.5
  - [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-10-17 16:04:11 +02:00
Jason2866 6b1deb5e5e
Revert "refac (#16845)" (#16846)
This reverts commit bc4fb77db0.
2022-10-17 15:38:30 +02:00
Jason2866 bc4fb77db0
refac (#16845)
* Update sensor.h

* Update esp_camera.h

* refactor boards manifests

* fix s3 safebooot env

* fix env
2022-10-17 15:37:26 +02:00
Jason2866 9b0cc9a0e7 use `dio` as default 2022-08-22 17:25:58 +02:00
Jason2866 9669c4a85b
add "after_reset": "no_reset" Option
since S2 in CDC mode is not possible to reset after flash.
Avoids error message in Platformio. This Option will work after the Platformio Framework is updated together with core 2.5.0
2022-08-21 19:26:24 +02:00
Jason2866 52db292f68
Use esptool command "before_reset usb_reset"
usb_reset is the correct way to get cdc in bootloader mode
2022-08-10 17:15:27 +02:00
Theo Arends 1b701173d0 Rename usb to cdc 2022-06-07 16:37:10 +02:00