Commit Graph

84 Commits

Author SHA1 Message Date
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