MicroPython ESP32_LoBo_v3.2.20 - 2018-06-28 on M5Stack with ESP32
Type "help()" for more information.
>>> help()
Welcome to LoBo MicroPython for the ESP32
For online documentation please visit the Wiki pages:
Based on official MicroPython, this port brings many new features:
- support for two cores and 4MB SPIRAM (psRAM)
- improved 'network' module
- greatly improved thread support
- support for 3 different internal file systems on top of ESP32 VFS
- ESP32 native support for SD Card
- built-in FTP & Telnet servers
- support for OTA updates
- many new and improved hardware access modules implemented in C
and many more...
Control commands:
CTRL-A -- on a blank line, enter raw REPL mode
CTRL-B -- on a blank line, enter normal REPL mode
CTRL-C -- interrupt a running program
CTRL-D -- on a blank line, do a soft reset of the board
CTRL-E -- on a blank line, enter paste mode
For further help on a specific object, type help(obj)
For a list of available modules, type help('modules')
>>>
MicroPython自体はpsRAMをサポートするloboris portが使われているものの、
>>> import micropython
>>> micropython.mem_info()
stack: 752 out of 19456
GC: total: 80000, used: 33504, free: 46496
No. of 1-blocks: 374, 2-blocks: 96, max blk sz: 450, max free sz: 1143
>>> import machine
>>> machine.heap_info()
Heap outside of MicroPython heap:
---------------------------------
Free: 106596
Allocated: 172424
Minimum free: 97672
Total blocks: 203
Largest free block: 99460
Allocated blocks: 198
Free blocks: 5
>>>
Yes port c is conflict with psram, so , because there are not enough serial to use. The psram doesn’t suggested a long wire extension, so if run not well, u can try to cut the pin of the bottom’s g16/17 pin, it will be okay
コメント