Commit Graph
40 Commits
Author SHA1 Message Date
Gijs Noorlander 234bf3a902 [Build] Do not generate .bin.gz for 1M builds as no support 2-step OTA 2020-07-30 16:18:13 +02:00
Gijs Noorlander a4b384fcae [Modbus RTU] Move Modbus code to .h/.cpp file to reduce size 2020-06-29 10:51:03 +02:00
Gijs Noorlander 1b55ddc84a [ESP32] Only define FEATURE_ARDUINO_OTA in build config, not in .h files 2020-06-22 12:02:37 +02:00
TD-er 997dfccd61 Merge branch 'mega' into feature/deprecate_SPIFFS 2020-06-08 08:51:51 +02:00
TD-er 193d4c9217 Merge branch 'mega' into feature/deprecate_SPIFFS 2020-06-06 16:57:23 +02:00
TD-er 158d7aa50a Merge branch 'mega' into issue/3100_extend_custombuild 2020-06-06 16:54:17 +02:00
Gijs Noorlander ac3c46c227 [Build] Add ina219 and mpu6050 to custom build (#3100)
Fixes: #3100
2020-06-06 16:53:46 +02:00
Gijs Noorlander 39a10b0741 [Build] Fix Python 3.8 build when no .git dir or pygit2 not installed 2020-06-06 15:37:06 +02:00
Gijs Noorlander 7cd26bdf90 [Vagrant] Fix vagrant build installing all required Python packages 2020-06-06 13:41:02 +02:00
Gijs Noorlander 2faf88fd23 [LittleFS] Make switching between SPIFFS and LittleFS easy to do
Just add "_LittleFS" to the PIO env label and it will compile with LittleFS instead of SPIFFS.

First impression:
- Load speed of web page is just WOW! (average 170 msec)
- Saving settings is terribly slow (1...2 seconds)
2020-05-05 00:40:41 +02:00
Gijs Noorlander 932ffa9adb [Vagrant] Show Vagrant build as build origin on sysinfo page 2020-05-04 15:27:34 +02:00
Gijs Noorlander 8bf79a60f4 [Vagrant] Fix issue where update fails due to Grub interactive update 2020-05-04 15:18:28 +02:00
Gijs Noorlander c6a3da1785 [PIO] Adopt deploy scripts to new situation where Python scripts do all 2020-05-04 00:32:53 +02:00
Gijs Noorlander 568cf00f93 [PIO] Compare build sizes when copying the build files. 2020-05-04 00:31:55 +02:00
Gijs Noorlander ea77edd48d [PIO] Include PlatformIO env dump in build output for diagnostics 2020-05-03 20:17:08 +02:00
Gijs Noorlander 0c7d0969ac [PIO] GZip and copy files to build_output directory 2020-05-03 18:34:53 +02:00
Gijs Noorlander ad0d775f65 [PIO] Use Python 3.8 on Vagrant/Ubuntu builds 2020-05-03 14:11:14 +02:00
Gijs Noorlander 54a4e29016 [PIO] Move build environment to Python 3.8 as 2.7 is no longer supported 2020-05-03 12:53:08 +02:00
Gijs Noorlander 3be16b2186 [PIO] Add Git branch description to build info 2020-05-03 12:22:47 +02:00
Gijs Noorlander da27bfd13c [PIO] Final fix for proper quote level per OS + store build platform 2020-05-03 11:50:14 +02:00
Gijs Noorlander f05be9569f [PIO] Fix Windows/Linux detection in number of quote levels 2020-05-03 11:07:10 +02:00
Gijs Noorlander 3a62514576 [PIO] Attempt to fix missing quote level in Linux 2020-05-03 02:00:05 +02:00
Gijs Noorlander 2afbd0f3ee [PIO] Fix showing binary file name in sysinfo page 2020-05-03 01:45:15 +02:00
Gijs Noorlander 784404792c [PIO] Generate filename at build, not in post processing
Generate filename, included in the build
Use post Python scripts to move files to the right directory
Use post Python scripts to generate .bin.gz files.
2020-05-03 01:05:20 +02:00
Gijs Noorlander 833c13c99a [Vagrant] Sample pio_envlist.txt file 2019-11-21 16:06:53 +01:00
Gijs Noorlander a8776b6fc5 [PIO] Add core 2.6.1 SDK3 builds and PIO env list for Vagrant
Create a file named "pio_envlist.txt" next to the Custom.h for Vagrant with the selected env names in it, one per line.
Vagrant will then build all named PIO environments.
2019-11-21 10:23:30 +01:00
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 6cc5434fb7 [Vagrant] Allow Custom.h file to be used 2019-09-09 19:04:02 +02:00
Gijs Noorlander 04eacb57c4 [Vagrant] Fix changed PIO env name in bootstrap.sh 2019-09-02 13:15:38 +02:00
Gijs Noorlander 8b9f66e465 [Vagrant] Check if file exists before adding CRC info and quiet ZIP 2019-09-02 12:59:45 +02:00
Gijs Noorlander 98a17a39aa [Build] Start making Vagrant provisioning for quick self builds
Installing Vagrant:

Vagrantup.com site: https://www.vagrantup.com/docs/installation/
VirtualBox: https://www.virtualbox.org/

Great tutorial: https://www.sitepoint.com/getting-started-vagrant-windows/



After installing Vagrant and VirtualBox, open a shell in the tools/vagrant folder.
Run:
  vagrant up

To halt the VM, type:
  vagrant halt
2019-09-02 11:07:25 +02:00
Gijs Noorlander 2a5eb1a5ab [Uncrustify] Move uncrustify.cfg to project dir
The Uncrustify package in VS code does look in the project dir for a config file.
When it is present, there is hardly any configuration needed. Therefore I moved it and updated it a bit to behave more uniform than the cfg file we already had.
2019-07-14 01:25:41 +02:00
TD-er 7baa1ea2b4 [Build] Add build stats to track
See also [PlatformIO docs](http://docs.platformio.org/en/latest/faq.html#program-memory-usage) and https://github.com/esp8266/Arduino/issues/3740#issuecomment-338416331
2019-03-08 13:18:21 +01:00
Gijs Noorlander 3b49dca5f5 [core 2.5.0-beta1] Add core number and disable some 1MB builds
Disabling dev/test builds for 1 MB chips, since the bin files will be too big to fit on 1 MB modules.
We have to decide later how to make the plugins in dev/test state available for 1 MB modules.
2018-12-12 16:08:03 +01:00
Gijs Noorlander 3c1c84b288 [build] Add option to give a PR number at command line. 2018-12-12 15:17:15 +01:00
Gijs Noorlander 1d005250c5 [Tools] Set executable bits to scripts 2018-12-12 13:47:01 +01:00
Gijs Noorlander 6ae627b32a [Uncrustify] Make rules source code files better readable
Since the `ESPEasyRules.ino` file is newly introduced in this branch, now is the best moment to tidy up the source code.
Also included the used Uncrustify.cfg file.
2018-12-02 00:35:00 +01:00
Gijs Noorlander a8e8c39fa3 Update build_ESPeasy.sh 2018-11-20 01:23:19 +01:00
Unknown a5f50fda5a [Build scripts] Add build script for Linux and include docs 2018-11-20 01:12:42 +01:00