Commit Graph

163 Commits

Author SHA1 Message Date
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
me-no-dev
ca7f6cc516 Update IDF libs to 9314bf0 2017-08-01 08:51:04 +03:00
me-no-dev
dcdf8132d6 Increase partition size to 1.25MB so BT and WiFi can fit
Fixes: https://github.com/espressif/arduino-esp32/issues/339
2017-05-29 13:13:44 +03:00
me-no-dev
4765554afd Update IDF to 1e0710f 2017-05-15 21:31:11 +03:00
Me No Dev
376961d168 Update IDF to 65acd99 (#358)
* Update IDF to 65acd99

* Update platformio and arduino build paths and libs

* Update esptool binaries
2017-05-06 20:29:12 +03:00
Me No Dev
a0c6ee021b Update default.csv (#326) 2017-04-22 16:40:35 +03:00
me-no-dev
aad4b336d6 Add default config for BT init and offsets for partition table 2017-04-22 16:33:07 +03:00
Me No Dev
57028ad65e Update default.csv
Remove missing column so github can beautify the contents
2017-04-22 16:17:45 +03:00
me-no-dev
7d0968c10d Update bootloader to better handle QIO 2017-04-13 09:20:03 +03:00
Me No Dev
56ef31f899 Update IDF to version 3cad00f (#310) 2017-04-12 21:49:58 +03:00
me-no-dev
80322311f1 Update IDF 2017-04-04 01:26:23 +03:00
me-no-dev
bc7aa60a30 Catch exception if host is not found 2017-03-11 09:07:25 +02:00
Me No Dev
fa1716e73e Add Ota and mdns (#257)
* Add Sketch Update Library

* Add MDNS Library

* Add Arduino OTA Library

* add missing library file

* Add library files for Update

* Add missing headers

* fix ota command

* Add espota binary

* remove bad example

* PlatformIO does not auto forward declare methods like Arduino Builder
2017-03-11 07:15:44 +01:00
me-no-dev
56ffec855d Update IDF libraries 2017-03-10 15:40:14 +02:00
me-no-dev
1d759380a6 Major IDF and Arduino Update
WiFi and BlueTooth can now be started and stopped at will.
basic functions added to esp32-hal to start and stop the BT radio
SimpleBLE class added to show the most basic functionality
Example to show how to switch between BT, WiFi or Both
2017-02-23 01:11:57 +02:00
me-no-dev
422d24b43f Update IDF libs 2017-02-20 00:00:12 +02:00
Ivan Kravets
5de2429bf8 Wrap "gen_esp32part" command with verbose action and own label (#198) 2017-02-11 00:14:09 +02:00
Ivan Kravets
d92c7686b0 Add support for custom partition table; use built-in esptool.py (#195) 2017-02-10 19:33:55 +02:00
Me No Dev
fb8fe671d6 New partitions (#192)
* Add new partition scheme

* Init NVS early, so it can be used without BT or WiFi
2017-02-10 14:11:24 +02:00
Me No Dev
d02c1c786e Update IDF, fix SS definition, add custom partitions and debug level selection (#174)
* Add build time partitions compilation

* Fix wrong definition of SS pin

* Add support for core debug level selection

* update idf libs
2017-02-06 15:17:11 +02:00
me-no-dev
f4ad2624c9 update travis and build script to not fail 2017-02-05 19:58:27 +02:00
Ivan Kravets
6bec26cfbf Add @PlatformIO to Travis.CI (#154)
* Initial version of build script for @PlatformIO; CI integration for Linux, macOS and Windows

* Remove CI badges

* Add @PlatformIO to Travis.CI
2017-01-28 18:15:46 +02:00
Ivan Kravets
e5f6c2effa Initial version of build script for @PlatformIO; CI integration for Linux, macOS and Windows (#153)
* Initial version of build script for @PlatformIO; CI integration for Linux, macOS and Windows

* Remove CI badges
2017-01-28 14:19:56 +02:00
me-no-dev
e8e8efdb66 finalize formatting of reported sketch size 2017-01-28 14:09:00 +02:00
me-no-dev
ca35560413 add proper size formatting to travis reports 2017-01-28 14:00:19 +02:00
me-no-dev
7a68cefaa0 lines forgotten to be commented 2017-01-28 13:47:12 +02:00
me-no-dev
fe12ebd3fd dump size and partitions to prep size format for travis 2017-01-28 13:44:31 +02:00
me-no-dev
25f7993f51 fix missing arguments for build.py 2017-01-28 13:33:41 +02:00
me-no-dev
19261c0aef fix build board for travis 2017-01-28 13:19:30 +02:00
me-no-dev
b0b21f7335 remove unnecessary build steps from travis 2017-01-28 13:14:59 +02:00
me-no-dev
77a04a01a3 Initial travis pull from esp8266 2017-01-28 13:09:20 +02:00
me-no-dev
78f2c6f31e update IDF libs 2017-01-19 16:25:27 +02:00
me-no-dev
93d2bc7f1e update get.py and add get.exe
- get.exe is clickable and will soon download binary form of esptool,
which will really simplify installation on Windows
- get.py does not require any extra modules on Linux and Mac
- ```pip install requests``` required only on Windows (if not using
get.exe)
- Paths are made relative to the file in order to make the windows
executable clickable.
2017-01-19 04:48:42 +02:00
me-no-dev
3b874d51e8 update IDF libs and includes 2017-01-16 16:03:13 +02:00
me-no-dev
49a476c5f0 add new toolchain and fix get.py bad chars 2017-01-16 14:34:28 +02:00
tobozo
cefbf25280 (Real) fix for cygwinless win10 TLS error (#126)
Added a new requirement ( pip install request ) and some logic to get it working, I won't blame you if you reject this PR but this is what made it work on my machine
2017-01-16 12:13:19 +02:00
Angus Gratton
ce5df79674 SDK headers: Use new esp-idf signal name VSPICLK_OUT_IDX (#130) 2017-01-16 12:12:13 +02:00
tobozo
b5858c1904 Error Handling for Window10 without CygWin (#117)
Added an Exception handling to the offending urlretrieve() call for the issue #108 https://github.com/espressif/arduino-esp32/issues/108

It's not really a fix but the failure message is much more elegant than the initial stack trace as it hints at the solution to the setup problem rather than confusing the user into Windows problems.
2017-01-05 15:02:56 +02:00
me-no-dev
8b96b1a5f4 update IDF libs and esptool.py
adds autoreset after firmware upload
2017-01-05 13:54:40 +02:00