|
|
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.
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 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
|
|
|
|
|
yahoo. Good job. Persistence and Knowledge, a winning team.
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
Well done
In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP
|
|
|
|
|
Just finished it!
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
|
|
|
|
|
|
Thanks!
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
|
|
|
|
|
honey the codewitch wrote: I feel a little bad because it will be the 3rd article on the same piece of firmware but each time it's an evolution of it so I guess it justifies itself.
We're all developers here, and we all know software development is an iterative process.
Especially when you're going down a path very few have ever taken before (or have bothered to describe the results - or even the experience).
Refine it over and over until it's well understood and predictable, and things can be accurately described. That's pioneering work, if you ask me.
|
|
|
|
|
|
#Worldle #549 1/6 (100%)
🟩🟩🟩🟩🟩🎉
https://worldle.teuteuf.fr
easy
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
When y'all decide you want reservations.
Let Minnow.
Give me coffee to change the things I can and wine for those I can not!
PartsBin an Electronics Part Organizer - Release Version 1.1.0 JaxCoder.com
Latest Article: Simon Says, A Child's Game
|
|
|
|
|
Oh Cod was that awful!
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle
|
|
|
|
|
You're just being Shellfish
Give me coffee to change the things I can and wine for those I can not!
PartsBin an Electronics Part Organizer - Release Version 1.1.0 JaxCoder.com
Latest Article: Simon Says, A Child's Game
|
|
|
|
|
The left overs become sawfood.
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
Sounds like a classy Plaice.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Not in an up-scale place.
|
|
|
|
|
What does "Let Minnow" have to do with sea food restaurant reservations?
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
|
When you find out, let minnow!
"In testa che avete, Signor di Ceprano?"
-- Rigoletto
|
|
|
|
|
ah so. doh
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
"Let Minnow" sound similar to "let me know"
And Minnow - Wikipedia[^] is a fish
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
What lies at the bottom of the ocean and shivers ?
A nervous wreck. {gets coat}
In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP
|
|
|
|
|
i see sea food at sea restaurant i see by the sea shore ... i consume sea food . see ?
|
|
|
|
|
I'm on a strict seafood diet. See Food!
Give me coffee to change the things I can and wine for those I can not!
PartsBin an Electronics Part Organizer - Release Version 1.1.0 JaxCoder.com
Latest Article: Simon Says, A Child's Game
|
|
|
|
|
Mike Hankey wrote: I'm on a strict seafood diet. Be careful with THE BLUE OYSTER[^]
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|