7 Feb 2023 |
adf7021#4850 | Take a look at this issue | 17:04:03 |
adf7021#4850 | I wanted to use this demo as the starting point for the GUI. Just for the PoC purposes | 17:04:48 |
Morgan ON4MOD | I do not have the required dev board at home (yet ?) but I can have a look in the code | 17:05:16 |
Morgan ON4MOD | Let me just download the IDE (my computer is a new install but it is faaaast 😂) | 17:05:39 |
adf7021#4850 | Yea, grab the newest CubeIDE and try for yourself | 17:07:35 |
adf7021#4850 | I think the code has been written to work with some old lvgl | 17:08:26 |
adf7021#4850 | And in CubeMX, even | 17:08:40 |
Morgan ON4MOD | I do not know what lvgl is though.
Quickly, it looks like the problem I had with the project of a colleague. His intern had several global variables with the same name in different compile units. Prefixing them with the name of the module they were in fixed the problem. | 17:09:40 |
Morgan ON4MOD | And I forgot how shitty the stm website is and I am struggling with download 😂 | 17:10:08 |
adf7021#4850 | I tried using extern but this problem is not that simple to solve | 17:12:08 |
adf7021#4850 | Hahaha HAL is bloatware | 17:12:35 |
Morgan ON4MOD | Well, I do not know if it is that much of a bloatware, but their engineers are not the finest.
I guess most of it is optimized away at compile time ? Never tested if it is true though.
The best about it is that it removes all the boilerplate code that takes time for nothing. It allows you to focus on the part you are interrested in | 17:14:06 |
Morgan ON4MOD | In reply to @_discord_898135641471217684:t2bot.io I tried using extern but this problem is not that simple to solve I would try renaming them. If no extern keyword was used I would guess that it is because they are supposed to be different memory locations | 17:15:02 |
adf7021#4850 | The other problem is that it's an old project | 17:17:34 |
adf7021#4850 | Can't be fully converted to CubeIDD | 17:17:40 |
adf7021#4850 | * Can't be fully converted to CubeIDE | 17:17:45 |
adf7021#4850 | Like - having the pin planner available | 17:18:00 |
adf7021#4850 | Lvgl is a "lightweight" graphics lib | 17:18:53 |
Morgan ON4MOD | Ok ok | 17:19:12 |
Morgan ON4MOD | I'll see what I can do | 17:19:18 |
adf7021#4850 | Merci! | 17:21:26 |
adf7021#4850 | Lol. Lattice Semiconductors just liked my LinkedIn entry on OpenHT xD | 17:27:19 |
Morgan ON4MOD | Out of curiosity, how old are you ? | 17:27:46 |
adf7021#4850 | 31 | 17:27:55 |
adf7021#4850 | * 32 | 17:28:12 |
adf7021#4850 | * 31.5. Lol, I had to recalculate | 17:29:22 |
Morgan ON4MOD | Oh, a bit older than me then | 17:29:56 |
adf7021#4850 | You can do amazing things at any age | 17:31:33 |
Morgan ON4MOD | Haha it was not intended as a judgement 😛 | 17:33:53 |
Morgan ON4MOD | BTW i managed to get the code to compile | 17:34:00 |