Commit Graph

54 Commits

Author SHA1 Message Date
Terry Ellison 32b2911263 Merge pull request #746 from DiUS/vdd33
Remove adc.readvdd33() limitation.
2015-12-01 23:37:53 +00: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 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
devsaurus 52d6be5299 Merge pull request #705 from devsaurus/dev-fdplx
Update full-duplex for SPI module
2015-10-28 23:36:39 +01:00
devsaurus 9444ae28df simplify spi api
duplex_mode configuration enables/disables receiving with spi.send()
spi.send_recv removed
2015-10-27 23:30:33 +01: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 7d77398921 introduce full/half duplex transactions and add spi.send_recv() 2015-10-25 22:58:06 +01: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
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
devsaurus ac50f9c6a5 add divider for arbitrary HSPI clock frequencies 2015-10-04 00:40:21 +02:00
Johny Mattsson 9f9b323fb5 Ensure flash write bounce buffer is used if source is also flash.
When using the flash write API, the flash is unmapped/uncached, and as
such it's not possible to source data directly from flash (e.g. string
literals).
2015-08-04 16:30:54 +10:00
Bernd Meyer 1259f8d776 Deal with unaligned destination parameter to flash read
(Occurs e.g. when SPIFFS cache is disabled.)

Implementation mirrors the existing handling in the write path.
2015-08-04 16:30:46 +10:00
vowstar 899935e60b Add DHT Lua Module for interfacing with the DHTxx sensors (xx = 11-21-22-33-44). 2015-06-18 16:31:40 +08:00
Vowstar 749e71d9cb Fixed strange SPI flash API error. Added word_of_aligned_array. 2015-05-05 23:59:30 +08:00
funshine 1c2ee75a00 fix mqtt, do a format when wrong flash size is detected 2015-04-03 00:51:02 +08:00
funshine e1f8b604a0 fix init_data detect flash api 2015-03-24 23:21:40 +08:00
funshine 52ca40b8ea add init.lua examples 2015-03-22 21:09:37 +08:00
HuangRui 5c84359b5c ROM flash size can changed with detected size, fixed #283. 2015-03-16 05:40:43 +08:00
HuangRui f7eed2b53b Changed e9 to magic_e9. 2015-03-16 01:44:54 +08:00
HuangRui 4e7473bc00 Fixed flash automatic detection bug. Support 128MBit flash. 2015-03-16 01:05:06 +08:00
HuangRui dfce182622 Paste new version, make it can get correct flash size. 2015-03-16 00:51:47 +08:00
HuangRui ed87cbd96f Try to fix flash auto detection bug. 2015-03-16 00:48:28 +08:00
HuangRui 378398d41d Merge branch 'dev' of https://github.com/nodemcu/nodemcu-firmware 2015-02-15 02:14:53 +08:00
HuangRui 0232c13b83 Emergency update, fix flash size auto detection bug.
64Mbit and 128Mbit supported by hardware, but not supported by this SDK 0.9.5. Waiting SDK update.
2015-02-15 02:13:58 +08:00
HuangRui f6b1d3a399 Test what caused flash AUTO_SIZE bug. 2015-02-15 00:02:53 +08:00
funshine 6c1c6805b3 modify loadfile to malloc memory according to file size 2015-02-13 19:23:30 +08:00
HuangRui db43b1e005 Merge branch 'dev' of https://github.com/nodemcu/nodemcu-firmware 2015-02-11 22:51:33 +08:00
HuangRui d2cdba255f Supported more baudrate. 2015-02-11 22:50:26 +08:00
funshine a34e6e8e3d Merge branch 'dev' of https://github.com/nodemcu/nodemcu-firmware into dev 2015-02-11 21:21:37 +08:00
funshine 2d711bbc0d update spiffs to 0.2.2, add file.rename api 2015-02-11 21:20:54 +08:00
HuangRui 5d9caf23b6 Support 64Mbit and 128Mbit flash size auto detection. 2015-02-11 21:16:48 +08:00
HuangRui c7c88feae4 Add 8M and 16M fixed flash size options. 2015-02-11 21:01:57 +08:00
cle69 4c785fc979 Update platform.c
Add  Bit Rate 1200,2400,4800
2015-02-03 10:18:58 +01:00
funshine df3c82391f add spi, and some minor fix 2015-01-18 11:46:15 +08:00
iabdalkader 3c16014641 Add SPI Module
* Add SPI support (master mode only)
* Issue #50
2015-01-16 22:41:34 +02:00
funshine acd9d0dc97 deep optimizing ram usage 2015-01-07 01:15:38 +08:00
HuangRui 3c6ebea059 Use safe flash options. 2015-01-06 19:32:17 +08:00
funshine 7e51c5d67e replace SPIWrite with flash_write 2015-01-05 23:57:07 +08:00
funshine ff6e5e9924 build pre-build bin, auto save flash init data 2015-01-05 21:56:55 +08:00
HuangRui cb4a49e0db Changed Makefile to support Windows xcc. 2015-01-05 13:15:59 +08:00
HuangRui c04f2578ec Updated SDK to v0.9.5 and optimized memory. 2015-01-05 10:09:51 +08:00
HuangRui 0420b6d72f Add definition of NODE_STORE_TYPEDEF_ATTR and NODE_STORE_ATTR. 2015-01-02 17:56:34 +08:00
HuangRui 1b9479a650 Added NODE_STORE_ATTR __attribute__((aligned(4),packed)) 2015-01-01 22:22:05 +08:00
funshine b0ec34567c align flash read/write addr 2014-12-31 20:20:38 +08:00
funshine 1105b95175 add newline to flash_api.c for win vm 2014-12-31 16:54:44 +08:00
HuangRui a93e62c444 Add node.flashid() and node.flashsize(). 2014-12-31 08:08:31 +08:00