Allman-astyler
eea9999dc5
Revert "Allman now ( #6080 )" ( #6090 )
...
This reverts commit 98125f88605cd7e46e9be4e1b3ad0600dd5d2b51.
2019-05-14 00:09:54 +02:00
Allman-astyler
98125f8860
Allman now ( #6080 )
...
* switch restyle script for CI
* remove confirmation
* restyle with allman
2019-05-13 16:41:34 +02:00
david gauchard
cdb549572d
restore proper arduino Client:: & Wire:: API ( #5969 )
2019-04-26 22:05:46 +02:00
david gauchard
773f306ef9
more compatibility fixes to IPAddress, restore INADDR_ANY, INADDR_NONE ( #5416 )
2018-12-02 22:43:19 -03:00
david gauchard
324b3f9678
IPAddress updates ( #5409 )
...
* restore definition of ip_addr (=ipv4_addr) when IPv6 is not enabled
* overload IPAddress:operator == and != to avoid ambiguousness
* brings lwIP's INADDR_NONE (which is IPv4 255.255.255.255, suposed to be invalid address but it is)
* inet_aton is a lwIP define, rename Ethernet DNS implementation of this to prevent name collision
that's because IPAddress now includes lwip/inet.h
2018-12-01 23:21:33 -03:00
david gauchard
92373a9837
Deprecate axTLS, update examples ( #5366 )
...
* update examples
* fix serial<->tcp example, use STASSID instead of SSID (name collision)
* fix HTTPSRequest.ino
* update AxTLS HTTPS examples, update AxTLS API to deprecated
* fixes
* fixes + fix astyle (no preproc directives) + restyling script
* fix HTTPClient library
* fixes
* common.sh: do not reload arduino when already present (for locally CI testing)
* common.sh: do not reload ArduinoJson when already present (for locally CI testing)
* fix
* fix
* fix deprecated example
* fix WiFiHTTPSServer.ino
* reduce footprint
* wipfix
* fix led builtin
* fix example
* finished updating APSSID on all examples
* style
* restyle examples
* helper to run CI test locally
* local CI runner more verbose
* +const
* deprecation deprecation
* deprecation
* Update NTPClient.ino
const char[] => const char *
* Update interactive.ino
const char[] => const char *
2018-11-29 20:49:27 -08:00
david gauchard
5c4db3acf4
IPv6 on esp8266-nonos-sdk and arduino ( #5136 )
2018-11-27 23:07:47 +01:00
david gauchard
83a8076db8
ClientContext (tcp) updates ( #5089 )
...
* +sync, get/set default nodelay, sync
* default nodelay=1
* update flush()
* fix return value
* ClientContext: put things together
* ClientContext: fix debugging messages
* WiFiClient: move static members out of the class, add comments
* remove circular dependency
* parameter and return value for Client::flush&stop, flush timeout raised to 300ms
* tcp flush: restart timer on ack receive
* OTA protocol needs setNoDelay(true)
* fix Ethernet with Client changes
* 1 line unredable -> 5 lines readable code
* doc
* Update client-class.rst
* Added details for getters
2018-09-25 10:47:27 -03:00
david gauchard
85e68093e9
Automatic stack location selection (SYS or HEAP), enable per library AR-chive in arduino build system ( #5018 )
...
Automatic stack location selection (SYS or HEAP), enable per library AR-chive in arduino build system
* enable dot_a_linkage on internal libraries
* add device tests
* boards generator: deprecate --noextra4k/--allowWPS and fix documentation
2018-08-20 14:35:52 +02:00
Ivan Grokhotkov
61cd8d8385
examples: format all .ino files
...
This formats all the example source files using Arduino style rules.
2018-03-08 14:32:06 +08:00
Earle F. Philhower, III
f9ac524b13
Add -Werror to acceptance builds for C and CPP ( #4369 )
...
Use platform.local.txt to add -Werror to GCC for the build of all
code. Any warnings on a submitted patch will cause an error.
Several examples and libraries had warnings/errors (missing returns
on functions, types, etc.). Clean those up with this commit as well.
2018-02-17 18:47:10 -08:00
Ivan Grokhotkov
1540369c40
Set architecture=esp8266 for bundled SD and Ethernet libraries ( #4035 )
...
Fixes https://github.com/esp8266/Arduino/issues/3868 .
2017-12-28 12:21:55 -03:00
david gauchard
26980b39e3
fix #1002 ::Flush() wait for empty send buffer ( #3967 )
...
* fix #1002 ::Flush() wait for empty send buffer
* WiFiClient::Flush() guarantees that the data has been delivered
option 1 of https://github.com/esp8266/Arduino/pull/3967#discussion_r156901071
10ms max wait according to loaded tcp echo/reply scheme
2017-12-17 13:16:41 -03:00
Clemens Kirchgatterer
18297458be
allows global object instances be switch off with defines ( #2344 )
2016-08-01 11:21:50 +08:00
mgaman
974b9ae2fa
UdpNtpClient rewritten in a clearer, more pedantic fashion. ( #2008 )
...
* Create readme.txt
* Add files via upload
* Update RFC1305.h
Added guard lines
2016-06-01 11:12:45 +08:00
per1234
f2949c1ee1
Unique Built-In libraries library.properties name
...
Use unique name values in library.properties for the esp8266 libraries
that are also Arduino IDE Built-In libraries. This solves the issue of
SD and Servo libraries always appearing as Type: Updatable in the
Arduino IDE 1.6.6 Library Manager when an esp8266 board is selected.
2015-12-01 13:07:34 -08:00
Markus Sattler
2a01c2ad53
modified Ethernet (w5100) library to run on the ESP8266
...
see #962
2015-11-05 21:02:23 +01:00
Markus Sattler
6735cad17a
add Ethernet library for W5100
2015-11-05 20:55:55 +01:00