Search found 16 matches

by dvrhax
Tue Dec 07, 2021 4:46 pm
Forum: ESP32 boards
Topic: unable to include .h files from ESP-IDF components directory
Replies: 4
Views: 4480

Re: unable to include .h files from ESP-IDF components directory

Nevermind I figured it out. I must have flubbed the git checkout back to 4.2 and was working with 5.0 which through all the logic off in main/CMakeLists.txt
by dvrhax
Fri Dec 03, 2021 2:49 pm
Forum: ESP32 boards
Topic: unable to include .h files from ESP-IDF components directory
Replies: 4
Views: 4480

Re: unable to include .h files from ESP-IDF components directory

Running into the same issue however my makefile has no reference to -I and idf.py doesn't show it as an option and when I try to execute it anyway, I receive:
Error: No such option: -I
Any insight would be appreciated.

Thank you
by dvrhax
Fri Mar 08, 2019 10:58 pm
Forum: Programs, Libraries and Tools
Topic: uPyMySQL
Replies: 11
Views: 12777

Re: uPyMySQL

The datetime stuff is a bit of a kludge so you'd probably have to see how it fit within your use case. I generally set up the table with a timestamp field that way I don't have to worry about it on the board. Plus my boards don't have RTC so it's easiest just not to have to deal with it. create tabl...
by dvrhax
Sat Mar 02, 2019 2:44 am
Forum: Programs, Libraries and Tools
Topic: uPyMySQL
Replies: 11
Views: 12777

Re: uPyMySQL

I've only recently picked this back up and I'm really only using it for logging functionality so basic inserts myself. I have gone back and shrunk the size considerably and also worked through some more kinks including some with regards to "errno" so If you do pick up the project again make sure to ...
by dvrhax
Thu Feb 28, 2019 2:57 am
Forum: Development of MicroPython
Topic: Build Issue
Replies: 9
Views: 5747

Re: Build Issue

That did it. I removed a lot of the custom error handling and between that and removing BTree I'm now compiled and running on the board. So now just sifting through some errors on the board from the limited scope of some of the models that didn't show itself when I was running the Unix port. Thanks ...
by dvrhax
Wed Feb 27, 2019 1:22 pm
Forum: Development of MicroPython
Topic: Build Issue
Replies: 9
Views: 5747

Re: Build Issue

Apologize if I missed this in the docs somewhere, but where do you set the optimization level for mpy-cross during the build? I'd like to run -O3 but can't seem to find where I would set that.

Thanks
by dvrhax
Tue Feb 26, 2019 11:25 pm
Forum: Programs, Libraries and Tools
Topic: uPyMySQL
Replies: 11
Views: 12777

Re: uPyMySQL

Did you have any luck resolving this? I'm getting back into the codebase as I can't get it to fit onto my Feather Huzzah and I'd like to incorporate whatever fixes you did or work on fixing it myself. Do you have the code that you ran to get the error?
by dvrhax
Tue Feb 26, 2019 11:20 pm
Forum: Development of MicroPython
Topic: Build Issue
Replies: 9
Views: 5747

Re: Build Issue

So commenting out those lines did allow it to compile past that step. Unfortunately I've now found that my library is 34k to large. I guess it's time to start cutting. Thanks for everyone's help, but can someone explain to me why this happens? It would appear to me that this would not be the expecte...
by dvrhax
Tue Feb 26, 2019 10:52 pm
Forum: Development of MicroPython
Topic: Build Issue
Replies: 9
Views: 5747

Re: Build Issue

Thanks for all the response and help on this. __init__.py:NULL = "NULL" __init__.py: 'InterfaceError', 'InternalError', 'MySQLError', 'NULL', 'NUMBER', __init__.py: "NULL", "__version__", constants/CR.py:CR_NULL_POINTER = 2029 constants/ER.py:BAD_NULL_ERROR = 1048 constants/ER.py:NULL_COLUMN_IN_INDE...
by dvrhax
Tue Feb 26, 2019 4:00 am
Forum: Development of MicroPython
Topic: Build Issue
Replies: 9
Views: 5747

Build Issue

Hoping someone can help out with an issue I've run into building micropython I followed the instructions here for setting up the environment: https://github.com/pfalcon/esp-open-sdk I then cloned micropython Ran: git submodule update --init Ran: make -C mpy-cross Ran: cd ports/esp8266 Ran: make axtl...