Commit Graph

970 Commits

Author SHA1 Message Date
Nick Andrew 703d55da82 README: Tidy ugly looking uart.setup() call
Signed-off-by: Nick Andrew <nick@nick-andrew.net>
2015-11-17 03:51:56 +11:00
Nick Andrew 8eb3fbafd9 README: Tidy up the user interface tools
Signed-off-by: Nick Andrew <nick@nick-andrew.net>
2015-11-17 03:49:23 +11:00
Nick Andrew 44adcd5f7e README: Setting the initial serial interface rate
Signed-off-by: Nick Andrew <nick@nick-andrew.net>
2015-11-17 03:44:10 +11:00
Nick Andrew e1e1cde8f8 README: Expand and update the Resources list
Signed-off-by: Nick Andrew <nick@nick-andrew.net>
2015-11-17 03:36:19 +11:00
Nick Andrew 81db4ae6bf README: Remove the <br/> tags
Change to Markdown list or table.

Signed-off-by: Nick Andrew <nick@nick-andrew.net>
2015-11-17 03:22:34 +11:00
Nick Andrew 7d05a25b65 README: Flashing and connecting
Signed-off-by: Nick Andrew <nick@nick-andrew.net>
2015-11-17 03:12:25 +11:00
Nick Andrew 7731592b70 README: Update building and flashing instructions
Make it more obvious to run file.format() after flashing.

Signed-off-by: Nick Andrew <nick@nick-andrew.net>
2015-11-17 02:44:49 +11:00
Nick Andrew e9091cc364 README: Remove GPIO NEW TABLE
It's in the API documentation and doesn't belong in the top-level README.

Signed-off-by: Nick Andrew <nick@nick-andrew.net>
2015-11-17 01:13:33 +11:00
Nick Andrew 7b1a371192 README: Tidy the sample code
Signed-off-by: Nick Andrew <nick@nick-andrew.net>
2015-11-17 01:04:44 +11:00
Nick Andrew c1fd5d4ed2 README: Temporarily remove the 'download' button
Remove the download button until a 1.4.0 release is pushed to github.

Signed-off-by: Nick Andrew <nick@nick-andrew.net>
2015-11-17 00:57:42 +11:00
Nick Andrew c8f9f4ca20 README: More tweaking of the summary text
Add all the latest module names too.

Signed-off-by: Nick Andrew <nick@nick-andrew.net>
2015-11-17 00:54:46 +11:00
Nick Andrew 20bca021af README: More work on the build options
List the latest set of modules in the example on disabling modules.

Show which file to edit to tag your firmware to identify it on boot.

Signed-off-by: Nick Andrew <nick@nick-andrew.net>
2015-11-17 00:49:41 +11:00
Nick Andrew 1aa5efcba3 README: Add usable build instructions
Put Marcel's online build server first, as this will be the go-to for
new users. Note that they should build 'dev' not 'master'.

Next, list the docker image which will build from your checked-out
repository and possibly including your own changes.

Finally, list the prerequisites if you want to build it all yourself,
including the sequence of commands (same as the docker image uses).

Signed-off-by: Nick Andrew <nick@nick-andrew.net>
2015-11-17 00:40:59 +11:00
Nick Andrew b27fc6f50c README: Move the simple programming examples up
The README is presently quite unreadable. The simpler examples of
programming an already-flashed ESP8266 are moved up, to give the
new user the flavor of what is possible with NodeMCU.

Instructions to build the firmware will follow.

Signed-off-by: Nick Andrew <nick@nick-andrew.net>
2015-11-17 00:15:10 +11:00
Nick Andrew de634a95c3 README: Remove unnecessary changelog
Changelog is in the git history, or major changes should be noted
in CHANGELOG.md

Signed-off-by: Nick Andrew <nick@nick-andrew.net>
2015-11-17 00:05:53 +11:00
Nick Andrew 64a2189556 README: Clean up the language 2015-11-17 00:05:21 +11:00
Nick Andrew 7b65613498 Update README base to 1.4.0
Signed-off-by: Nick Andrew <nick@nick-andrew.net>
2015-11-17 00:00:12 +11:00
Johny Mattsson 340edbbe2f Merge pull request #750 from lukaszo/coap-deb
Fix sending CoAP UDP response using new SDK 1.4.0
2015-11-12 10:41:37 +11:00
Johny Mattsson 7ef1711e9a Merge pull request #740 from Alkorin/ws2812
Better timings for WS2812 (measured 345ns/695ns, instead of 340ns/600ns)
2015-11-11 21:09:31 +11:00
Vowstar 63fad194e2 Merge pull request #731 from dnc40085/dev_wifi_sleep_update
Update function wifi.sleep
2015-11-11 17:10:10 +08:00
Łukasz Oleś 982be36aab Fix sending UDP response using new SDK 1.4.0 2015-11-11 00:53:02 +01:00
Terry Ellison ad99c016cd Merge pull request #729 from DiUS/tcp-port-rand
Fix to do TCP port number randomization at boot.
2015-11-10 21:57:01 +00:00
Thomas Soëte 4fd552fcaf Better timings for 160MHz too.
Values measured:
@80MHz:
	T0H: 337ns, Period: 1.274us
	T1H: 687ns, Period: 1.25us

