Click here to Skip to main content
15,888,461 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: I've heard it all now. Pin
Andre Oosthuizen12-Mar-24 7:21
mveAndre Oosthuizen12-Mar-24 7:21 
GeneralRe: I've heard it all now. Pin
GKP199212-Mar-24 7:23
professionalGKP199212-Mar-24 7:23 
GeneralRe: I've heard it all now. Pin
jochance14-Mar-24 5:17
jochance14-Mar-24 5:17 
GeneralRe: I've heard it all now. Pin
kmoorevs12-Mar-24 11:15
kmoorevs12-Mar-24 11:15 
GeneralRe: I've heard it all now. Pin
Sander Rossel13-Mar-24 6:09
professionalSander Rossel13-Mar-24 6:09 
GeneralLiftoff Pin
honey the codewitch11-Mar-24 21:58
mvahoney the codewitch11-Mar-24 21:58 
GeneralRe: Liftoff Pin
pkfox11-Mar-24 22:42
professionalpkfox11-Mar-24 22:42 
GeneralRe: Liftoff Pin
honey the codewitch11-Mar-24 23:00
mvahoney the codewitch11-Mar-24 23:00 
Yeah, just straight C. I didn't want to deal with getting NXP's toolchain to host C++ libs and stuff. I know it can, but LVGL is C anyway.

I'm under NDA so I can't really share much. This is all R&D for a work project, but the code flow is actually pretty simple. The workflow is basically using MCUxpresso IDE.

It's all cooperatively threaded, with the exception of the core to core interaction, which is handled by an ersatz mutex and a simple message passing scheme based on shared memory.

The M7 runs in a simple master loop, processing a bunch of visualization data and sending it out to the LCD panels.

The M4 handles core logic of the app, and communication with the outside world via USB HID.

The M7 basically is a visualization engine. The M4 tells it what to display and the M7 displays it.

Despite the M7 being logically slaved to the master in terms of flow, it's actually technically the master, in that it's the one that boots initially and kicks everything off. The reason is that its part of the whole mess requires the most memory and flash resources, so to me it made sense to package the smaller payload (the M4 code) and inject *that* into memory, if that makes sense.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix


modified 12-Mar-24 5:45am.

GeneralRe: Liftoff Pin
pkfox12-Mar-24 0:46
professionalpkfox12-Mar-24 0:46 
GeneralRe: Liftoff Pin
honey the codewitch12-Mar-24 4:17
mvahoney the codewitch12-Mar-24 4:17 
GeneralRe: Liftoff Pin
Grotsoft12-Mar-24 4:29
Grotsoft12-Mar-24 4:29 
GeneralRe: Liftoff Pin
honey the codewitch12-Mar-24 7:34
mvahoney the codewitch12-Mar-24 7:34 
GeneralRe: Liftoff Pin
David O'Neil12-Mar-24 11:42
professionalDavid O'Neil12-Mar-24 11:42 
GeneralRe: Liftoff Pin
Rage13-Mar-24 6:56
professionalRage13-Mar-24 6:56 
GeneralWordle 997 Pin
Shane010311-Mar-24 18:25
Shane010311-Mar-24 18:25 
GeneralRe: Wordle 997 Pin
GKP199211-Mar-24 18:53
professionalGKP199211-Mar-24 18:53 
GeneralRe: Wordle 997 Pin
Sandeep Mewara11-Mar-24 19:42
mveSandeep Mewara11-Mar-24 19:42 
GeneralRe: Wordle 997 Pin
OriginalGriff11-Mar-24 20:20
mveOriginalGriff11-Mar-24 20:20 
GeneralRe: Wordle 997 Pin
Amarnath S11-Mar-24 20:34
professionalAmarnath S11-Mar-24 20:34 
GeneralRe: Wordle 997 Pin
ChandraRam11-Mar-24 21:31
ChandraRam11-Mar-24 21:31 
GeneralRe: Wordle 997 - 6 4 me Pin
pkfox11-Mar-24 22:11
professionalpkfox11-Mar-24 22:11 
GeneralRe: Wordle 997 Pin
HobbyProggy11-Mar-24 23:10
professionalHobbyProggy11-Mar-24 23:10 
GeneralRe: Wordle 997 Pin
Sander Rossel11-Mar-24 23:51
professionalSander Rossel11-Mar-24 23:51 
GeneralRe: Wordle 997 Pin
Cp-Coder12-Mar-24 0:20
Cp-Coder12-Mar-24 0:20 
GeneralRe: Wordle 997 Pin
StarNamer@work12-Mar-24 13:47
professionalStarNamer@work12-Mar-24 13:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.