Click here to Skip to main content
15,887,175 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: That may be taking a Star Trek obsession a little too far. Pin
Single Step Debugger25-Jul-23 3:35
Single Step Debugger25-Jul-23 3:35 
GeneralRe: That may be taking a Star Trek obsession a little too far. Pin
dandy7225-Jul-23 3:38
dandy7225-Jul-23 3:38 
GeneralRe: That may be taking a Star Trek obsession a little too far. Pin
MarkTJohnson25-Jul-23 3:41
professionalMarkTJohnson25-Jul-23 3:41 
GeneralRe: That may be taking a Star Trek obsession a little too far. Pin
OriginalGriff25-Jul-23 5:31
mveOriginalGriff25-Jul-23 5:31 
GeneralRe: That may be taking a Star Trek obsession a little too far. Pin
Mircea Neacsu25-Jul-23 4:01
Mircea Neacsu25-Jul-23 4:01 
GeneralRe: That may be taking a Star Trek obsession a little too far. Pin
Slacker00725-Jul-23 4:13
professionalSlacker00725-Jul-23 4:13 
GeneralRe: That may be taking a Star Trek obsession a little too far. and then some Pin
jmaida25-Jul-23 16:13
jmaida25-Jul-23 16:13 
GeneralOnward to an article! Pin
honey the codewitch24-Jul-23 17:14
mvahoney the codewitch24-Jul-23 17:14 
I did it. I got EspMon ported to ZephyrOS and running on a STM32 board. I hijacked the virtual COM port exposed by ST-Link to make it easier to use, since it's essentially a demo project that demonstrates my IoT ecosystem as well as a utility.

It took me days. It was truly difficult. It fought me every step of the way, often with unforeseen issues.

One was the console subsystem was implement incorrectly. getchar() returned 0, not -1 on no data. I opened an issue.

When I went below the console subsystem I found that the UART isn't a true UART, at least as implemented. It seems to clear the receive buffer if you send, such that I was getting corrupted data all day long because I had a printf debug spew (sending to the COM port rather than receiving) - I haven't opened an issue about it yet because I don't have an easy reproduction yet. I'm pretty sure I know how to, I just need to write the code.

Anyway, I had to mangle my graphics lib a bit to get it to compile given Zephyr's restrictions, but other than that, my major code functioned without a hitch. It was literally the last mile connections to the RTOS that gave me hell every step of the way. All of my core app code just ran, including loading SVGs and TrueType and all that fancy business.

Figuring out how to enable C++ builds was hairy though. Unsure | :~

What a mess.

But now I have something to work with. An article is brewing. I feel a little bad because it will be the 3rd article on the same piece of firmware Shucks | :-\ but each time it's an evolution of it so I guess it justifies itself.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx

GeneralRe: Onward to an article! Pin
jmaida24-Jul-23 18:22
jmaida24-Jul-23 18:22 
GeneralRe: Onward to an article! Pin
pkfox24-Jul-23 21:37
professionalpkfox24-Jul-23 21:37 
GeneralRe: Onward to an article! Pin
honey the codewitch24-Jul-23 21:37
mvahoney the codewitch24-Jul-23 21:37 
GeneralRe: Onward to an article! Pin
Yahya Mohammed Ammouri25-Jul-23 2:01
Yahya Mohammed Ammouri25-Jul-23 2:01 
GeneralRe: Onward to an article! Pin
honey the codewitch25-Jul-23 3:41
mvahoney the codewitch25-Jul-23 3:41 
GeneralRe: Onward to an article! Pin
dandy7225-Jul-23 3:30
dandy7225-Jul-23 3:30 
GeneralRe: Onward to an article! Pin
Nelek25-Jul-23 8:53
protectorNelek25-Jul-23 8:53 
Generalworldle 549 1/6 Pin
jmaida24-Jul-23 16:05
jmaida24-Jul-23 16:05 
GeneralSign at a seafood restaurant Pin
Mike Hankey24-Jul-23 14:27
mveMike Hankey24-Jul-23 14:27 
GeneralRe: Sign at a seafood restaurant Pin
jeron124-Jul-23 14:40
jeron124-Jul-23 14:40 
GeneralRe: Sign at a seafood restaurant Pin
Mike Hankey24-Jul-23 14:41
mveMike Hankey24-Jul-23 14:41 
GeneralRe: Sign at a seafood restaurant Pin
jmaida24-Jul-23 15:25
jmaida24-Jul-23 15:25 
GeneralRe: Sign at a seafood restaurant Pin
OriginalGriff24-Jul-23 18:28
mveOriginalGriff24-Jul-23 18:28 
GeneralRe: Sign at a seafood restaurant Pin
PIEBALDconsult24-Jul-23 18:43
mvePIEBALDconsult24-Jul-23 18:43 
GeneralRe: Sign at a seafood restaurant Pin
jmaida24-Jul-23 19:14
jmaida24-Jul-23 19:14 
GeneralRe: Sign at a seafood restaurant Pin
Richard MacCutchan24-Jul-23 21:10
mveRichard MacCutchan24-Jul-23 21:10 
GeneralRe: Sign at a seafood restaurant Pin
CPallini24-Jul-23 21:35
mveCPallini24-Jul-23 21:35 

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.