spatialdude / usqlite

μSQLite library module for MicroPython
MIT License
87 stars 18 forks source link

not work on micropython 8266 #8

Closed AiPacino closed 1 year ago

AiPacino commented 2 years ago
xtensa-lx106-elf-ld: build-GENERIC/firmware.elf section `.text' will not fit in region `iram1_0_seg'
xtensa-lx106-elf-ld: region `iram1_0_seg' overflowed by 398353 bytes
build-GENERIC/usqlite/usqlite_cursor.o:(.text.usqlite_cursor_execute+0x44): undefined reference to `atoi'
build-GENERIC/usqlite/usqlite_cursor.o: In function `usqlite_cursor_execute':
usqlite_cursor.c:(.text.usqlite_cursor_execute+0x22c): undefined reference to `atoi'
build-GENERIC/usqlite/usqlite.o: In function `sqlite3ShadowTableName':
usqlite.c:(.text.sqlite3ShadowTableName+0x13): undefined reference to `strrchr'
build-GENERIC/usqlite/usqlite_file.o:(.text.usqlite_file_exists+0xc): undefined reference to `strrchr'
build-GENERIC/usqlite/usqlite_file.o: In function `usqlite_file_exists':
usqlite_file.c:(.text.usqlite_file_exists+0x42): undefined reference to `strrchr'
usqlite_file.c:(.text.usqlite_file_exists+0x5a): undefined reference to `strrchr'
make: *** [Makefile:223: build-GENERIC/firmware.elf] Error 1
spatialdude commented 1 year ago

@AiPacino The 8266 appears to have too low a specification to include the µsqlite module for MicroPython as at least ~550+ Kb is typically required. See also https://github.com/spatialdude/usqlite/wiki/esp32