Commit Graph

1133 Commits

Author SHA1 Message Date
Arnim Läuger 4461fcd5ad Merge pull request #853 from pastukhov/dev
Readme for u8glib app to dev
2015-12-15 22:30:04 +01:00
Artem Pastukhov 5cb27f89ae Add ImageMagic info. 2015-12-15 09:35:20 +03:00
Marcel Stör 2bcd40e5a9 Fix blockquote style and admonition 2015-12-14 21:41:06 +01:00
Marcel Stör 56a327efb9 Minor changes to flash and support 2015-12-14 21:13:15 +01:00
Marcel Stör 5b96d954f3 Change links to use '.md' suffix 2015-12-14 13:03:10 +01:00
Artem Pastukhov 6009602382 Some polish 2015-12-14 11:41:10 +03:00
Artem Pastukhov 4b0cec1757 * Add u8glib readme. 2015-12-14 11:34:11 +03:00
Marcel Stör be7132ef2a Remove 'Description' header for module function description 2015-12-13 22:50:15 +01:00
Marcel Stör 6a943e6073 Proper structure for modules and more content 2015-12-13 14:43:52 +01:00
Terry Ellison 0386ae6559 Merge pull request #804 from DiUS/panic
Do not allow execution to continue after a PANIC
2015-12-12 15:36:00 +00:00
Johny Mattsson 6b6456be47 Major cleanup of module registration.
As per #810 & #796, only LUA_OPTIMIZE_MEMORY=2 & MIN_OPT_LEVEL=2 are
supported when building. This commit effects that limitation.

With this change modules/auxmods.h no longer needs to be updated for
every new module, nor do module writers need to cater for a hypothetical
LUA_OPTIMIZE_MEMORY < 2 scenario.
2015-12-12 15:03:40 +11:00
Johny Mattsson d84a24fc9a Proper cached-flash to phys address translation. 2015-12-12 13:20:22 +11:00
Johny Mattsson c4e8b04fbf Cleaned up all uses of INTERNAL_FLASH_START_ADDRESS.
There was only one genuine use of this macro, all other places were
using it only as a necessary compensation. While this was fine as long as
it was the first meg of flash which was mapped, it became incorrect and
quite dangerous whenever this assumption did not hold (such as when
running from the second slot in an OTA scenario).

The flash API now uses actual addresses, not translated/mapped
addresses, and the users of this API have been adjusted accordingly.
This makes the flash API work correctly regardless of what flash mapping
is in use.

The old macro is still available under the new name
INTERNAL_FLASH_MAPPED_ADDRESS, and this is used to detect flash writes
where the source is mapped flash (and thus has to be bounced), and to
adjust the _flash_used_end linker symbol when used with
flassh_find_sector() by the filesystem code. The latter usage is not
OTA-proof, but in an OTA scenario the filesystem needs a fixed location
anyway and thus would not use this code path.
2015-12-12 13:20:22 +11:00
Marcel Stör 0370cb8ec6 More tinkering 2015-12-10 21:57:52 +01:00
Marcel Stör 432f698fd8 Merge pull request #818 from nickandrew/update-readme-master
Update master README from dev branch
2015-12-06 08:49:47 +01:00
Marcel Stör 68eadaaf45 Merge pull request #817 from nickandrew/update-readme-2
Update readme 2
2015-12-06 08:49:13 +01:00
Nick Andrew 8eb4f3c594 Update master README from dev branch
Given that the 0.9.5 and 0.9.6 versions of NodeMCU are deprecated, it
is quite important that the updated README appears in the master branch.
That's what people will see when they visit the repository page on github.

This commit just squashes all recent dev-branch changes to README.md
to get it updated ASAP in advance of pulling the entire dev branch
into master.

Signed-off-by: Nick Andrew <nick@nick-andrew.net>
2015-12-06 11:49:28 +11:00
Nick Andrew 570bddcfe5 More README tweaks now that master was updated
* Remove the "0.9.6; deprecated" comment regarding the master branch
  * Add a paragraph on enabling debugging
  * Clarify (I hope) the conditions under which you need to reformat your flash filesystem.
  * Remove trailing blanks

