nodemcu-firmware/components/modules
Jade Mattsson 7b21778e6d
Refactor to clean up and fix console handling (#3666)
* Refactor into new 'console' module.

A breaking change, but should finally see us move away from the chronic edge
cases and inconsistent behaviour we have while trying to shoe-horn the
usb-serial-jtag and cdc-acm consoles into uart behaviour and assumptions.

* Fix and document console.write()

Added example on using framed data transmission over the console.

* fixup uart examples

* Add workaround for silently dropped console output.

* Add file upload helper script for console module.

Plus, it can serve as a reference for any IDEs which may need/want
updating.

* Fixup really silly copy/paste error.

* Make upload-file.py work better on CDC-ACM console.

* Updated console module doc with CDC-ACM info.

* Load file in binary mode in upload-file.py.
2024-12-10 11:08:10 +11:00
..
.gitignore Add support for external modules (#3100) 2020-07-27 19:08:19 +02:00
CMakeLists.txt Refactor to clean up and fix console handling (#3666) 2024-12-10 11:08:10 +11:00
Kconfig Refactor to clean up and fix console handling (#3666) 2024-12-10 11:08:10 +11:00
adc.c Initial migration to IDFv5.0 2024-01-30 11:34:03 +11:00
bit.c Make bit module handle 32/64bit integer configs. 2021-08-25 18:58:53 +10:00
bthci.c Swap to luaL_pcallx for C module callbacks. 2021-08-24 00:11:31 +10:00
can.c Initial migration to IDFv5.0 2024-01-30 11:34:03 +11:00
common.c
common.h Port Terry's Lua 5.1 + 5.3 work from the esp8266 branch. 2021-08-22 02:03:05 +10:00
console.c Refactor to clean up and fix console handling (#3666) 2024-12-10 11:08:10 +11:00
crypto.c Fixup LROT_MASKs for all modules. 2021-09-16 17:53:35 +10:00
dac.c Upgrade to IDF v5.1.2 2024-02-02 14:50:57 +11:00
dht.c Port Terry's Lua 5.1 + 5.3 work from the esp8266 branch. 2021-08-22 02:03:05 +10:00
encoder.c Port Terry's Lua 5.1 + 5.3 work from the esp8266 branch. 2021-08-22 02:03:05 +10:00
eromfs.c IDF web server module (#3502) 2022-03-05 13:51:54 +11:00
eromfs.py IDF web server module (#3502) 2022-03-05 13:51:54 +11:00
espnow.c Added espnow module with documentation. 2024-03-27 15:43:59 +11:00
eth.c Upgrade to IDF v5.1.2 2024-02-02 14:50:57 +11:00
file.c Added mkdir/rmdir support to file module. 2023-01-17 14:34:26 +11:00
gpio.c Swap to luaL_pcallx for C module callbacks. 2021-08-24 00:11:31 +10:00
heaptrace.c Initial migration to IDFv5.0 2024-01-30 11:34:03 +11:00
http.c Add http.put (#3462) 2021-10-05 13:33:27 +11:00
httpd.c IDF web server module (#3502) 2022-03-05 13:51:54 +11:00
i2c.c Port Terry's Lua 5.1 + 5.3 work from the esp8266 branch. 2021-08-22 02:03:05 +10:00
i2c_common.h Port Terry's Lua 5.1 + 5.3 work from the esp8266 branch. 2021-08-22 02:03:05 +10:00
i2c_hw_master.c Initial migration to IDFv5.0 2024-01-30 11:34:03 +11:00
i2c_hw_slave.c Swap to luaL_pcallx for C module callbacks. 2021-08-24 00:11:31 +10:00
i2s.c Initial migration to IDFv5.0 2024-01-30 11:34:03 +11:00
idf_component.yml Initial migration to IDFv5.0 2024-01-30 11:34:03 +11:00
ledc.c configure ledc to auto select clock 2023-05-18 12:46:49 +10:00
mqtt.c Upgrade to IDF v5.1.2 2024-02-02 14:50:57 +11:00
net.c Fixup LROT_MASKs for all modules. 2021-09-16 17:53:35 +10:00
node.c Add node.info() (#3655) 2024-07-31 09:43:15 +02:00
otaupgrade.c Initial migration to IDFv5.0 2024-01-30 11:34:03 +11:00
ow.c Port Terry's Lua 5.1 + 5.3 work from the esp8266 branch. 2021-08-22 02:03:05 +10:00
pipe.c Port Terry's Lua 5.1 + 5.3 work from the esp8266 branch. 2021-08-22 02:03:05 +10:00
project_include.cmake Improvements to external component/module support. 2023-01-17 14:08:47 +11:00
pulsecnt.c Initial migration to IDFv5.0 2024-01-30 11:34:03 +11:00
qrcodegen.c Port Terry's Lua 5.1 + 5.3 work from the esp8266 branch. 2021-08-22 02:03:05 +10:00
rmt.c Add support for using multiple memory slots in rmt setup (#3568) 2024-02-01 20:31:56 -05:00
rotary.c Port of the rotary module to ESP32 (#3625) 2024-04-26 21:25:43 -04:00
rotary_driver.c Port of the rotary module to ESP32 (#3625) 2024-04-26 21:25:43 -04:00
rotary_driver.h Port of the rotary module to ESP32 (#3625) 2024-04-26 21:25:43 -04:00
rtcmem.c Ported the rtcmem over to ESP32 (#3544) 2022-09-29 21:37:34 -04:00
sdmmc.c Initial migration to IDFv5.0 2024-01-30 11:34:03 +11:00
serial_common.c Refactor to clean up and fix console handling (#3666) 2024-12-10 11:08:10 +11:00
serial_common.h Refactor to clean up and fix console handling (#3666) 2024-12-10 11:08:10 +11:00
sigma_delta.c Port Terry's Lua 5.1 + 5.3 work from the esp8266 branch. 2021-08-22 02:03:05 +10:00
sjson.c Fix broken sjson module init. 2021-11-04 20:55:08 +11:00
sodium.c Make sodium.random API behave consistently on all build types 2022-12-19 18:53:04 +11:00
spi.c Updated to IDF 4.4.6 (#3621) 2024-01-23 09:17:15 -05:00
spi_common.h
spi_master.c Give the SPI module a chance of working... (#3496) 2022-01-27 07:02:56 +01:00
struct.c Fix potential integer overflow in getnum and fix the negation overflow in lua (#3634) 2024-02-05 19:27:00 -05:00
time.c Fix time.get() for 5.3-int32-singlefp firmware on IDF v5.0.2 2024-01-30 11:34:03 +11:00
tmr.c Implement tmr.wdclr() 2021-10-22 12:38:07 +11:00
touch.c Initial migration to IDFv5.0 2024-01-30 11:34:03 +11:00
u8g2.c Fix typo in u8g2 updateDisplay function mapping (#3649) 2024-05-03 12:51:05 +02:00
uart.c Refactor to clean up and fix console handling (#3666) 2024-12-10 11:08:10 +11:00
ucg.c Fixup LROT_MASKs for all modules. 2021-09-16 17:53:35 +10:00
uppercase.mk
wifi.c Initial support for ESP32-C6 and ESP32-H2, plus assorted fixes & improvements (#3646) 2024-04-26 17:35:22 -04:00
wifi_ap.c Swap to luaL_pcallx for C module callbacks. 2021-08-24 00:11:31 +10:00
wifi_common.c Port Terry's Lua 5.1 + 5.3 work from the esp8266 branch. 2021-08-22 02:03:05 +10:00
wifi_common.h Upgrade to IDF v5.1.2 2024-02-02 14:50:57 +11:00
wifi_sta.c Prefer Lua booleans over 1/nil or 1/0 2023-02-09 15:52:38 +11:00
ws2812.c Update rmt translator (#3629) 2024-02-07 17:56:17 -05:00