Hello everyone,
I’m currently working on a project that involves integrating SQLite into the STM32G070KBT6 microcontroller, which features an Arm® Cortex®-M0+ core, 128 KB Flash, and 36 KB RAM. For development, I’m using STM32CubeMX along with the IAR Embedded Workbench IDE.
To begin the integration, I’ve added the sqlite3.h and sqlite3.c source files to the project directories (Core/Inc and Core/Src). Given the limited memory resources of the STM32G070KBT6, I’ve disabled several SQLite features to reduce the binary size. Specifically, I’ve defined the following preprocessor flags:
I would like to know:
I’m currently working on a project that involves integrating SQLite into the STM32G070KBT6 microcontroller, which features an Arm® Cortex®-M0+ core, 128 KB Flash, and 36 KB RAM. For development, I’m using STM32CubeMX along with the IAR Embedded Workbench IDE.
To begin the integration, I’ve added the sqlite3.h and sqlite3.c source files to the project directories (Core/Inc and Core/Src). Given the limited memory resources of the STM32G070KBT6, I’ve disabled several SQLite features to reduce the binary size. Specifically, I’ve defined the following preprocessor flags:
- SQLITE_THREADSAFE=0
- SQLITE_OMIT_FLOATING_POINT
- SQLITE_OMIT_DISKIO
- SQLITE_OMIT_WAL
- SQLITE_OMIT_LOAD_EXTENSION
I would like to know:
- Is SQLite integration feasible on the STM32G070KBT6, considering its memory constraints?
- Are there alternative STM32 microcontrollers or development boards that are better suited for running SQLite, preferably with higher RAM and Flash capacity while maintaining a compact form factor?