dnc40085
4387f90339
Added function wifi.sleep
2015-11-03 17:23:43 -08:00
Vowstar
38b494c07e
Merge pull request #702 from devsaurus/dev-fdplx
...
Add full-duplex support to SPI module
2015-10-27 14:34:13 +08:00
Johny Mattsson
b535be7ab8
Fix WDT resets during file.format().
...
With the new SDK soft-wdt it is no longer sufficient to tickle the hardware
watchdog, so all (found) instances have been changed to system_soft_wdt_feed().
2015-10-27 14:33:22 +11:00
devsaurus
0ba0370b87
fix construction of table
2015-10-26 22:40:11 +01:00
devsaurus
d46bc5cc1f
align spi_recv to platform_spi_send_recv
2015-10-26 22:39:33 +01:00
devsaurus
7d77398921
introduce full/half duplex transactions and add spi.send_recv()
2015-10-25 22:58:06 +01:00
devsaurus
c223ecfe5f
Merge pull request #693 from devsaurus/dev-hspi_apiext
...
Extend SPI module API with improved transaction handling
2015-10-21 22:33:08 +02:00
devsaurus
75488639eb
make spi.send() transparent for 32 bit data
...
accept negative values as u32
2015-10-19 23:01:59 +02:00
devsaurus
7ac9a46c40
support secure connection based on CLIENT_SSL_ENABLE
2015-10-18 23:04:40 +02:00
devsaurus
a6eb5ccb80
improved default handling of clock_div and databit length
2015-10-18 11:37:17 +02:00
devsaurus
26f4bc7957
ensure backwards compatibility of exising api functions
2015-10-18 11:13:57 +02:00
devsaurus
19092712e5
remove obsolete spi_mast_send and rename platform_spi_send
2015-10-18 11:13:56 +02:00
devsaurus
28a04cc9c1
remove obsoleted constants for databit length
2015-10-18 11:13:56 +02:00
devsaurus
f238673772
rework of (H)SPI API
2015-10-18 11:13:55 +02:00
devsaurus
9cde0bbb83
add SPI transaction support
2015-10-18 11:13:55 +02:00
aeprox
5ab8de34e7
Fix adc.readvdd33
...
Replace undocumented readvdd33 function with SDK function system_get_vdd33
2015-10-17 15:47:17 +02:00
Vowstar
340ef8fc0a
Merge pull request #636 from karrots/mqtt-clean-session
...
Added mqtt clean session support.
2015-10-17 20:58:06 +08:00
Johny Mattsson
8fba0f47de
Make UDP server work again after 1.4.0 API changes.
2015-10-15 12:14:27 +11:00
Johny Mattsson
afdd9430e0
Removed old lwip include file.
2015-10-12 15:57:24 +11:00
Johny Mattsson
f54264669b
Fixed includes after LWIP 1.4.0 upgrade.
2015-10-12 14:31:52 +11:00
Johny Mattsson
5d5be35633
Upgraded LWIP to 1.4.0 released from Espressif.
...
Plus directly provided patch for user_interface.h.
2015-10-12 14:31:04 +11:00
Johny Mattsson
711d464a2b
Re-enabled open source LWIP.
2015-10-12 13:26:05 +11:00
Johny Mattsson
a161f882ae
Espressif-provided fix for open source LWIP on 1.4.0.
2015-10-12 13:26:05 +11:00
Johny Mattsson
dec159bce1
Support for fixing the filesystem location.
...
To assist with testing new SDK.
2015-10-12 13:26:05 +11:00
Johny Mattsson
bf8ed500bf
Moved node.key() & node.led() support into node module.
...
It was piggybacking on the Lua readline timer which no longer exists.
Also cleaned up injection of Lua commands via CoAP & node.input().
2015-10-12 13:26:05 +11:00
Johny Mattsson
fe6289a6c2
Switch Lua input to event driven instead of polled.
...
The Lua input timer has been the thorn in the side which prevents a lot of
potential sleeping, unnecessarily.
2015-10-12 13:26:05 +11:00
Johny Mattsson
67a711931a
Switch to SDK LWIP until issues with the open one can be resolved.
2015-10-12 13:26:05 +11:00
Johny Mattsson
e905c24dcc
Removed unsused, now incompatible SSL code.
2015-10-12 13:26:05 +11:00
Johny Mattsson
21c4e11020
Enable dynamic build dates, plus print SDK version.
2015-10-12 13:26:05 +11:00
Johny Mattsson
30380f6cff
Further cleanup of ld directory.
...
Renamed the main linker script to make it clear it is customised for NodeMCU
and not to be confused with the standard linker SDK linker scripts.
Changed to using the eagle.rom.addr.v6.ld file from the SDK.
2015-10-12 13:26:04 +11:00
Johny Mattsson
7d0b13df81
Bumped version string to stop confusing myself.
2015-10-12 13:26:04 +11:00
Johny Mattsson
8bdde6e28d
Sorted out linker scripts & options.
...
Now boots to Lua prompt, but promptly reboots itself before input.
2015-10-12 13:26:04 +11:00
Johny Mattsson
91ee5c088c
Wifi module update to new smartconfig API.
...
Needs testing.
2015-10-12 13:26:04 +11:00
Johny Mattsson
38cc84d2fc
Removed gpio pulldown references.
...
The ESP never supported internal pulldowns, and the SDK now matches reality.
2015-10-12 13:26:04 +11:00
Johny Mattsson
f1552605d9
Change os_update_cpu_freq... to ets_update_cpu_freq...
...
Again, the os_xxx version has been removed from the SDK.
2015-10-12 13:26:04 +11:00
Johny Mattsson
d2ac5f1712
Changed os_intr_xxx to ets_intr_xxx.
...
The os_intr_xxx macros no longer exist in the SDK.
2015-10-12 13:26:04 +11:00
Johny Mattsson
3b9a42e254
Updated #includes to work on new SDK.
...
Both "c_types.h" and "lwip/ip_addr.h" don't get included indirectly anymore.
2015-10-12 13:26:04 +11:00
Johny Mattsson
cc220d9201
Moved TEXT_SECTION_ATTR macro to its own header.
2015-10-12 13:26:04 +11:00
Johny Mattsson
8dff84e0a2
Missing file from the LWIP upgrade/import.
2015-10-12 13:26:04 +11:00
Johny Mattsson
c674d191e4
Upgraded open-source LWIP.
...
From Espressif's lwip_open_src_template_proj_for_v1.3.0.zip
2015-10-12 13:26:04 +11:00
Johny Mattsson
c1cd58e096
Build using 1.4.0 SDK + remove old SDK includes/libs.
...
Leaving the linker scripts intact for now, as they're quite customised.
2015-10-12 13:00:38 +11:00
devsaurus
093a895980
Merge pull request #678 from devsaurus/dev-hspi_clockdiv
...
Add divider for arbitrary HSPI clock frequencies, resolves #674
2015-10-06 21:05:17 +02:00
Johny Mattsson
5e19b8488f
Merge pull request #644 from robertfoss/enduser_setup
...
Added ENDUSER_SETUP module.
2015-10-05 19:18:18 +11:00
devsaurus
4cf5f37450
address SPI_CLKDIV_PRE requirements
...
* respect N-1
* avoid range overflow
2015-10-04 16:57:50 +02:00
devsaurus
ac50f9c6a5
add divider for arbitrary HSPI clock frequencies
2015-10-04 00:40:21 +02:00
Robert Foss
8683ea4f1b
Fixed previous POST patch. Also cleaned up HTTP request handling.
2015-10-01 14:22:45 -04:00
Robert Foss
90f770412d
Switched from HTTP GET to HTTP POST.
2015-09-30 14:11:43 -04:00
Robert Foss
ee82b2ad12
Moved SSID define to user_config.h
2015-09-30 13:24:18 -04:00
Robert Foss
721fadfd14
Changed SSID to be suffixed by MAC.
2015-09-27 14:02:25 -04:00
Robert Foss
a15097659b
Disabled enduser_setup module
2015-09-19 15:22:01 -04:00