Daniel Way (@waydan)
As others have said, making testVal volatile might work, but another option could be moving each test to a separate source file. If each operator-assignment is separate...
I've experimented with some headers in the STL and believe some engineers paint with too broad a brush when saying it's inappropriate for constrained platforms....
Hi Max,I've conducted a few customer-acceptance tests including writing the test reports. I don't follow a formal template, just a general set of items I've observed...
@mrfirmware, you beat me to it!MaxThere is helpful information on offsetof here https://en.cppreference.com/w/c/types/offsetof. That page also includes a web-based...
If you’re having trouble identifying the kind of hard fault, you might take a look at this article. https://interrupt.memfault.com/blog/cortex-m-fault-debug
Hi Max,Do you want the user to be able to reconfigure the display dynamically through a PC interface, or will changing the number of strings etc. require a recompile? If...
The prefix or postfix increment/decrement operator requires an lvalue and returns the value pre-modification. Since an rvalue (temporary) is returned, you can’t...
Along this line, I’ve been experimenting with Docker and VSCode as a build environment. VSCode has a remote development option, so I can edit the sources in my...
Hi Max,I hadn't heard of K-maps before - I guess it didn't come up in mechatronics class. It looks like a really useful tool as I had a use case just the other day....
Thank you, Matthew, Miro, and mr_bandit, for your advice and new resources to check out. As a follow up, are there any testing frameworks you would recommend? I've...
I'm trying out test driven development (TDD) and would appreciate some advice. If you are an engineer who practices TDD or unit testing, I would like to know if...
I received my bachelor’s degree in 2013, so I’d like to share some advice aimed at engineering students who have some time left in university.Prefer an engineering...
I would argue that this code describes a state machine with the two states you have indicated: LED_OFF and LED_ON.The transitions between the states are triggered...
You might find Miro Samek’s free e-book helpful. It covers OOP design principles but with a focus on C
Hello Max,
Though I’m still an amateur, I’ll share my opinion based on what I’ve picked up from self-study. Don’t take what I say on faith, but run some...
Could it be related to your target triple? I see you have arm-linux-gnueabi, but I think there’s another version specifically for hardware floating point: arm-linux-gnueabihf....
I’ve tried Modelio which is free and works with UML and SysML.PlantUML is an interesting program from generating UML diagrams from a basic markup language. It...
Hi mik3ca,It sounds like you’re trying to reserve a few byte values for control, but if these values show up in your data, you need to replace them so your serial...
This thread is a little old, but I think I’m in a similar place to you. You’ve already gotten lots of good advice from the experienced members of the forum;...
Use this form to contact waydan
Before you can contact a member of the *Related Sites:
- You must be logged in (register here)
- You must confirm you email address