Signed-off-by: Nick Andrew <nick@nick-andrew.net>
2015-12-06 11:38:49 +11:00
Nick Andrew 1217b47779 Update README SDK; remove todo list
Based on @vowstar edits:

  * Note that the SDK is the NONOS one
  * Add links for NodeMCU devkit v1.0 and distinguish from v0.9
  * Remove the ToDo list (as all are complete but for 1 item)
2015-12-06 11:21:52 +11:00
Vowstar b3ae9d143d Add DHT sensor lib description in ReadMe
A lot of people don't know DHT sensor lib.
2015-12-06 11:13:09 +11:00
Terry Ellison 844f85bec0 Merge pull request #815 from nickandrew/quieten-assertion
Remove the lobject.c:88 assertion failures
2015-12-05 18:51:54 +00:00
Nick Andrew e9ee9a57d1 Remove the lobject.c:88 assertion failures
When lua assertions are enabled, normal operation results in many:

lobject.c:88: (((t1)->tt) == 4)
lobject.c:88: (((t2)->tt) == 4)
lobject.c:88: (((t1)->tt) == 4)
lobject.c:88: (((t2)->tt) == 4)
lobject.c:88: (((t1)->tt) == 4)
lobject.c:88: (((t2)->tt) == 4)

It comes from using the pvalue() macro for 3 pointer types, where
pvalue() also checks the type of pointer and complains through the
assertion where the type == 4 (TLIGHTUSERDATA).

Use the correct macro according to the type of data being compared
to eliminate this assertion error.

Signed-off-by: Nick Andrew <nick@nick-andrew.net>
2015-12-06 01:42:29 +11:00
Marcel Stör 09650c0aae Merge pull request #769 from nickandrew/tidy-readme
Rework the README file considerably
2015-12-05 10:56:23 +01:00
Marcel Stör 6a5367b7e5 Playing with page structure 2015-12-05 01:05:46 +01:00
Marcel Stör 560a656c7c Playing with page structure 2015-12-05 01:05:14 +01:00
Marcel Stör bb496a9077 Add first MkDocs skeleton 2015-12-04 23:12:28 +01:00
Johny Mattsson f9400fdd35 Merge pull request #812 from TerryE/dev-lvm-fix
Fix EGC case in concat where stack top not recalculated
2015-12-04 10:40:48 +11:00
TerryE e71a2dd64a Fix ECG case in concat where stack top not recalculated 2015-12-03 19:16:30 +00:00
Marcel Stör f951077544 Remove pre_build directory containing very old binaries 2015-12-02 16:31:15 +00:00
Terry Ellison 32b2911263 Merge pull request #746 from DiUS/vdd33
Remove adc.readvdd33() limitation.
2015-12-01 23:37:53 +00:00
Johny Mattsson e9e2efc443 Merge pull request #794 from btsimonh/btsimonhdev
Added uart.alt(n) to swap to use alternate rx/tx lines.
2015-12-01 21:35:09 +11:00
Johny Mattsson 6acd91810f Merge pull request #776 from askainet/net_dns
Make net.dns.resolve and net.dns work with an IP address as the hostname
2015-12-01 21:24:05 +11:00
Johny Mattsson 0fbf442158 Do not allow execution to continue after a PANIC!
It really does not improve things...
2015-12-01 18:11:38 +11:00
btsimonh b2345857e9 Added uart.alt(n) to swap to use alternate rx/tx lines.
if n = 0 -> std pinout.
if n != 0 -> alternate pinout (gpio13 and gpio15)
2015-11-28 22:51:01 +00:00
Johny Mattsson 33e41a633e Merge pull request #787 from TerryE/dev-onewire
Merge Onewire changes from Master into Dev
2015-11-24 11:05:40 +11:00
Johny Mattsson 455f0f2166 Merge pull request #779 from askainet/sntp_dns
Make sntp.sync work with DNS hostnames
2015-11-24 11:03:37 +11:00
TerryE 583049f620 Merge Onewire changes from Master into Dev
Master contained two OW changes one of which was already reimplemented in dev using the
correct macros.  The second was from hazarkarabay (f6d0c0c) that onewire_search()
returns a device address vector even when no device is found.  I've reimplemented this
but using the correct index, rom_byte_number, rather than declaring a new temp index i.
2015-11-23 01:23:41 +00:00
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