STM32? #16
-
|
I'm looking at running this on an STM32 device, but it looks like that port isn't built using cmake. Is there anything you can think of that would prevent it from running on stm32? What's required to build using vanilla make? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
@victorallume Compiling for an STM32 would be much like other platforms. e.g. https://github.com/spatialdude/usqlite/wiki/unix but with 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 - 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 |
Beta Was this translation helpful? Give feedback.
@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/stm32instead.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.caccordingly.