@160MHz:
	T0H: 349ns, Period: 1.262us
	T1H: 700ns, Period: 1.276us
2015-11-10 22:34:44 +01:00
Marcel Stör 0e5582620b Merge pull request #747 from DiUS/mqtt-nossl-fix
Unbreak build from #735 merge.
2015-11-10 08:52:06 +01:00
Johny Mattsson dabfe83a7d Unbreak build from #735 merge.
Now with more #ifdef.
2015-11-10 18:48:39 +11:00
Johny Mattsson 7512e628b6 Merge pull request #742 from TerryE/dev-stripdebug
Port of strip debug patch to the SDK 1.4-baseline dev
2015-11-10 12:20:36 +11:00
Johny Mattsson cfae4cdc4e Merge pull request #735 from karrots/mqtt_close_disconnect
mqtt:close() send the DISCONNECT message (fix #673)
2015-11-10 12:08:16 +11:00
Terry Ellison 5d036c461b Merge pull request #743 from DiUS/devkit09-fix
Fix building with DEVKIT_0_9 defined.
2015-11-09 10:37:15 +00:00
Johny Mattsson 382eea5079 Fix building with DEVKIT_0_9 defined.
This got broken in the 1.4.0 overhaul, mea culpa.
2015-11-09 12:15:40 +11:00
Johny Mattsson e31a8f433a Merge pull request #741 from marcelstoer/dev-contribution-update
Add @TerryE's comment about announcing work on a PR
2015-11-09 10:54:44 +11:00
TerryE 83d06b667d Port of strip debug patch to the SDK 1.4-baseline dev 2015-11-08 23:46:08 +00:00
Marcel Stör 772fbc4164 Add @TerryE's comment about announcing work on a PR 2015-11-09 00:28:56 +01:00
Thomas Soëte c2f12a3b05 Better timings for WS2812 (measured 345ns/695ns, instead of 340ns/600ns) 2015-11-08 22:45:12 +01:00
Antoine b2167bdf3a mqtt:close() send the DISCONNECT message (fix #673) 2015-11-06 07:32:04 -07:00
dnc40085 51046fd78b Minor change to wifi.sleep
Remove unnecessary code
2015-11-06 05:10:24 -08:00
Terry Ellison b701fe36aa Merge pull request #733 from marcelstoer/dev-contribution-update
Contributing guideline update
2015-11-06 07:41:50 +00:00
Johny Mattsson 660648b74c Merge pull request #734 from karrots/mqtt-keep-alive
Fix mqtt connection closing when not publishing (fixes #359)
2015-11-06 15:46:19 +11:00
Jens Jensen c39d317b2b Fix mqtt connection closing when not publishing (fixes #359)
should not reset keep_alive_tick when receiving as this can prevent
sending keepalive (PINGREQ), which can result in server disconnect.
2015-11-05 20:21:53 -07:00
Marcel Stör f32ee4af48 Fix TOC 2015-11-06 00:55:14 +01:00
Marcel Stör b6ba7b7e89 Update contributing guideline 2015-11-06 00:51:41 +01:00
Johny Mattsson 5d28de8595 Merge pull request #722 from TerryE/luac-cross.2
Moving luac cross from master to dev
2015-11-06 09:49:38 +11:00
dnc40085 5e95f48a55 Update function wifi.sleep to return any error codes to user 2015-11-05 13:51:42 -08:00
Johny Mattsson f82415f6b9 Fix to do TCP port number randomization at boot.
This addresses the issue where a server would otherwise reject a valid
connection attempt from a rebooted node, due to the server thinking that
packet belonged to a recently closed session. By starting off the local
TCP port numbers at random* points each boot the risk of port reuse
across a reboot is significantly reduced.

*) As random as can be had via the lower 12 bits of the ccounter.
2015-11-05 14:40:57 +11:00
Vowstar 10c4ac1460 Merge pull request #727 from devsaurus/dev-contrib
Request rebase instead of merge for contributions
2015-11-05 10:08:43 +08:00
Vowstar 3da57dc85c Merge pull request #725 from dnc40085/dev_wifi_toggle
Add function wifi.sleep
2015-11-05 10:07:32 +08:00
Vowstar 9e482698aa Merge pull request #728 from dnc40085/patch-1
Fix compiler warning in tmr.c
2015-11-05 10:06:49 +08:00
dnc40085 75849f79ab Fix compiler warning in tmr.c
Fix compiler warning: implicit declaration of function 'system_soft_wdt_feed'
2015-11-04 17:55:09 -08:00
devsaurus 4efa6afef9 request rebase instead of merge for contributions 2015-11-04 22:54:49 +01:00
dnc40085 91ba22a49d Minor change
Added static keyword to a variable
2015-11-04 06:37:57 -08:00
Terry Ellison 6b8c7f4b8e Merge pull request #724 from DiUS/more-wdt-fixup
Fix newly introduced incorrect WDT feeding.
2015-11-04 10:52:49 +00:00