david gauchard
732e22ec37
OOM debug option: simplify its management and make it compatible with arduino-1.9beta ( #4357 )
2018-03-16 19:56:32 +01:00
Shawn A
836c7da8cc
adds getautoreconnect() ( #4359 )
2018-03-16 01:15:30 -03:00
fabianoms
3ce888e87b
macro attributes should be used with brackets
...
related to the issue #2617 .
2018-03-13 12:39:08 +08:00
david gauchard
c51c7b47ee
4m2m support in ldscripts ( #4454 )
...
* 4m2m support in ldscripts (fix boards generator for new ldscripts generation)
2018-03-13 00:35:16 +01:00
David Gauchard
e47a92a836
lwip2: improve netif flags management on git side
2018-03-07 22:47:04 +08:00
david gauchard
3df3246514
lwip2: bump tag before 2.4.1
2018-03-07 22:47:04 +08:00
David Gauchard
2335f18f5a
lwip2: fix disconnection/reconnection issue
...
also:
improve version string
remove useless message
2018-03-07 22:47:04 +08:00
fabianoms
19eb6ea548
Fix small typo in documentation. ( #4440 )
2018-02-28 15:41:15 -03:00
Ivan Grokhotkov
cd6cd85fca
sdk: add a script for library update
...
Moves instructions from Readme file into a script
2018-02-22 14:11:43 +03:00
Ivan Grokhotkov
c885542f05
sdk: update to v2.2.0-3-gf8f27ce
...
- Fixes WiFi not being able to reconnect after SDK update (#4398 )
- Fixes increased current in light sleep mode
- Fixes return value documentation for wifi_{get,set}_country
2018-02-22 14:11:43 +03:00
Ivan Grokhotkov
00c8b633df
platform, boards: add menu to control what gets erased during upload
2018-02-20 21:51:53 +03:00
Ivan Kravets
f2fc590d51
Drop PlatformIO lines from LD script; append object suffix to the end of target name // Resolve #4355
2018-02-20 13:40:54 +02:00
Ivan Grokhotkov
73ae0bb824
sdk: add missing version.h file
2018-02-19 16:34:01 +03:00
Ivan Grokhotkov
a020e8941a
boards.txt.py: normalize script name in generated output
2018-02-19 12:43:30 +03:00
Ivan Grokhotkov
a358bce0d9
boards.txt.py: fix extra newline at the end of JSON output
2018-02-19 12:43:30 +03:00
Ivan Grokhotkov
f0787e7106
boards.txt.py: fix trailing comma in generated JSON
2018-02-19 12:43:30 +03:00
Ivan Grokhotkov
ce90037fca
tools/boards.txt.py: make ldscript output same as the existing files
2018-02-19 12:43:30 +03:00
Ivan Grokhotkov
bc46db79c6
tools/boards.txt.py: remove tabs
2018-02-19 12:43:30 +03:00
Ivan Grokhotkov
429f40d321
sdk: update to 2.2.0
...
- update libraries and header files
- remove libmesh
- update PHY init data
2018-02-19 12:43:01 +03:00
Ivan Kravets
eb58a31b89
Remove @PlatformIO library.json from GDBStub; fix pattern in LD // Resolve #4355
2018-02-14 00:23:12 +02:00
david gauchard
85fb3d9b44
boards: Wemos D1 R1 needs a separate defined identifier ( #4304 )
2018-02-07 15:36:26 +01:00
david gauchard
4caf4878c7
LED_BUILTIN should be a #define ( #4276 )
...
* LED_BUILTIN should be a #define
deduplicate and hide BUILTIN_LED as a deprecated constant
* test for LED_BUILTIN existence
* board:espino:variant: rename button macro (naming coherence)
2018-02-07 10:42:57 -03:00
david gauchard
0339bbb11c
lwip2: use only wifi_station_get_hostname() to set netif hostname ( #4299 )
...
* lwip2: use only wifi_station_get_hostname() to set netif hostname
fix #3970
* lwip2 comments on hostname
2018-02-06 23:23:27 -03:00
david gauchard
29c9ebea32
update lwip menu ( #4286 )
2018-02-03 22:02:29 +01:00
david gauchard
8b87491700
new board generator option: --nofloat ( #4232 )
2018-01-27 11:10:59 +01:00
Maurice Ribble
4e539b2618
Add a new resetmethod_menu_all macro ( #4241 )
...
* Add a new resetmethod_menu_extra macro to give the choice of all the reset options. Then only offer all these options for the generic modules.
2018-01-27 02:04:22 +01:00
Maurice Ribble
8a24598d5d
Add missing esptool upload modes for none and dtrset ( #4228 )
...
* Add missing esptool upload modes for none and dtrset
2018-01-24 15:20:04 +01:00
Earle F. Philhower, III
bb794f9e02
Move C++ vtables into IRAM, out of HEAP ( #4179 )
...
GCC places vtables in .rodata, with a mangled name of "_ZTV*." Because
these are simply address jump tables, there is no need to place them in
RAM. Instead, have the linker place them in the .text (aka IRAM) section.
This will free up a variable amount of heap space, depending on the number
of classes with virtual functions used in any particular project.
2018-01-17 14:10:40 -03:00
David Gauchard
de2a3821f6
lower lwip2 ram and flash footprint (by disabling old asserts)
2018-01-15 09:51:33 +01:00
David Gauchard
23a7bc2939
restore zalloc() (lost with OOM debug commit, used by lwip/lwip2)
2018-01-15 09:51:33 +01:00
Peter
12f336fa5f
Case change and and 'none' reset option for Digistump Oak ( #4143 )
...
* Case change and and 'none' reset option for Digistump Oak
The logo is 'digiStump', but is always written in text form as 'Digistump'.
The generator fixed an issue with the release version of 2.4.0 not having a resetMethod for the Digistump Oak, and hence not being able to be uploaded to without modifying the boards.txt file. However, the Oak doesn't support auto-reset via serial - it was primarily designed to be a cloud-programmed board.
* Regenerated boards.txt
* Regeneration of doc/boards.rst
2018-01-15 04:19:52 +01:00
david gauchard
28253c5bd3
boards.txt generator ( #3722 )
...
+ generates boards.rst
+ generate and replace boards section in package.json
+ generate ldscripts
+ new debug option: OOM
+ new led menu for generic board
2018-01-08 11:06:01 -03:00
david gauchard
f28d2eb7d7
lwip2: fix wdt, fix wifi reconnection ( #4105 )
...
related to #4101 #4078 #4060 #4028 and maybe others
2018-01-06 19:34:11 -03:00
Ivan Kravets
411f8d878f
Add support for @PlatformIO Core 3.5.0
2018-01-03 15:33:55 +02:00
Lazar Obradovic
8941404e63
get.py: identify aarch64 properly ( #4050 )
2018-01-02 02:17:21 +03:00
Ivan Grokhotkov
8edeac0cf4
sdk: rename hostname
and default_hostname
symbols ( #1281 )
...
hostname -> wifi_station_hostname
default_hostname -> wifi_station_default_hostname
2017-12-31 22:52:00 +08:00
david gauchard
9183366734
fix IDE's OTA when using MSS != 1460
2017-12-31 12:15:16 +03:00
david gauchard
b2e2d2272f
lwip2: fix minor "C" conflict ( #4052 )
2017-12-30 23:46:42 -03:00
Develo
a2d16f38d4
Extern C blocks ( #1352 ) ( #4044 )
...
* Add extern C guard blocks to SDK header files #1352
* fixed some extern C blocks in core and libraries
2017-12-30 02:03:26 -03:00
david gauchard
370e75cb47
multi-mss menus for lwip2, remove lwip xcc variant, lwip2 readme, updates and fixes ( #4039 )
...
lwip2 updates:
> multi-mss makefile
> forwardported espconn (no multicast yet)
> restore max 3 ntp servers for configTime() coherency
> unchain seldom chained pbufs
> dns cache name length back to (256->48->) 128
> use sntp_stop/start() when dhcp address got
> fix netif's hostname glue-handling
> forwardported ping from lwip1.4
fix #3970
fix maybe #3963
2017-12-29 00:48:31 -03:00
david gauchard
cbfbc1ad63
lwip2 fixes and time/ntp management
...
core: +settimeofday()
core: +coredecls.h +sntp-lwip2.c
core: fix clock_gettime() with micros64()
core: honor DST in configTime()
core: internal clock is automatically started
examples: +esp8266/NTP-TZ-DST.ino
lwip2: sntp client removed
lwip2: fix crashing with WiFi.softAPConfig(ip,ip,ip)
fix #3852
2017-11-21 10:50:48 +08:00
david gauchard
7315095e46
lwip2: build: include and lib
2017-11-03 10:09:53 +08:00
david gauchard
84cf2f4b5e
lwip2: automatically clone lwip's git
2017-11-03 10:09:53 +08:00
david gauchard
32f6826dcf
lwip2 integration
2017-11-03 10:09:53 +08:00
Ivan Grokhotkov
5c01841430
sdk: update to v2.1.0-14-g33f234f
...
33f234f4a6
2017-10-31 02:05:40 +08:00
Ivan Grokhotkov
84512ec811
fixes for SDK update
...
- recompile liblwip_gcc.a with new err_t definitions
- update espconn.h (function signature change, new function)
- add option to build lwip with debug-prefix-map
2017-10-15 14:59:37 +08:00
Ivan Grokhotkov
e04903225e
sdk: update to v2.1.0-10-g509eae8
2017-10-15 01:40:10 -05:00
Ivan Grokhotkov
f85f8269b7
axtls: update to 24af415
...
Clear bigint cache once certificates and keys are loaded, and also
during verification. Can save up to 3kB of heap in a typical use case.
2017-10-08 05:00:08 +08:00
Ivan Grokhotkov
80e9a841d6
axTLS: update to 49b9deb
...
- Upstream fix: Fixed issue with pathlen=0 for root certs
Fixes #2711 , #3340
2017-10-02 00:26:43 +08:00
Ivan Grokhotkov
c8947953ac
axtls: update to 66d530a, fixes #3335
...
SHA512 module stored padding in PROGMEM, but would then pass the pointer
to padding into Update function which would do a memcpy. Use the same
approach as with SHA256, that is to copy padding to the stack first, and
then pass it to Update.
2017-09-20 11:37:26 +08:00