Commit Graph
193 Commits
Author SHA1 Message Date
Gijs Noorlander b3d5eb77d3 [PIO] Split platformio.ini into separate files + cleanup. 2019-11-20 13:49:40 +01:00
Gijs Noorlander 07187db5bf [PIO] Only build needed environments 2019-11-19 10:37:10 +01:00
Gijs Noorlander b931a47424 [PIO] Fix empty build_flags 2019-11-19 01:55:41 +01:00
Gijs Noorlander f8c06d2ecf [PIO] Fix building hardware specific builds 2019-11-19 00:28:04 +01:00
Gijs Noorlander 7ee8d9fa3a [PIO] Cleanup ESP32 environments by using extends 2019-11-19 00:27:55 +01:00
Gijs Noorlander 58faac8ded [PIO] Fix using wrong name for regular_platform 2019-11-19 00:27:55 +01:00
TD-er 77b774d786 [PIO] Disable build cache dir (Windows/Unix slash in path)
Build cache dir is not really platform independent.
2019-11-19 00:27:55 +01:00
TD-er 588b551017 [PIO] Reduce platformio.ini complexity by using extends 2019-11-19 00:27:55 +01:00
Gijs Noorlander 761dac1f0d [Cleanup] Make timing stats optional to reduce size 2019-11-19 00:27:55 +01:00
Gijs Noorlander 0b499cceea [PIO] Cleanup platformio.ini and move to core 2.6.1 as default (#2742)
Fixes: #2742
2019-11-19 00:27:24 +01:00
Gijs Noorlander 8ed8f584f7 [PIO] Ignore SD/SDFS libraries to reduce build size
See https://github.com/esp8266/Arduino/issues/6760
2019-11-13 22:22:40 +01:00
Gijs Noorlander da4ad93991 [PIO] Use Jason2866 version of core 2.6.0 2019-11-12 01:09:40 +01:00
Gijs Noorlander 44e810d6d0 [PIO] patch for core 2.6.0 build env.
See https://github.com/platformio/platform-espressif8266/issues/180
2019-11-11 16:00:00 +01:00
Gijs Noorlander 0f8822ccc4 [clangtidy] Const reference function parameters 2019-10-30 02:22:10 +01:00
Gijs Noorlander 83c600e82d [Build] Rename ESP32 env 1M8_partition to 4M316k
1M8 does look a bit too much like "1MB".
4M316k does use the same naming schema as the other builds, stating the flash size and SPIFFS size.
2019-10-27 13:38:16 +01:00
Gijs Noorlander 1dec446974 [Build] Add custom 4M2M build 2019-10-27 13:00:33 +01:00
Gijs Noorlander 654c86e8e3 [PIO] Cleanup old environments and add debug definitions
To be used for the static analysis tools of PlatformIO.
See [announcement PIO Home 3.0 beta](https://community.platformio.org/t/platformio-home-3-0-beta-and-powerful-project-inspection/10187?utm_source=platformio&utm_medium=piohome)
2019-10-27 01:07:17 +02:00
Gijs Noorlander d42091f20e [PIO] Fix build issue due to duplicate env in platformio.ini 2019-10-21 16:21:23 +02:00
Gijs Noorlander a5f778fcbd [PIO] Describe core 2.6.0 branches/repositories
Distinguish between Arduino #feature/stage and Jason2866 #Tasmota platform in the system libraries description.
2019-09-28 15:49:57 +02:00
Gijs Noorlander 760765efb1 [Build] Fix use of flag BUILD_NO_DEBUG
The check in the code was for #ifndef BUILD_NO_DEBUG.
But even when it is defined as 0, it is still defined.
So the code was still included in the binary.
2019-09-26 13:42:00 +02:00
Gijs Noorlander 036743040b [Build] Add Custom ESP32 and disable plugins to reduce binary size
Disabled 
- Settings Archive
- NeoClock
- Candle
2019-09-25 00:46:04 +02:00
Gijs Noorlander 8a259f3fdb [PIO] Switch to core_stage for core 2.6.0 builds
To be able to use this merged PR: https://github.com/esp8266/Arduino/pull/6484
2019-09-25 00:46:04 +02:00
Gijs Noorlander b410fc7bc1 Split Diagnostic.h & ESPEasyWiFiEvent.h into .h/.cpp 2019-09-25 00:46:04 +02:00
Gijs Noorlander b33f058649 Fix using includes to get defines right during compile
For detailed explanation, see https://github.com/letscontrolit/ESPEasy/issues/2621#issuecomment-533673956
2019-09-25 00:46:04 +02:00
Gijs Noorlander 347fbaa56c [Travis] Disable Travis cache 2019-09-25 00:46:04 +02:00
Gijs Noorlander d1cca1da60 [PIO] Use original platform for core 2.6.0, not Tasmota's one
Was using https://github.com/Jason2866/platform-espressif8266.git#Tasmota
This may lead to issues when running `pio update`
2019-09-25 00:46:04 +02:00
Gijs Noorlander 19404dccaa [Build] Remove debug logs from 1M builds 2019-09-25 00:44:44 +02:00
TD-er 62acbad5e4 [PIO] Update core 2.5.2 to espressif8266@2.2.3 2019-09-25 00:44:44 +02:00
Gijs Noorlander 19512cf435 [Build] Remove some build types from the nightly build
Mainly core 2.4.2 and double core 2.5.2 builds
2019-09-25 00:44:44 +02:00
Gijs Noorlander 98603db9aa [Build] No longer ignore IR libraries to allow IR builds from Vagrant
The builds not using the IR libraries will not increase in size by no longer ignoring these libraries.
2019-09-25 00:44:44 +02:00
Gijs Noorlander 0f429e1148 Merge pull request #2603 from jimmys01/mega
[IR] Add Normal plugin set with only IR TX extended
2019-09-09 22:42:36 +02:00
jimmys01 6028628b33 [IR] Add Normal plugin set with only IR TX extended
With RX ommited we can have the NORMAL plugin set and IR with 93% space usage.
2019-09-09 13:26:51 +03:00
Gijs Noorlander dd2ccada7a Merge branch 'mega' into cleanup/SplitSettings 2019-09-05 22:55:46 +02:00
Gijs Noorlander 76ef740ff1 [Memory Analyzer] Simplify analyzer and check for sets also
For example check the impact of some build flags, but also sets of plugins including (and sharing) the same library.
For example MQTT_ONLY.
2019-09-05 22:51:33 +02:00
Gijs Noorlander 5db8ab0937 [Cleanup] Allow Controller QueueElements to be excluded from a build 2019-09-05 14:09:58 +02:00
Gijs Noorlander 237df8abd9 [Cleanup] Fix warnings of unused (static) functions
Do not declare static functions in a header file, since everywhere the function signature is called, it will call a copy of the function and thus the function in the header file where it is defined, is never called.
2019-09-03 00:36:59 +02:00
Gijs Noorlander 5bf1127ca2 [Build] Fix build error after rename flash layouts 2019-09-02 23:20:37 +02:00
Gijs Noorlander 5aad747ded Merge branch 'mega' into bugfix/minimal_IRext_4mbuild 2019-09-02 11:09:49 +02:00
Gijs Noorlander 523541e7f5 [MemAnalyzer] Fix MemAnalyzer.py script to work with USES_.... defines
The MemAnalyzer tool was not able to perform a proper analysis of the current builds, since we introduced the `USES_P001` syntax of defines to determine what should be included and what not.
2019-09-02 00:49:31 +02:00
Gijs Noorlander 9dd800d6b7 Add TextArea option for C11 and fix some build inconsistencies 2019-09-01 01:26:16 +02:00
Gijs Noorlander 5f13a58658 [Build] Fix typo error in platformIO.ini
Query-replace mistake in capitalization.
2019-08-31 13:18:27 +02:00
Gijs Noorlander 89b4616066 Add minimal_IRext_ESP8266_4M2M build using 2M SPIFFS
The first build to use 4M/2M layout
2019-08-31 12:57:12 +02:00
Gijs Noorlander 2ff0b43a27 Move dev build to core 2.6.0 (to make it fit) 2019-08-29 23:16:25 +02:00
Gijs Noorlander d540b624d5 [PlatformIO] Changes for core 2.6.0 (Tasmota patched core)
As suggested [here](https://github.com/letscontrolit/ESPEasy/commit/54117e908fd48771bc810718de7a1b13bde671ec#commitcomment-34851091) by @Jason2866
2019-08-28 00:33:35 +02:00
Gijs Noorlander 817d0c3f12 [Build] Remove all core 2.6.0 SDK2 builds
They are now obsolete and the test builds no longer fit in the iram.
2019-08-22 12:58:20 +02:00
Toni 61bac376f8 Configurable MQTT package size in Controller.ino
A problem was found with Domoticz MQTT testing, when sending heatpumpir commands via Domoticz MQTT api
2019-08-22 11:05:36 +02:00
Gijs Noorlander 63dff349ba [PlatformIO] Fix missing define on some core 2.4.x builds 2019-08-22 00:29:52 +02:00
Gijs Noorlander 4b6e4c270a [PlatformIO] Maintain same order of platform and build_flags
This makes it easier to adapt settings, since platform and build_flags both depend on the same variable section.
Thus it makes sense to have them on consecutive lines.
2019-08-22 00:17:46 +02:00
Gijs Noorlander 0eaa1de569 [PlatformIO] Move duplicate lines to global [env] 2019-08-22 00:01:16 +02:00
Gijs Noorlander 72f80d121c [Heatpump IR] Add minimal IR_ext build for 4M flash nodes
See discussion here: https://github.com/letscontrolit/ESPEasy/pull/2543#issuecomment-521676593
2019-08-16 11:10:30 +02:00