Closed praman-matter closed 3 years ago
Hi,
This project wasn't updated for a while however it should work as it is. Have you used SWSTM32 (Ac6) IDE to open it?
Yes I opened the project under STM32 ac6 tool chain (STM Cube IDE) .. Should I send you the whole project to look at?
The main project just toggles LEDs on board (LED1,2,3 and 4)
Regards Pavitra
On Wed, Mar 31, 2021 at 10:30 AM Gabor Kiss-Vamosi @.***> wrote:
Hi,
This project wasn't updated for a while however it should work as it is. Have you used SWSTM32 (Ac6) IDE to open it?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/lvgl/lv_port_stm32f469_disco_sw4stm32/issues/3#issuecomment-811274371, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATPLKPJY7ZMZDUCDDYB5IL3TGNL3XANCNFSM42FBTW4A .
These are the kinds of errors-arm-none-eabi-gcc "../src/stm32f4xx_it.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DSTM32 -DSTM32F4 -DSTM32F469NIHx -DDEBUG -DSTM32F469xx -DUSE_HAL_DRIVER -c -I"/Volumes/GoogleDrive/My Drive/STM/Projects/LVGL_test/lv_port_stm32f469_disco_sw4stm32-master" -I"/Volumes/GoogleDrive/My Drive/STM/Projects/LVGL_test/lv_port_stm32f469_disco_sw4stm32-master/inc" -I"/Volumes/GoogleDrive/My Drive/STM/Projects/LVGL_test/lv_port_stm32f469_disco_sw4stm32-master/Utilities/STM32F469I-Discovery" -I"/Volumes/GoogleDrive/My Drive/STM/Projects/LVGL_test/lv_port_stm32f469_disco_sw4stm32-master/HAL_Driver/Inc/Legacy" -I"/Volumes/GoogleDrive/My Drive/STM/Projects/LVGL_test/lv_port_stm32f469_disco_sw4stm32-master/HAL_Driver/Inc" -I"/Volumes/GoogleDrive/My Drive/STM/Projects/LVGL_test/lv_port_stm32f469_disco_sw4stm32-master/CMSIS/core" -I"/Volumes/GoogleDrive/My Drive/STM/Projects/LVGL_test/lv_port_stm32f469_disco_sw4stm32-master/CMSIS/device" -I"/Volumes/GoogleDrive/My Drive/STM/Projects/LVGL_test/lv_port_stm32f469_disco_sw4stm32-master" -O3 -ffunction-sections -Wall -fstack-usage -MMD -MP -MF"src/stm32f4xx_it.d" -MT"src/stm32f4xx_it.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "src/stm32f4xx_it.o"
../src/stm32f4xx_it.c:41:10: fatal error: lvgl/lv_hal/lv_hal_tick.h: No such file or directory
41 | #include "lvgl/lv_hal/lv_hal_tick.h"
| ^~~~~~~
compilation terminated.
make: *** [src/subdir.mk:30: src/stm32f4xx_it.o] Error 1
"make all" terminated with exit code 2. Build might be incomplete.
Have you also cloned/updated submodules?
I just have what is there on the github repo
Regards Pavitra
On Wed, Mar 31, 2021 at 12:15 PM embeddedt @.***> wrote:
Have you also cloned/updated submodules?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/lvgl/lv_port_stm32f469_disco_sw4stm32/issues/3#issuecomment-811362541, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATPLKPLOIFQZMZMYCT2E2U3TGNYD5ANCNFSM42FBTW4A .
How did you download it from the GitHub repo?
I downloaded it from https://github.com/lvgl/lv_port_stm32f469_disco_sw4stm32
Regards Pavitra
On Wed, Mar 31, 2021 at 1:40 PM embeddedt @.***> wrote:
How did you download it from the GitHub repo?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/lvgl/lv_port_stm32f469_disco_sw4stm32/issues/3#issuecomment-811450546, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATPLKPJNBMAPIX5YC2Y45TTTGOCE3ANCNFSM42FBTW4A .
Pavitra Ramanujam 2:38 PM (0 minutes ago) to lvgl/lv_port_stm32f469_disco_sw4stm32 I downloaded it from https://github.com/lvgl/lv_port_stm32f469_disco_sw4stm32
Downloaded as a ZIP flle and expanded it and copied into an STM32F AC6 project's root folder
Regards
On Wed, Mar 31, 2021 at 2:38 PM Pavitra Ramanujam @.***> wrote:
I downloaded it from https://github.com/lvgl/lv_port_stm32f469_disco_sw4stm32
Regards Pavitra
On Wed, Mar 31, 2021 at 1:40 PM embeddedt @.***> wrote:
How did you download it from the GitHub repo?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/lvgl/lv_port_stm32f469_disco_sw4stm32/issues/3#issuecomment-811450546, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATPLKPJNBMAPIX5YC2Y45TTTGOCE3ANCNFSM42FBTW4A .
Ah; I see. Downloading as a ZIP won't work as we use submodules; you'll need to use git clone --recursive
.
OK done with git clone -- reursive. It appears as a project within my project. So there are two main.c. How to invoke tft_init() from my main.c
You should be able to clone recursively and then just import the project by itself. It shouldn't be within your own project.
Thanks, I'll check it out. I was not able to open a separate project. I will try some more and let you know
On Wed, Mar 31, 2021 at 6:27 PM embeddedt @.***> wrote:
You should be able to clone recursively and then just import the project by itself. It shouldn't be within your own project.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/lvgl/lv_port_stm32f469_disco_sw4stm32/issues/3#issuecomment-811571561, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATPLKPPA5O4ZESWHBX5EQLLTGPDXJANCNFSM42FBTW4A .
Hi
I performed the following actions -
At the terminal of my workspace root folder : git clone --recursive https://github.com/lvgl/lv_port_stm32f469_disco_sw4stm32.git
Then I tried to import the project lv_port_stm32f469_disco_sw4stm32 into my cubeIDE workspace as AC6 project. But nothing happened
On Wed, Mar 31, 2021 at 6:28 PM Pavitra Ramanujam @.***> wrote:
Thanks, I'll check it out. I was not able to open a separate project. I will try some more and let you know
On Wed, Mar 31, 2021 at 6:27 PM embeddedt @.***> wrote:
You should be able to clone recursively and then just import the project by itself. It shouldn't be within your own project.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/lvgl/lv_port_stm32f469_disco_sw4stm32/issues/3#issuecomment-811571561, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATPLKPPA5O4ZESWHBX5EQLLTGPDXJANCNFSM42FBTW4A .
Hi Is the project not STMCube IDE? Is it something else? Is that why it does not open ?
Please clarify
Regards Pavitra
On Thu, Apr 1, 2021 at 10:21 AM Pavitra Ramanujam @.***> wrote:
Hi
I performed the following actions -
At the terminal of my workspace root folder : git clone --recursive https://github.com/lvgl/lv_port_stm32f469_disco_sw4stm32.git
Then I tried to import the project lv_port_stm32f469_disco_sw4stm32 into my cubeIDE workspace as AC6 project. But nothing happened
On Wed, Mar 31, 2021 at 6:28 PM Pavitra Ramanujam < @.***> wrote:
Thanks, I'll check it out. I was not able to open a separate project. I will try some more and let you know
On Wed, Mar 31, 2021 at 6:27 PM embeddedt @.***> wrote:
You should be able to clone recursively and then just import the project by itself. It shouldn't be within your own project.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/lvgl/lv_port_stm32f469_disco_sw4stm32/issues/3#issuecomment-811571561, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATPLKPPA5O4ZESWHBX5EQLLTGPDXJANCNFSM42FBTW4A .
It wasn't migrated to CubeIDE, but it is a proper SW4STM32 (the previous version) project so it should be able to be imported. :confused:
Well It is not being recognized as a project. I have tried this. I will try again. But f not, any suggestions what can be done? How to assemble from scratch for instance?
Thanks Pavitra
On Thu, Apr 1, 2021 at 4:06 PM embeddedt @.***> wrote:
It wasn't migrated to CubeIDE, but it is a proper SW4STM32 (the previous version) project so it should be able to be imported. 😕
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/lvgl/lv_port_stm32f469_disco_sw4stm32/issues/3#issuecomment-812223334, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATPLKPJL7UKQ4VALIGTEM73TGT36LANCNFSM42FBTW4A .
This issue or pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I tried using the port as suggested in : https://blog.lvgl.io/2017-07-15/stm32f429_disco_port
But it seems to create the port as a separate directory/project with its own main.c.
So how to use this and verify graphics? The path is not visible to my STM32F's main.c. I cannot invoke init for tft from my main.c..
The main.c in the port remains unexecutabe - so it seems the make file also needs to be changed?
Could you please guide me ?
Thanks! Pavitra