Commit Graph

201 Commits

Author SHA1 Message Date
Me No Dev
9e32cec9a2
Update IDF to a8916daeb (#2992) 2019-07-17 10:09:43 +03:00
lbernstone
b0d8d4dd44 Change some WiFi buffer settings to match esp-idf. See #2899 (#2912) 2019-07-09 19:36:45 +03:00
Peter
2e32022611 ESP8266 => ESP32 tidyup, set correct default port (#2948)
Tidied up references to the ESP8266, and set the correct default port for the ESP32.
2019-07-09 19:24:10 +03:00
Me No Dev
0acf19af8f
Update IDF to v3.2 977854975 (#2771)
* Update IDF to v3.2 977854975

* Update app_httpd.cpp
2019-05-12 18:52:23 +03:00
me-no-dev
7dd537f8d3 Fix libgcc not being in rom
fixes: https://github.com/espressif/arduino-esp32/issues/2758
2019-05-09 13:07:49 +03:00
Nick Hynes
271e5cd206 Fix Werror=reorder for idf.py build (#2707) 2019-04-25 12:02:21 +03:00
lbernstone
619568db5b Converted EEPROM library to use nvs instead of partition. (#2678)
* Converted EEPROM library to use nvs instead of partition.  Removed eeprom partition from all partition table CSV files.
* Changed variable names, added some comments, formatting as per me-no-dev's requests
* Checks for memory on malloc
* Moved include nvs.h from header to code
* Reworked the extra example to make it more clear how to actually use the library and persist data
2019-04-23 23:55:12 +03:00
Ivan Kravets
f8eebb5c39
Fix indentation 2019-04-17 23:27:32 +03:00
me-no-dev
ef07a84ade Update esp32-camera driver 2019-04-13 22:52:21 +02:00
me-no-dev
c60092951f Add missing definitions 2019-04-13 17:18:25 +02:00
Me No Dev
7b5cd47d07
Set ESP-IDF to 3.2 (#2662)
* Set IDF to v3.2

* Remove BLE submodule

* Add BLE lib source

* Update Camera example to support OV3660
2019-04-12 15:43:53 +02:00
Marc MERLIN
53a4bf33b6 Added 2 ffat partition schemes for 4MB modules + improved descriptions. (#2623)
* Added 2 ffat partition schemes for 4MB modules + improved descriptions.

Existing format options were unclear on how much spiffs you were
getting. Also add missing 1MB App/3MB Spiffs split.
This addresses https://github.com/espressif/arduino-esp32/issues/1799

This makes it very clear what each option gives you, and also adds 2 options
to get ffat on 4MB chips..

* Added link to ffat howto.
2019-04-10 02:34:31 +02:00
Cellie
4930853edb Add support for ffat on 4MB ESP32 Dev Module and mhetesp32minikit board. (#2588)
* Update boards.txt

Add menu items for ffat on mhetesp32minikit board.

* Add partition table.

* Added ffat partition for 4MB ESP32 Dev Module.

* Added comment about partitioning schemes.
2019-04-09 21:11:17 +02:00
Me No Dev
7df50a97d1
Update IDF to ebdcbe8c6 (#2539)
- ESP-Face to 2937054
- ESP32-Camera to 113629b
2019-03-03 17:19:11 +01:00
Mike Dunston
cb0a939a6f Adding debug flag to PIO build script (#2510)
Adding the -g3 flag that was omitted in the PIO build script but is present in Arduino IDE build scripts. This flag restores the ability to get line numbers from stack traces for elf files generated in PlatformIO IDE.
2019-03-03 15:51:59 +01:00
Aaron.Lee
84e458a9e1 Add Heltec boards defintion and update board menu chooices (#2475) 2019-03-03 15:47:47 +01:00
Me No Dev
010a7c60f7
Update IDF to abea9e4c0 (#2458)
* Update IDF to abea9e4c0

* Update esptool

* Enable PSRAM for PICO D4

* Enable APP_ROLLBACK_ENABLE
2019-02-14 16:49:30 +01:00
Ivan Kravets
566b69eda3 Test @PlatformIO with CameraWebServer example (#2300) 2019-01-10 15:54:12 +01:00
Ivan Kravets
e544e67838 PlatformIO: Revert back default partition table to "default.csv" (#2299) 2019-01-10 15:53:51 +01:00
me-no-dev
b0582e1ec8 Fix compilation failing on Windows because of liblib.a 2019-01-10 09:23:25 +01:00
Me No Dev
fa61b3bffe
Update IDF to e931fe9 and add esp-face (#2291)
* Update IDF to e931fe9 and add esp-face

* Fix PIO builds fail because of sketch size

* Fix example build failing for Arduino
2019-01-09 19:31:46 +01:00
Me No Dev
f49c854ff3
Update IDF to 97eecfa, enable reboot on WDT and add WDT API (#2248)
* Update IDF to 97eecfa and enable reboot on WDT

* Add API to enable/disable WDT for Core 1 and Arduino Loop
2018-12-28 20:37:33 +02:00
Me No Dev
2db811f7f3
Update build tools (#2200) 2018-12-16 17:09:44 +01:00
petefats
25fd2d0f3b OTA success reporting fix (#2202) 2018-12-16 13:00:15 +01:00
Me No Dev
6f6ee98188
Update ESP-IDF da2116f + esp32-camera f8f26ab + BLE b232e7f (#2194)
* ESP-IDF da2116f + esp32-camera f8f26ab +BLE b232e7f

* Fix fail compilation due to missing cpp guard
2018-12-15 17:38:34 +01:00
Me No Dev
a15b7e9088
Update IDF to afe4c76 and BLE lib (#2130)
* Update BLE

* Update IDF to afe4c76

* Update CMakeLists.txt

* Update BLE to fix compilation issues

* Update BLE
2018-11-30 17:21:06 +01:00
Me No Dev
b69b04cb2b
Update build-release.sh
Reenable git log in release builds
2018-11-28 13:18:54 +01:00
Me No Dev
aa030e044c
Temporary stop git log to build prerelease 2018-11-28 00:05:36 +01:00
Me No Dev
95d417cd93
Update build-release.sh
force correct dir
2018-11-27 23:59:12 +01:00
Me No Dev
df4eeb3005
Update build-release.sh
fix debug
2018-11-27 23:53:29 +01:00
Me No Dev
a360064768
Update build-release.sh
Add more debug
2018-11-27 23:50:30 +01:00
Me No Dev
bfde8daf75
Update build-release.sh
print out the command
2018-11-27 23:43:34 +01:00
Me No Dev
e583a0e879
Travis: Set proper dir before checking git 2018-11-27 23:35:23 +01:00
me-no-dev
dcb007a485 do not skip main.cpp when checking CMakeLists 2018-11-27 18:50:09 +01:00
Me No Dev
04963009ee
Update IDF to a0468b2 (#2108)
* Update IDF to a0468b2

* add missing ld file

* Fix PIO builds and change coex policy
2018-11-26 23:22:11 +01:00
Luc
acefd4bf2e Fix Partition Calculation for min SPIFFS (#2072)
I have kept the original APPS size on purpose as 40KB SPIFFS is useless IMHO
2018-11-19 17:10:10 +01:00
lbernstone
c700e5694f Some fixes to nghttp2 to provide basic functionality. Added the missing main header. Removed the asio headers which require Boost libraries. Moved http_parser into the expected location. (#2068) 2018-11-19 17:09:38 +01:00
Rop Gonggrijp
b70737d276 Fix partition tables to reflect that M5Stack Fire has 16MB flash and 4MB PSRAM (#1969) 2018-11-19 16:53:13 +01:00
Me No Dev
96822d783f
Update IDF to 3.2-3276a13 and esptool.py to 2.5.0 (#1878)
* TX Flow Control and Code cleanup

* Use semaphore instead of delay

TX functionality is done.

* Use single buffer and empty queue on exit

* Fix compile issues because of LwIP code relocation

* Add temporary header to fix Azure not compiling

* Fix AsyncUDP early init

* AsyncUDP Multicast fixes

* Add source mac address and rework multicast

* Allow redefinition of default pins for Serials 1 and 2

* Update IDF to 3276a13

* Update esptool.py to 2.5.0

* Fix sketches

* Fix log level in BluetoothSetial
2018-09-21 08:39:36 +02:00
lbernstone
7206b2f397 FAT on SPI Flash Library (#1809)
* First commit of FFat library

* Fixed reboot loops if no fat present. Added CMakeLists

* Functionalize the partition checks

* Cleanup, especially in format

* Dont format if mounted.  More wording cleanup

* 16M ffat should only be on 16M board

* Fix some casting issues that trip up the compiler when building as ESP-IDF component
2018-09-17 23:06:04 +02:00
Ivan Kravets
fff1783046 Switch to isolated build flags per framework (#1748) 2018-08-14 12:01:07 +02:00
Gei0r
bdc45e39ef [OTA] Fix "Error response from device" if OK response comes to early (#1695)
Because TCP is stream-based, an earlier read can 'take away' the "OK" response
from the device, so that a later read doesn't get the message.
2018-07-30 10:22:01 +03:00
pacucha42
30b3eebabc * merge only annotated tag messages into release notes (#1683) 2018-07-28 10:28:04 +03:00
pacucha42
b14f82b65f Release notes formatting update (#1634) 2018-07-16 20:47:30 +02:00
pacucha42
9925772db0 * update 'version' in platform.txt (#1619) 2018-07-10 11:26:19 +02:00
pacucha42
9f8f05735b * relnotes handling update (#1592)
* script exec fails on curl error
2018-07-04 15:46:46 +02:00
Me No Dev
184bb069f2
Fix io16 io17 and PSRAM support (#1564)
* Add PSRAM init and malloc funtions

* Rebuild IDF libs
2018-06-30 23:06:50 +02:00
pacucha42
b855eb23a7 * arduino-esp32 release mgmt. update (#1557) 2018-06-29 00:54:26 +02:00
Me No Dev
eb4e891344
Update build.sh 2018-06-28 23:45:52 +02:00
pacucha42
58bdebc565 * release deployment comprehensive update (#1548) 2018-06-28 13:58:01 +02:00
me-no-dev
93566a4fad fix PR tests 2018-06-27 22:21:13 +02:00
Me No Dev
a59eafbc9d
Update IDF to aaf1239 (#1539)
* fix sdmmc config

* Fix warnings in EEPROM

from @Curclamas

* remove leftover TAG in EEPROM

* Initial add of @stickbreaker i2c

* Add log_n

* fix warnings when log is off

* i2c code clean up and reorganization

* add flags to interrupt allocator

* fix sdmmc config

* Fix warnings in EEPROM

from @Curclamas

* remove leftover TAG in EEPROM

* fix errors with latest IDF

* fix debug optimization (#1365)

incorrect optimization for debugging tick markers.

* Fix some missing BT header

* Change BTSerial log calls

* Update BLE lib

* Arduino-ESP32 release management scripted (#1515)

* Calculate an absolute path for a custom partitions table (#1452)

* * Arduino-ESP32 release management scripted
(ready-to-merge)

* * secure env for espressif/arduino-esp32

* * build tests enabled
* gitter webhook enabled

* * gitter room link fixed
* better comment

* * filepaths fixed

* BT Serial adjustments

* * don't run sketch builds & tests for tagged builds

* Return false from WiFi.hostByName() if hostname is not resolved

* Free BT Memory when BT is not used

* WIFI_MODE_NULL is not supported anymore

* Select some key examples to build with PlatformIO to save some time

* Update BLE lib

* Fixed BLE lib

* Major WiFi overhaul

- auto reconnect on connection loss now works
- moved to event groups
- some code clean up and procedure optimizations
- new methods to get a more elaborate system ststus

* Add cmake tests to travis

* Add initial AsyncUDP

* Add NetBIOS lib and fix CMake includes

* Add Initial WebServer

* Fix WebServer and examples

* travis not quiting on build fail

* Try different travis build

* Update IDF to aaf1239

* Fix WPS Example

* fix script permission and add some fail tests to sketch builder

* Add missing space in WiFiClient::write(Stream &stream)
2018-06-27 09:01:06 +02:00
Angus Gratton
7abd5862ed Add component CMakeLists.txt file for use with CMake-based build system (#1508)
Includes verification script (for Travis) that CMakeLists.txt contents match
repo & submodule source files
2018-06-24 14:59:16 +02:00
Ivan Kravets
89859f7f4c Calculate an absolute path for a custom partitions table (#1452) 2018-05-31 19:19:10 +02:00
me-no-dev
a7b627cd78 Update espota.exe 2018-05-31 15:36:09 +02:00
Sathishkumar T
7b243adcfd [OTA] Add UserSelectable timeout for invitation to device + check for OK result in the last few messages (#1445) 2018-05-31 15:29:53 +02:00
me-no-dev
03808e3b8b Remove xtensa headers and adjust includes 2018-05-31 15:13:16 +02:00
Ivan Kravets
9570b77abd Custom Partition Tables for @PlatformIO (#1440) 2018-05-26 07:49:22 +02:00
Ivan Kravets
cef5433c8b
Make extra images independent from a prog tool 2018-05-11 02:30:00 +03:00
Ivan Kravets
b9ca922379
Initial support for external JTAG programmers 2018-05-11 01:51:36 +03:00
Ivan Kravets
bfed6eb072
Allow to pass a custom partition table 2018-05-07 23:47:22 +03:00
Craig Leres
c92b617397 Convert the few remaining cr/lf files to use lf for eol. (#1316)
If you develop on windows and need cr/lf files, see this:

    https://git-scm.com/book/en/v2/Customizing-Git-Git-Configuration#_formatting_and_whitespace

    Git can handle this by auto-converting CRLF line endings into LF
    when you add a file to the index, and vice versa when it checks out
    code onto your filesystem. You can turn on this functionality with
    the core.autocrlf setting. If you're on a Windows machine, set it
    to true - this converts LF endings into CRLF when you check out code:

    $ git config --global core.autocrlf true
2018-04-16 16:34:39 +02:00
reaper7
4da5d46ecd Additional partition scheme min_spiffs (#1302)
with minimal SPIFFS partition size and OTA support for bigger apps
2018-04-14 09:45:08 +02:00
Me No Dev
69f72eca84
Update IDF to f586f5e (#1296)
* Update BLE lib

* Update IDF to f586f5e

* Restructure Bluetooth Serial includes

* Update esptool and gen_esp32part

* Add partition scheme selection for menuconfig

* Add partition scheme selection for Arduino IDE

* Fix BLE example

* Second attempt BLE fix

* Add exceptions to PIO
2018-04-07 09:45:18 +03:00
copercini
b4b9a79eea Add BluetoothSerial library (#1144)
* Add BluetoothSerial library

A simple UART to Classical Bluetooth bridge for ESP32

* Create README.md

* Fix typos

* Replace deprecated header and small fixes

* Add coexistence with BLE

* Add missing semicolon
2018-03-05 07:34:10 +01:00
Marcel Hecko
e2f7736cf0 Fix coding stype as per PEP8 (#1105) 2018-03-04 21:01:17 +01:00
Alec Clews
2718d69c19 Python 3 fails, unicode is not needed or supplied (#1082)
See  https://stackoverflow.com/questions/6812031/how-to-make-unicode-string-with-python3

May unicode an alias for str()
2018-03-04 20:49:09 +01:00
Ifediora Elochukwu C
3310e2e31d Add EEPROMClass and examples (#1034)
* enchanced EEPROMClass

* Added eeprom examles and modified partition

* added eeprom class and extra examples

* No changes

* No changes

* added eeprom class and examples

* fixed typo

* length() returns user-defined sector size

* updated and annotated example
2018-03-04 20:22:48 +01:00
Ivan Kravets
a153f6ad28
Sync with the latest changes to Arduino platform.txt 2018-02-08 15:56:13 +02:00
Ivan Kravets
7fa8cafb27
Fix issue when user name contains a space 2018-01-23 13:08:17 +02:00
Me No Dev
600f4c4130
Update IDF to 1c3dd23
* Update mDNS and LEDC

* update toolchain

* Update IDF to 1c3dd23

* Advertise the board variant for Arduino OTA

* Add generic variant definition for mDNS
2018-01-18 00:56:58 +02:00
Ivan Kravets
7d2bffb0e8
Sync "-u __cxx_fatal_exception" LD flag 2017-11-30 18:44:19 +02:00
Ivan Kravets
d1d56b597a
Append Core (IDF) after the user libraries when linking a firmware 2017-11-30 18:37:51 +02:00
Ivan Kravets
b2d01e0ad2 Rollback to previous toolchain (#894) 2017-11-30 17:03:28 +01:00
me-no-dev
62fa954f14 Import SSL in Windows (get.exe)
Closes: https://github.com/espressif/arduino-esp32/pull/820
2017-11-28 11:20:50 +01:00
Me No Dev
6fe9202c6c
Update platformio-build.py 2017-11-26 19:35:01 +01:00
Ivan Kravets
8eecfd21b4 Sync flags with platform.txt; Custom partitions per board (#875)
* Sync flags with platform.txt

* Add support for custom partitions per board

* Add "-fstack-protector" to CCFLAGS
2017-11-26 01:22:42 +01:00
Ivan Kravets
a907113ba2 Use real flash mode and frequency for bootloader (#873)
* Use real flash mode and frequency for bootloader

* Use real flash mode and frequency for bootloader
2017-11-25 01:49:24 +01:00
me-no-dev
62c5f3337d fix bootloader for PIO 2017-11-24 19:55:08 +01:00
me-no-dev
a53d41f1c1 Fix bootloaders for different flash configs
fixes: https://github.com/espressif/arduino-esp32/issues/867
2017-11-24 19:51:48 +01:00
me-no-dev
23cf233eca Remove unnecessary library from linking
Fixes: https://github.com/espressif/arduino-esp32/issues/866
2017-11-24 10:37:35 +01:00
Me No Dev
81a9c45a1e
Update IDF to e5b2c1c (#865)
* Update BLE Library

* Fix SD driver

* Update toolchain

* Update IDF to e5b2c1c
2017-11-23 23:26:53 +01:00
me-no-dev
b788da30a8 Update get.exe
Fixes: https://github.com/espressif/arduino-esp32/issues/860
2017-11-23 13:57:11 +01:00
Patas007
b7db2da17c Unicode support in get.py (#781)
Localized versions of Linux systems use Unicode characters in the names of standard directories like "Downloads".
2017-10-30 10:43:08 +01:00
Me No Dev
55289a45af Update IDF to 9274814 (#767)
* Update IDF to 9274814

* Fix error in i2c and Arduino
2017-10-24 00:21:00 +02:00
Me No Dev
7216977234 Update IDF to 3a271a4 (#735) 2017-10-16 21:25:41 +03:00
me-no-dev
409c75da04 Implement ESP_LOGx override option
Usable for library developers who write code not dependent on Arduino.
Adding 3 lines to the includes will permit their debug messages to be
visible in Arduino IDE or when enabled under IDF
2017-10-14 00:06:55 +03:00
Me No Dev
60b8b47455 Update IDF to de750e9 and add BLE (#723)
* Update IDF to de750e9

* Add BLE Library submodule
2017-10-13 22:07:41 +03:00
me-no-dev
d27d297195 Update IDF to c4e65d6 2017-09-22 17:28:54 +08:00
me-no-dev
4cf0e98f32 Fix desync with IDF in dhcpserver 2017-09-20 15:36:39 +08:00
Me No Dev
79ee46ead2 beautify partition 2017-09-14 10:42:29 +03:00
me-no-dev
658acfef2a Add missing headers 2017-09-14 08:54:34 +03:00
me-no-dev
ba929be27a Update IDF to 9a26296 2017-09-12 09:40:52 +03:00
Me No Dev
0f83dbcfd6 Fix PlatformIO build
Ref: https://github.com/platformio/platform-espressif32/issues/33
2017-09-04 22:21:25 +03:00
me-no-dev
8bca8d5466 Update IDF libs to 969f1bb (skip BT commits)
This update also increases BT stack size and enables reboot on exception
2017-08-18 11:12:58 +03:00
me-no-dev
856823ef19 Add support for 2MB flash and future option for different partition schemes 2017-08-17 20:00:22 +03:00
me-no-dev
7d643df1ed Update espota for Windows 2017-08-17 17:00:49 +03:00
me-no-dev
20d40f0868 fix OTA
Fixes: https://github.com/espressif/arduino-esp32/issues/556
2017-08-17 16:50:44 +03:00
pbecchi
706bf48708 EEPROM_library_ported_Partition_table_updated (#535)
* EEPROM_library_ported_Partition_table_updated

* Cleanup & formal corrections

* Make formatting of file consistent.

Readability change, Concern about the SubType being 0x99.

* Code formatting cleanup

* Code formatting cleanup

* Code formatting cleanup

* Remove commented out code

* Restore dropped bracket

* Update EEPROM.cpp

* Format Corrections

* deletedExample

* Corrected example

* Deleted interrupts/nointerrupts

* Update EEPROM.cpp
2017-08-01 12:51:38 +03:00
me-no-dev
0accabcee0 Fix some compilation errors 2017-08-01 12:08:38 +03:00