Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
022e66c
WIP compile examples on host with 'make examples'
d-a-v Nov 8, 2018
d7bd8db
WIP
d-a-v Nov 9, 2018
6b5c634
WIP
d-a-v Nov 9, 2018
786aa81
WIP
d-a-v Nov 9, 2018
909bbea
Merge branch 'host' of github.com:d-a-v/Arduino into host
d-a-v Nov 9, 2018
780e9d9
WIP
d-a-v Nov 10, 2018
b4e9cfb
WIP
d-a-v Nov 10, 2018
b087d70
WIP
d-a-v Nov 10, 2018
3ac0bf1
WIP
d-a-v Nov 10, 2018
1d795e5
WIP bufferize tcp input
d-a-v Nov 10, 2018
c9d302a
WIP Makefile
d-a-v Nov 11, 2018
b1e5769
WIP
d-a-v Nov 12, 2018
83e4a43
WIP network to rework, tcp/udp to factorize, udp addresses broken
d-a-v Nov 12, 2018
0520303
minor changes to the core
d-a-v Nov 12, 2018
3897ebe
WIP basic udp working
d-a-v Nov 13, 2018
c29a35d
WIP mdns
d-a-v Nov 14, 2018
c2f8b45
WIP
d-a-v Nov 14, 2018
005cd42
WIP
d-a-v Nov 14, 2018
964711e
WIP
d-a-v Nov 14, 2018
4b21486
WIP
d-a-v Nov 14, 2018
8921987
WIP mcast receiving, not sending
d-a-v Nov 14, 2018
f99e272
WIP mdns OK
d-a-v Nov 14, 2018
669397e
beta version
d-a-v Nov 14, 2018
c287b51
Merge branch 'master' into host
d-a-v Nov 14, 2018
2ec3403
SSL + doc
d-a-v Nov 15, 2018
e4a6c37
update travis host test command
d-a-v Nov 15, 2018
37aaa36
licenses
d-a-v Nov 15, 2018
57d2ee5
Merge branch 'host' of github.com:d-a-v/Arduino into host
d-a-v Nov 15, 2018
98f4cca
typo
d-a-v Nov 15, 2018
51ba240
Merge branch 'master' into host
d-a-v Nov 15, 2018
81c4f9b
doc: arduino builder is not around: declare functions before calling …
d-a-v Nov 15, 2018
76c7c4b
fix with latest SSL PR, compile in 32 bits mode
d-a-v Nov 15, 2018
e597a25
fix make clean
d-a-v Nov 16, 2018
bf42c2d
make -m32 optional
d-a-v Nov 16, 2018
1cc8f41
32bits compiler ability tester
d-a-v Nov 16, 2018
f9cd3c4
WIP
d-a-v Nov 16, 2018
4c4288b
WIP (fix 1 vtable error, still another one to hunt with using spiffs)
d-a-v Nov 16, 2018
77b61d1
example astyle
d-a-v Nov 16, 2018
6565a99
fix os_printf_plus
d-a-v Nov 16, 2018
706b313
load / save mock spiffs
d-a-v Nov 16, 2018
747f3b3
fix style
d-a-v Nov 16, 2018
940c0f1
fix using spiffs/mock
d-a-v Nov 16, 2018
3510f93
don't mess ram
d-a-v Nov 16, 2018
81d471f
update doc
d-a-v Nov 16, 2018
7bf8ab2
remove leftover
d-a-v Nov 16, 2018
a04996c
optimization -Os except for CI, rename ARCH32 to FORCE32
d-a-v Nov 16, 2018
ffe9811
revert useless cast (not even compiled)
d-a-v Nov 18, 2018
148bb78
remove unused function
d-a-v Nov 18, 2018
8bf7b01
use proper type for pointer arithmetics
d-a-v Nov 18, 2018
c7bc146
makefile: sketch object and cpp file moved to bin/ directories
d-a-v Nov 19, 2018
2f109c4
changes for review
d-a-v Nov 20, 2018
2d4c89b
make use of %zd
d-a-v Nov 20, 2018
aff3336
less verbose makefile by default (option)
d-a-v Nov 20, 2018
49b3e9c
update readme
d-a-v Nov 20, 2018
ab1e846
Merge branch 'master' into host
devyte Nov 20, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
WIP
  • Loading branch information
d-a-v committed Nov 14, 2018
commit 4b214867f97c67fa4e61b6fdf6262af47f72ddc9
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@
#include <ESP8266mDNS.h>
#include <EEPROM.h>

boolean isIp(String str);
String toStringIp(IPAddress ip);
void loadCredentials();
void saveCredentials();
void handleRoot();
boolean captivePortal();
void handleWifi();
void handleWifiSave();
void handleNotFound();


/*
This example serves a "hello world" on a WLAN and a SoftAP at the same time.
The SoftAP allow you to configure WLAN parameters at run time. They are not setup in the sketch but saved on EEPROM.
Expand Down
16 changes: 7 additions & 9 deletions tests/host/README
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ All results are stored or linked from ./bin/ .
Regular host test:
make <no argument>

Build all examples with debug enabled: (WIP)
Build all examples with debug enabled (D=1): (WIP)
make D=1 examples

Show the example list:
Expand All @@ -18,15 +18,13 @@ Build one example
run it:
./bin/Blink -h

Interesting examples:
Non exhaustive list of working examples:
make D=1 ../../libraries/esp8266/examples/Blink/Blink
make D=1 ../../libraries/ESP8266WiFi/examples/WiFiClient/WiFiClient
make D=1 ../../libraries/ESP8266WebServer/examples/HelloServer/HelloServer

Needs tweaking:
make D=1 ../../libraries/ESP8266WebServer/examples/AdvancedWebServer/AdvancedWebServer
(declare 'void drawGraph();' on top of file)

Compile your sketches (remove the .ino part of the sketch file name):
make D=1 ULIBDIR=/path/to/your/arduino/libraries:/path/to/another/one /path/to/your/sketchdir/sketch


TO CHECK: mDNS is implemented, receive and sends UDP packets
Compile your sketches (remove the '.ino' part of the sketch file name):
make D=1 ULIBDIR=/path/to/your/arduino/libraries:/path/to/another/one /path/to/your/sketchdir/sketch/sketch