Best way to integrate HAL/CMSIS with TouchGFX?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-04-18 1:29 PM
I understand the simulator doesn't know about GPIO and so on. That being said, if one wanted to manipulate the hardware from the UI actions (say, set an LED), what's the best way to do that?
Two ideas I have:
1) Use the preprocessor to comment out any code that won't run during simulation
2) Pass data two and from the main tasks via variables that are monitored on another thread.
What is suggested? As is, including the HAL libraries doesn't work without manually mangling the makefiles.
Solved! Go to Solution.
- Labels:
-
TouchGFX
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-04-19 6:41 AM
Take a look into this channel (not mine):
https://www.youtube.com/channel/UCPc2YUw_rpxWJLc4PFwSZag
There you may find everything, you need for the beginning =)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-04-19 6:41 AM
Take a look into this channel (not mine):
https://www.youtube.com/channel/UCPc2YUw_rpxWJLc4PFwSZag
There you may find everything, you need for the beginning =)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-04-19 6:46 AM
Ah, that's brilliant. Pick it up in some other task via uart. Thanks a bunch!
