Commit Graph

1346 Commits

Author SHA1 Message Date
Arnim Läuger 6488c95476 Merge pull request #786 from devsaurus/fix-cr
Re-add detection of CR as newline.
Fixes #784 and fixes #785.
2015-11-22 23:00:14 +01:00
devsaurus 1c2fad5330 re-add detection of CR as newline 2015-11-22 13:00:40 +01:00
Arnim Läuger b216e6a809 Merge pull request #777 from devsaurus/dev-cr
Skip CR in interactive mode
2015-11-20 22:56:12 +01:00
Terry Ellison 7460f034ea Merge pull request #780 from marcelstoer/dev-order-modules-list
Order modules list alphabetically
2015-11-19 23:47:21 +00:00
Terry Ellison 068abfdeee Merge pull request #781 from marcelstoer/dev-add-hx711-reference
Add reference to HX711 documentation to source
2015-11-19 23:45:09 +00:00
Marcel Stör 6674a7d7f9 Add reference to HX711 documentation to source 2015-11-19 22:54:06 +01:00
Marcel Stör 5b00d02bf2 Order modules list alphabetically 2015-11-19 22:48:05 +01:00
Ivan Lopez d96383691f Make sntp.sync work with DNS hostnames 2015-11-19 21:51:33 +01:00
Terry Ellison c047d3445c Merge pull request #767 from nickandrew/ds18s20-support
Support DS18S20 and fix negative temp handling
2015-11-18 23:05:09 +00:00
devsaurus 69f3a6f177 skip CR in interactive mode 2015-11-18 22:07:53 +01:00
Ivan Lopez 4ff9e6cc01 Make net.dns.resolve and net.dns work with an IP address host to resolve 2015-11-18 21:22:58 +01:00
Ivan Lopez a272491502 Make net.dns.resolve and net.dns work with an IP address host to resolve 2015-11-18 20:58:33 +01:00
Johny Mattsson 99cc9e1232 Merge pull request #770 from DiUS/fix-tcp-random-nossl
Ensure ld-provided port alias is properly aligned.
2015-11-18 09:56:04 +11:00
Johny Mattsson 7c971798aa Merge pull request #764 from marcelstoer/dev-all-modules-build-4-PRs
Integrate an extra build step for PRs to build a special firmware
2015-11-17 17:58:38 +11:00
Johny Mattsson 98d0157283 Merge pull request #755 from robertfoss/dev
Added fix from #750, to access the IP of a sender of a UDP packet, to fix SDK 1.4.0 compability.
2015-11-17 17:51:03 +11:00
Johny Mattsson 5a199e6e63 Merge pull request #751 from lukaszo/ct
Allow to set content type in COAP (fix #658)
2015-11-17 12:17:11 +11:00
Johny Mattsson 4888c5fc62 Ensure ld-provided port alias is properly aligned. 2015-11-17 11:49:10 +11:00
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
Nick Andrew 0a7b730e23 Support DS18S20 and fix negative temp handling
The DS18S20 has only 1 fractional bit whereas DS18B20 has 4, and their
temperature register alignment differs. Check the family code to choose
the correct multiplier for both devices.

Closes #610

Negative temperatures (less than 0°C) are returned as a sign-extended
two's complement number. Subtract 0x10000 to recover the proper
negative value.

Signed-off-by: Nick Andrew <nick@nick-andrew.net>
2015-11-16 23:32:20 +11:00
Marcel Stör f9ff515de9 Integrate an extra build step for PRs to build a special firmware
Fixes #756
2015-11-16 13:22:10 +01:00
Robert Foss d19c350ead Added fix from #750, to access the IP of a sender of a UDP packet, to fix SDK 1.4.0 compability. 2015-11-11 23:46:26 -05:00
Johny Mattsson 1e3c231630 Fix esp_init_data_default inconsistencies.
Make ADC vs readvdd33 option user_config.h configurable for the init data,
and made readvdd33 the default.
2015-11-12 12:57:07 +11:00
Robert Foss 38efa4824c Merge remote-tracking branch 'upstream/dev' into dev 2015-11-11 20:08:33 -05:00
Robert Foss d2fc878207 Merge remote-tracking branch 'origin' into dev 2015-11-11 20:05:19 -05: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
Łukasz Oleś 3a5e845b29 Allow to set content type in COAP (fix #658) 2015-11-11 12:52:13 +01: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 27eed629e7 Remove adc.readvdd33() limitation. 2015-11-10 15:30:59 +11:00