Commit Graph

99 Commits

Author SHA1 Message Date
TerryE 49733f6f6d Add New Tasking I/F and rework GPIO, UART, etc to support it
As with the last commit this rolls up the follwowing, but include the various
review comments on the PR.

-   **Documentation changes**. I've added the taks FAQ as a stub new Extension
developer FAQ, and split the old FAQ into a Lua Developer FAQ and a Hardware
FAQ.

-   **Tasking I/F**.  New `app/task/Makefile`, `app/task/task.c`,
`app/include/task/task.h` and `app/Makefile` as per previous commit.  Cascade
changes to `app/driver/uart.c`, `app/include/driver/uart.h`,
`app/user/user_main.c` and `app/modules/node.c`

-   **GPIO Rework** to `app/modules/gpio.c` and `pin_map.[hc]`, `platform.[hc]`
in `app/platform`

-   **Other Optimisations** Move the `platform_*_exists()` from
`app/platform/common.c` to static inline declarations in `platform.h` as
this generates faster, smaller code. Move lgc.a routines out of iram0.
2016-02-17 17:13:17 +00:00
Henk Vergonet a1c1e015ff Add i2c based module for am2320 humidity sensor
Example use:
> sda=1
> scl=2
> am2320.init(sda,scl)
> rh, t = am2320.read()
> print(string.format("Temperature: %s degrees C", t / 10))
> print(string.format("RH: %s %%", rh / 10))

signed-off-by: henk.vergonet@gmail.com
2016-02-14 15:12:42 +01:00
philip 0e9a0d43d4 Direct port of the struct module that provides access to
packed structures in strings. Very useful for network protocol
packing/unpacking. The docs are directly converted from the original.

Review feedback

Fix typo
2016-02-13 08:32:25 -05:00
philip 76b28c1f74 Simple mdns implementation using the Espressif code 2016-01-29 21:37:19 -05:00
Marcel Stör e23e07fd16 Make the APA102 docs available on RTD 2016-01-26 23:07:29 +01:00
Marcel Stör e86347acf3 Minor syntax fixes for the 1-wire docs 2016-01-17 14:05:41 +01:00
devsaurus 66eb0dfdb2 transferred ow module documentation 2016-01-17 11:10:51 +01:00
Marcel Stör 9969c6b285 Final polishing on several pages 2016-01-16 23:11:40 +01:00
Marcel Stör 8cbc5d6a05 Merge pull request #943 from funshine/newdocs
add a doc for coap module
2016-01-16 14:44:19 +01:00
Johny Mattsson a3ac4c80ba Documented HTTP module. 2016-01-16 22:59:08 +11:00
Zeroday 57f8c1a25c add a doc for coap module
typo fix
2016-01-16 14:01:27 +08:00
devsaurus 2aeda1b475 link bmp085 module doc 2016-01-14 22:37:22 +01:00
devsaurus 3ba64bd768 transferred dht module documentation 2016-01-13 23:27:16 +01:00
Johny Mattsson 5fc553c7ce Transferred top-level WiFi module docs.
Note that this does not include wifi.sta, wifi.ap or wifi.ap.dhcp docs.
2016-01-13 21:55:18 +11:00
devsaurus bd7a986d73 transferred tsl2561 module documentation 2016-01-12 21:08:46 +01:00
Marcel Stör 6c75dd40a9 Add net module documentation 2016-01-12 00:01:24 +01:00
Arnim Läuger c9269cf953 fix extensions 2016-01-11 22:43:04 +01:00
devsaurus 36522d59a5 transferred ws2801 module documentation 2016-01-11 22:37:08 +01:00
devsaurus 75580f5dda transferred ws2812 module documentation 2016-01-11 22:36:25 +01:00
Marcel Stör 4878abc0bb Comment net.md which is not quite ready 2016-01-11 10:32:25 +01:00
Marcel Stör ee80236053 Register updated HX711 doc file 2016-01-10 23:32:51 +01:00
Marcel Stör 6ef4fe1840 Transfer enduser-setup and mqtt docs 2016-01-10 22:52:05 +01:00
devsaurus 4fc088c88c transferred pwm module documentation 2016-01-10 21:54:37 +01:00
devsaurus e11cbaf889 transferred i2c module 2016-01-10 21:54:37 +01:00
devsaurus bd20f15dfe transferred spi module documentation 2016-01-09 14:57:03 +01:00
devsaurus c69ea9b2a5 transferred ucg module documentation 2016-01-09 00:57:07 +01:00
Arnim Läuger 1fede249b6 Link u8g module documentation 2016-01-08 20:40:20 +01:00
Johny Mattsson f2babb9c81 Rewrote tmr module documentation, including new API. 2016-01-06 13:06:00 +11:00
Johny Mattsson e5de056756 Transferred cjson module documentation. 2016-01-06 11:51:48 +11:00
Johny Mattsson ee23e46068 Transferred bit module documentation. 2016-01-05 16:07:29 +11:00
Johny Mattsson 17c9873268 Transferred gpio module documentation. 2016-01-05 15:39:53 +11:00
Johny Mattsson 9072f8afe7 Transferred the uart module documentation. 2016-01-05 14:38:41 +11:00
Johny Mattsson 1357e9424a Transferred crypto module documentation. 2016-01-05 14:23:26 +11:00
Johny Mattsson d7a83c65c2 Documented previously undocumented adc module. 2016-01-05 14:06:01 +11:00
Johny Mattsson e814fceb29 Transferred rtcfifo module documentation. 2016-01-05 13:43:59 +11:00
Johny Mattsson 5f7db01842 Transferred sntp module documentation. 2016-01-05 13:01:53 +11:00
Johny Mattsson 12ad557b5d Transferred rtctime module documentation. 2016-01-05 12:56:46 +11:00
Johny Mattsson 4df7dcb3ee Transferred rtcmem module documentation. 2016-01-05 12:43:57 +11:00
Johny Mattsson 4877cb2b1a Transferred file module documentation. 2016-01-05 12:21:19 +11:00
Marcel Stör 921c8675de Typo fix 2016-01-01 15:12:04 +01:00
Marcel Stör 3e68026d7b Rename DIR to dir and improve JavaScript for RTD 2015-12-28 17:25:00 +01:00
Marcel Stör 62320819fd Add config changes to to RTD behavior 2015-12-27 23:51:54 +01:00
Marcel Stör d870fcb3b2 Add config changes to to RTD behavior 2015-12-27 23:49:11 +01:00
Marcel Stör 7eac090aa3 Add experimental localized content structure 2015-12-27 23:32:07 +01:00
Marcel Stör 819b2aab95 Change ordering of properties 2015-12-17 20:00:23 +01:00
Marcel Stör c62cf1b3f7 Fix blockquote style and admonition 2015-12-17 20:00:23 +01:00
Marcel Stör 23ce3e5451 Proper structure for modules and more content 2015-12-17 20:00:23 +01:00
Marcel Stör 51ab3910ad Playing with page structure 2015-12-17 20:00:22 +01:00
Marcel Stör b736f70147 Add first MkDocs skeleton 2015-12-17 20:00:22 +01:00