Skip to content
Discussion options

You must be logged in to vote

@victorallume Compiling for an STM32 would be much like other platforms.

e.g. https://github.com/spatialdude/usqlite/wiki/unix but with cd ~/myproject/micropython/ports/stm32 instead.

Although I don't have a STM32 device, I did a quick test and it appears there are some inital errors due to the size of a float on the STM32 - error: floating constant exceeds range of 'float' [-Werror=overflow].

To work through these issues you can look at modifying the default SQLite configuration options, also refer to the SQLite compile-time options documentation.

If you wish to disable certain compiler errors then modify usqlite.c accordingly.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by spatialdude
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants