Search found 5 matches
- Mon Jan 11, 2021 11:44 am
- Forum: Programs, Libraries and Tools
- Topic: transferring btree files from Python to Micropython
- Replies: 5
- Views: 2863
Re: transferring btree files from Python to Micropython
Thanks pythoncoder. In the end, the way I solved this was to use CPython on Windows PC to rapidly do the xml parsing, write out to a simply parsed intermediate text file, copy that to the embedded Micropython board's SD card, then read the textfile into a Micropython program and build the btree file...
- Mon Jan 11, 2021 6:31 am
- Forum: Programs, Libraries and Tools
- Topic: transferring btree files from Python to Micropython
- Replies: 5
- Views: 2863
Re: transferring btree files from Python to Micropython
Yeah, that idea of getting the Python to output Micropython code and then running that did work to make the btree file on the openMV board, although I see memory issues happening when I run the Micropython if I try to include all 30,000 entries from the map in the btree, also if I don't call flush()...
- Mon Jan 11, 2021 2:47 am
- Forum: Programs, Libraries and Tools
- Topic: transferring btree files from Python to Micropython
- Replies: 5
- Views: 2863
Re: transferring btree files from Python to Micropython
Ah, @jimmo, I did look briefly into a Micropython that could run on the Windows or Linux, but thought it was too fiddly. Good suggestion though, I'll have another look. I had another thought I liked too. What if the Python code output text that was actually executable Micropython code? i.e. use the ...
- Sun Jan 10, 2021 11:45 am
- Forum: Programs, Libraries and Tools
- Topic: transferring btree files from Python to Micropython
- Replies: 5
- Views: 2863
transferring btree files from Python to Micropython
Hi All and especially to the developers and maintainers of the btree module. For Micropython apps, btree is a wonderful boon, allowing a file-backed dict-like database that can be huge compared to the usually trivial memory space of a Micropython board (I'm using an openMV board) However, I'd love t...
- Tue Jun 25, 2019 9:55 am
- Forum: Programs, Libraries and Tools
- Topic: REPL serial showing gibberish on a custom ESP32-WROVER board
- Replies: 8
- Views: 5725
Re: REPL serial showing gibberish on a custom ESP32-WROVER board
+1 for hossam and YAT because it worked for me where Teraterm wouldn't. I tried adding a few ms between characters in Teraterm, but that's only for transmit, of course, and I was seeing garbage on receive. I reckon poor old Teraterm couldn't keep up because the esp32 was sending with very little del...