Hello,
I’m trying to do a “hello world” with LVGL, and I’m getting a really weird build error. It compiles a bunch of files and then crashes on lv_draw_sw_blend.c.
This is lvgl 9.5, installed in PlatformIO using their library management. If it matters, the system is Ubuntu Linux. I am trying to do this hello, world on a no-name ESP32S3 card from Amazon.
Here are a few of the errors ( there are lots more ).
---------------------- snip ------------------------------
/home/jerry/.platformio/packages/toolchain-riscv32-esp@8.4.0+2021r2-patch5/riscv32-esp-elf/sys-include/machine/_default_types.h: Assembler messages:
/home/jerry/.platformio/packages/toolchain-riscv32-esp@8.4.0+2021r2-patch5/riscv32-esp-elf/sys-include/machine/_default_types.h:41: Error: unrecognized opcode typedef signed char __int8_t' /home/jerry/.platformio/packages/toolchain-riscv32-esp@8.4.0+2021r2-patch5/riscv32-esp-elf/sys-include/machine/_default_types.h:43: Error: unrecognized opcode typedef unsigned char __uint8_t’
/home/jerry/.platformio/packages/toolchain-riscv32-esp@8.4.0+2021r2-patch5/riscv32-esp-elf/sys-include/machine/_default_types.h:55: Error: unrecognized opcode typedef short int __int16_t' /home/jerry/.platformio/packages/toolchain-riscv32-esp@8.4.0+2021r2-patch5/riscv32-esp-elf/sys-include/machine/_default_types.h:57: Error: unrecognized opcode typedef short unsigned int __uint16_t’
/home/jerry/.platformio/packages/toolchain-riscv32-esp@8.4.0+2021r2-patch5/riscv32-esp-elf/sys-include/machine/_default_types.h:77: Error: unrecognized opcode typedef long int __int32_t' /home/jerry/.platformio/packages/toolchain-riscv32-esp@8.4.0+2021r2-patch5/riscv32-esp-elf/sys-include/machine/_default_types.h:79: Error: unrecognized opcode typedef long unsigned int __uint32_t’
--------------------- endsnip --------------------------
It looks like C code is falling through the “C” part and being piped directly into the assembler stage.
My lv_conf.h is just copied from the lv_conf template and changed to “#if 1”. I’m not trying to get it working yet, just trying to get it to build.
Anybody else seen this?