Search found 26 matches
- Sun Apr 11, 2021 3:14 pm
- Forum: ESP32 boards
- Topic: Compiling with btree module support
- Replies: 16
- Views: 474
Re: Compiling with btree module support
well, that's not due to btree. Did you update esp-idf to a compatible version? see this thread: https://forum.micropython.org/viewtopic.php?f=18&t=9820 If you don't have any local modifications, you might want to just delete esp-idf and micropython and restart from scratch. Sometimes that's the fast...
- Sat Apr 10, 2021 8:05 pm
- Forum: ESP32 boards
- Topic: Compiling with btree module support
- Replies: 16
- Views: 474
Re: Compiling with btree module support
"a commit" in git terms is a identifier which points to a specific snapshot of the git history. For example, master always is the most recent commit, but if I pulled master yesterday and you pulled today, you'd have an updated version of the code. We can speak about the exact same version of the cod...
- Sat Apr 10, 2021 6:23 pm
- Forum: ESP32 boards
- Topic: Compiling with btree module support
- Replies: 16
- Views: 474
Re: Compiling with btree module support
yeah, it is. Did you make clean before hand? which commit are you using?
- Fri Apr 09, 2021 7:07 pm
- Forum: ESP32 boards
- Topic: how to use esp32.NVS?
- Replies: 1
- Views: 132
Re: how to use esp32.NVS?
It's a key value store partitioned into namespaces accessed via labels. >>> nvs_area = NVS('label') >>> nvs_area.set_i32('key1', 100) >>> nvs_are.set_blob('key2', b"binary data") >>> nvs_area.commit() >>> machine.reset() >>> nvs_area = NVS('label') >>> nvs_area.get_i32('key1') 100 >>> x = bytearray(...
- Fri Apr 09, 2021 6:45 pm
- Forum: ESP32 boards
- Topic: waveshare eInk display is stuck powering on with BUSY pin on high
- Replies: 3
- Views: 127
Re: waveshare eInk display is stuck powering on with BUSY pin on high
Waveshare is busy = 0, idle = 1
so it should be waiting for high, not low.BUSY Busy state output pin (Low for busy)
- Tue Apr 06, 2021 11:15 pm
- Forum: ESP32 boards
- Topic: Compiling with btree module support
- Replies: 16
- Views: 474
Re: Compiling with btree module support
seems like the lib/berkeley-db-1.xx isn't getting picked up. I couldn't find a quick solution, and i suspect it needs to be adapted for cmake
- Tue Apr 06, 2021 9:09 pm
- Forum: ESP32 boards
- Topic: Compiling with btree module support
- Replies: 16
- Views: 474
Re: Compiling with btree module support
reproduced.
Looks like it's getting compiled, but I don't think it's getting linked. If I had to guess, the transition to cmake overlooked this.
I'm poking at it, but maybe worth raising an issue on GH.
Looks like it's getting compiled, but I don't think it's getting linked. If I had to guess, the transition to cmake overlooked this.
I'm poking at it, but maybe worth raising an issue on GH.
- Sat Apr 03, 2021 6:39 pm
- Forum: ESP32 boards
- Topic: Unable to perform a soft reset
- Replies: 1
- Views: 122
Re: Unable to perform a soft reset
I assume you know this, but this is not really a good idea, you're going to end up in a boot loop you can't get out of without erasing the flash. I'm curious why you'd want to do this, and specifically in boot.py rather than main.py? That being said, looks like boot.py is handled slightly different ...
- Sat Apr 03, 2021 5:36 am
- Forum: ESP32 boards
- Topic: "memory allocation failed" : possible to delete main.py ?
- Replies: 2
- Views: 128
Re: "memory allocation failed" : possible to delete main.py ?
if you can import,
if you can't import anything, you probably can't use other tools either.
maybe try:
to overwrite it in place.
Code: Select all
>>> import os
>>> os.remove("main.py")
maybe try:
Code: Select all
with open("main.py", 'w') as f:
f.write("")
- Sat Apr 03, 2021 4:23 am
- Forum: ESP32 boards
- Topic: Can't build user C modules with new versions of Micropython?
- Replies: 6
- Views: 305
Re: Can't build user C modules with new versions of Micropython?
try using the full path to the cmake file, as noted in the PR. micropython/ports/esp32$ make USER_C_MODULES=/full/path/to/micropython/examples/usercmodule/micropthon.cmake I just did it, and the cexample worked fine for me. make sure you make clean / idf.py fullclean and remove the build directories...