Commit Graph

20 Commits

Author SHA1 Message Date
zelll ff30f479e1 ESP32: CAN module (#1958)
* can extension

* can extension: bit timing and filter

* can -> CAN

* post CAN data callback

* CAN docs

* CAN: fixed receive, filter, extended frame

* reorder fn in can.md, remove driver_can/Kconfig

* fixed a leak when can.stop()
2017-05-07 09:35:17 +02:00
devsaurus fb62011ddf Add sdmmc module and enable fatfs. 2017-04-30 22:49:54 +02:00
zelll b7fa8c592f ADC extension for ESP32 (#1927)
* added adc extension

* add adc_number, for adc2
2017-04-24 21:36:01 +02:00
devsaurus 1866e6f457 Add ws2812 module. 2017-04-14 19:56:27 +02:00
devsaurus 927ee7fc5f Add dht module. 2017-04-14 19:18:38 +02:00
devsaurus 961c1c72b2 Add ow module. 2017-03-17 07:50:31 +01:00
devsaurus d4b6180cd2 fix sigma_delta component naming 2017-03-07 23:05:09 +01:00
devsaurus e203a5829c add tmr module 2017-03-07 20:54:48 +01:00
devsaurus 381726f103 add i2c module 2017-02-02 21:40:36 +01:00
devsaurus 4fcb1404b6 add simga_delta module 2017-01-13 22:34:24 +01:00
Johny Mattsson c505cc0270 Preliminary gpio module.
The gpio ISR needs to go into the platform layer most likely, but that's
for later.
2016-11-26 21:54:05 +11:00
Johny Mattsson 3fe7f77512 Imported 'bit' module from dev branch. 2016-11-17 21:56:51 +11:00
Johny Mattsson 6ce3e7a551 Imported 'struct' module from dev branch. 2016-11-17 21:48:31 +11:00
Johny Mattsson be5dafb264 Imported @djphoenix's new native LWIP net module.
Based on his revision 2d290a24a0914be88e5ca4ac7b1018392fe75fe2
(https://github.com/djphoenix/nodemcu-firmware).

All LWIP callback handling changed to use the NodeMCU task interface
to make it usable on RTOS.

IPv4 assumptions have been removed, and this net module /should/ now
be IPv6 ready, but aside from compilation no testing has been done
in this area.

SSL integration points not touched - some work needed there once we
have an mbedTLS module.
2016-10-06 17:24:08 +11:00
Johny Mattsson 991965e242 Actually include standard Lua modules. 2016-10-04 14:47:41 +11:00
Johny Mattsson 3503a1ec95 Basic wifi config functions.
Note need to use explicit wifi.start() at this point.
2016-10-03 17:42:28 +11:00
Johny Mattsson f9bf50cf03 Simple BlueTooth module for BT LE advertisements. 2016-09-29 17:02:40 +10:00
Johny Mattsson 8e441b59c1 Grabbed the encoder module from dev.
Only minor changes to make it IDF friendly.
2016-09-28 17:58:44 +10:00
Johny Mattsson 60339b812b SPIFFS partition support, file module from dev.
Now uses the designated partition (type 0xC2, 0x00) unconditionally.
2016-09-22 17:18:22 +10:00
Johny Mattsson 9bbf8f43fb Successfully boot barebones NodeMCU on ESP32 (only).
RTOS driver evicted as it did not play nice with stdio etc.

Implemented a minimal driver to fully support Lua console on UART0. Output
on UART0 done via stdout (provided by the IDF). Input and setup handled
via driver_console/console.c. In addition to the direct input function
console_getc(), the driver also registers in the syscall tables to enable
regular stdio input functions to work (yay!). The Lua VM is still using the
direct interface since it's less overhead, but does also work when going
through stdin/fd 0.

Auto-bauding on the console is not yet functional; revisit when the UART docs
are available.

Module registration/linking/enabling moved over to be Kconfig based. See
updates to base_nodemcu/include/module.h and base_nodemcu/Kconfig for
details.

The sdk-overrides directory/approach is no longer used. The IDF is simply
too different to the old RTOS SDK - we need to adapt our code directly instead.

Everything in app/ is now unused, and will need to be gradually migrated
into components/ though it is probably better to migrate straight from the
latest dev branch.
2016-09-20 13:35:56 +10:00