Closed Kampi closed 8 months ago
Hi @Kampi! We appreciate you submitting your first issue for our open-source project. 🌟
Even though I'm a bot, I can assure you that the whole community is genuinely grateful for your time and effort. 🤖💙
@Kampi You seem to be using the ZSWatch for reproducing the issue. I know that the project also supports the native_posix
target and seems to be enabling the flash simulator as well: native_posix.conf. Is the issue also reproducible with that?
Hi @faxe1008 that's a really good idea. I discuss the process to do it with @jakkra, test it and share the results with you.
Hi @faxe1008 I have discussed this with @jakkra and we are not sure about the source of this bug. @jakkra has implemented a raw flash API for LVGL for use without file system to the flash and the bug also occurs with this API. So we came up with the idea that the bug isn´t related to a Zephyr FS port.
In parallel, we try to test it with the posix port.
Btw. I have pushed the branch with this bug: https://github.com/jakkra/ZSWatch/tree/Sensors_and_Project_improvements
Where you able to reproduce the issue on native_posix
in the meantime? I have started to work on a MRE based on the test that is already in the repo.
Where you able to reproduce the issue on
native_posix
in the meantime? I have started to work on a MRE based on the test that is already in the repo.
Hi, I did try but eventuelly gave up having issues mounting the filesystem under Linux. I should get back to this, but the todo list is long 😄 I'll give this a try again.
This issue has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this issue will automatically be closed in 14 days. Note, that you can always re-open a closed issue at any time.
Describe the bug
The working setup
I have an application that prints a cursor on a display and rotates this cursor based on a sensor value by using this code:
Cursor
iaq_img_cursor_png.txt
Code
This looks as shown below
Initial state
First sensor update
The faulty setup
I replace the lines
with
because I want to store the assets in an external SPI flash. The SPI flash is filled with the converted image from the LVGL Image Converter
The resulting binary is saved on the flash memory and the application finds the file system and the image
I have a different behavior after the first rotation of the cursor. The cursor disappears.
Initial state
First sensor update
I don´t understand it. Why does the image source (LittleFS instead of program memory) changes the behavior of the rotation in LVGL?
To Reproduce
I can provide the complete project when required. I haven´t prepared the commit with the issue yet.
Environment (please complete the following information):
west.yml
iaq_cursor.bin
Please rename the file to
.bin
.iaq_cursor.txt
Cursor.png
Initial image file of the cursor. Please rename it to
.png
.Cursor.txt