Search found 1836 matches
Actually this file: https://github.com/micropython/micropython/blob/master/ports/esp32/machine_uart.c in the repository. I have changed it already, and it compiles. I "just" have to test whether it works. Setting up the build environment is a little bit of work, but is surely worth the effort. @Most...
It looks like the hardware flow control is not implemented. The parameters are collected, but the actual system call, like uart_set_hw_flow_ctrl() is missing. Obviously no one noticed until now. It is easy tim implement, just call uart_set_hw_flow_ctrl() around line 168 of machuart.c with the UART n...
These UART_INVxx are numeric constants, which have to be or'ed. Use:
The documentation lacks an example for it.
Code: Select all
uart.init(921600, bits=8, stop=1, parity=None, rx=rx, tx=tx, cts=cts, rts=rts, invert=UART.INV_TX | UART.INV_RX | UART.INV_RTS | UART.INV_CTS)
- Fri Jan 31, 2020 8:12 am
- Forum: ESP32 boards
- Topic: MicroPython Startup Time
- Replies: 26
- Views: 1829
I repeated your test with various ESP32 models, and the results are even worse. Wemos LOLIN32 lite w/o PSRAM, code in boot.py, ESP-IDF 4: 720 ms Wemos LOLIN32 lite w/o PSRAM, code in _boot.py, ESP-IDF 4: 690 ms Wemos LOLIN32 pro with PSRAM, code in boot.py, ESP-IDF 4: 2160 ms Pycom LoPy4 with PSRAM,...
- Thu Jan 30, 2020 3:30 pm
- Forum: MicroPython pyboard
- Topic: Pyboard + W5500/W5200 Ethernet - Cant get it to work - MicroPython v1.11-422-g98c2eabaf
- Replies: 14
- Views: 1420
They are similar,. but not identical. Track routing seems more critical on the right hand device, like under the two C's right to the "popctrl" label, and in the upper right corner the tracks that connect the W5500 to the soldering pins of the module.
- Thu Jan 30, 2020 11:36 am
- Forum: General Discussion and Questions
- Topic: Remount \flash
- Replies: 3
- Views: 91
There must be always some kind of agent on the PC, which receives that data. The most simple kind would by a serial interface logger, which simply wriets to a file what comes in on the USB interface from the pyboard. Terminal emulators like Putty can do that. The you can use print() on pyboard to se...