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 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
ce90037fca
tools/boards.txt.py: make ldscript output same as the existing files
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
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
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
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
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
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
Ivan Grokhotkov
3e9caf7a3d
tools/sdk: remove conflicting time.o from libmain.a
2017-09-15 05:55:00 -05:00
Ivan Kravets
ff4bb73084
Integration with @PlatformIO Build System
2017-08-07 15:41:35 +03:00
Shelby Merrick
d425438839
Replace r_rand with os_random for LWIP_RAND() ( #3499 )
2017-08-07 15:40:11 +03:00
Earle F. Philhower, III
a662e81146
Move ASSERT() macro file text to PMEM ( #3477 )
...
Every assert() includes a __FILE__ constant string to RODATA which
can be quite large as it includes the complete path as well as
the filename.
Move that string into PMEM, and update the postmortem to work with
either PMEM or RAM strings for dumping abort/assert/exception
information.
2017-08-01 18:37:26 +03:00
Ivan Grokhotkov
f05ed6e27d
Update axTLS to 5de79d71.
...
Includes two PRs:
- https://github.com/igrr/axtls-8266/pull/46 by @earlephilhower:
Move debug strings from RAM to Flash
- https://github.com/igrr/axtls-8266/pull/50 :
Fix memory leak in ssl_ext_host_name
2017-07-23 16:15:37 +08:00
Charles
0b47911b69
Added 1M (No SPIFFS) board option ( #3203 )
2017-05-12 02:51:20 -05:00
Ivan Grokhotkov
1d41859238
axTLS: update to 1b2c299
...
Includes memory optimizations (less .rodata, less heap)
2017-05-09 17:40:52 +08:00
Trygve Laugstøl
2d9e767630
Fixing a few compiler warnings to allow compilation with -Wall -Wextra and -Werror. ( #3153 )
2017-05-08 04:56:08 -05:00
Ivan Grokhotkov
c5c138ec5a
axtls: update to bddda2a0
...
- update ssl_client_new signature
- add max fragment length negotiation support (hardcoded to 4096 bytes)
- build axtls with -f{function,data}-sections, ~1k less DRAM usage,
~3k less flash
- strip prefix from build paths in debug symbols
2017-04-29 22:58:19 +08:00
Ivan Grokhotkov
93413efcf4
Remove queue.h contents originating from BSD ( #2982 )
...
fixes #2981
2017-02-19 05:36:30 +03:00
Matt
cc84a64793
Set DHCP subnet correctly for softAP ( #2648 )
...
Removes hard coded subnet of 255.255.255.0 and fetches the correct subnet from wifi_get_ip_info()
2017-02-03 10:27:06 +03:00
Ivan Grokhotkov
ae13809c81
Update SDK to 2.0.0
...
- Update SDK header files and libraries to SDK 2.0.0 plus 2.0.0_16_08_09
patch
- Remove mem_manager.o from libmain.a (replaced with umm_malloc)
- Disable switch from DIO to QIO mode for certain flash chips (saves
IRAM space)
- Add user_rf_cal_sector_set; it points to rf_init_data sector.
- Change the way rf_init_data is spoofed.
This is now done by wrapping spi_flash_read and returning the data we
need during startup sequence.
- Place lwip library into flash using linker script instead of section
attributes (saves IRAM space)
2017-02-03 04:21:20 +03:00
hreintke
f18b18d53d
move libstdc++ to flash ( #2804 )
...
* move stdc++ to flash
* Update : change tab to leading spaces, correct indentation
2017-01-17 10:08:11 +08:00
Ivan Grokhotkov
c2414a2252
Update axTLS to 144994c
...
https://github.com/igrr/axtls-8266/pull/23
2016-08-29 13:48:54 +08:00
Ivan Grokhotkov
35ee060c09
axTLS: update to d26f23a (2.0.0+)
2016-08-25 12:49:32 +08:00