Compiling with btree module support
Compiling with btree module support
Hi All,
This is my first time posting. I needed to use a WROVER module with 8MB external flash so I attempted to compile code from https://github.com/micropython/micropython. While I finally managed to compile without errors I found that I could not import the btree module which is essential for my application. I could not find an option in menuconfig. Can anyone help on how I can compile in btree module support.
Best
This is my first time posting. I needed to use a WROVER module with 8MB external flash so I attempted to compile code from https://github.com/micropython/micropython. While I finally managed to compile without errors I found that I could not import the btree module which is essential for my application. I could not find an option in menuconfig. Can anyone help on how I can compile in btree module support.
Best
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.
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
Re: Compiling with btree module support
Thanks for following up...
-
- Posts: 61
- Joined: Fri Feb 15, 2019 9:22 am
Re: Compiling with btree module support
BTREE module should be built-in. Do you need the support of 8 MB flash? If so, consider trying the firmware linked below, both 8 and 16 megabytes
These firmware only changed the frame buffer module,Added Chinese support and big font support
https://github.com/wangshujun-tj/mpy-Framebuf-boost
These firmware only changed the frame buffer module,Added Chinese support and big font support
https://github.com/wangshujun-tj/mpy-Framebuf-boost
Re: Compiling with btree module support
The btree module is about to be included again for the ESP32. Damien is working on it.
Re: Compiling with btree module support
Great that the btree module is going to be included, I will try wangshujun's branch in the meantime.
Best
Best
Re: Compiling with btree module support
Btree is included now. You should have it in the daily build tomorrow.
Re: Compiling with btree module support
Many thanks to all!
Re: Compiling with btree module support
Just to confirm that I have compiled the daily build and I can now import the btree module - problem solved!
Best!
Best!