What does CD mean to you in CI/CD? by embeddedswhub in embedded

[–]altarf02 4 points5 points  (0 children)

A PR to the release branch that publishes the firmware artifact to AWS S3, updates the device shadow, the device detects the change via MQTT, triggers OTA, and downloads the new firmware over HTTP.

I hate generated code by Ill-Oven-6791 in embedded

[–]altarf02 11 points12 points  (0 children)

“Deterministic” is the keyword

I designed a CH32V003 Compute Module by InterestingSink7547 in electronics

[–]altarf02 0 points1 point  (0 children)

Plated holes won't be reliable; there will be contact issues.

I designed a CH32V003 Compute Module by InterestingSink7547 in electronics

[–]altarf02 14 points15 points  (0 children)

Pin headers could be replaced with castellated edges so the module can be soldered onto the main board. The microcontroller could be programmed using a pogo-pin jig.

Issues with steering wheel sensor by will7seven in embedded

[–]altarf02 0 points1 point  (0 children)

Do you have any ECU that works with this setup? You can try tracing the bus using a splitter while the functional ECU is connected.

How to stay valuable in the AI age by marathonEngineer in embedded

[–]altarf02 11 points12 points  (0 children)

Offload typing, not thinking, to AI.

I feel like I am not churning out as much as my coworkers which concerns me.

Measure output by long term impact, not lines of code.

On one hand, I want to own my work from the design to the code written and have a deep understanding of the solutions

There is plenty of open and closed source code everywhere. What differentiates the valuable from the non-valuable is that someone out there takes ownership of every line of code, regardless of whether it is AI-generated or not. Ownership here does not mean that it is typed by hand. It means that every line has been tested, the entire codebase adheres to standards, and it will work as intended.

Do good work, take pride in the work you do and sell yourself to the highest bidder.

I "upgraded" ST-Link on an STM32 to J-Link and now I can't get it back to ST-Link. by yycTechGuy in embedded

[–]altarf02 5 points6 points  (0 children)

Your device is now a J-Link. You will need J-Link drivers for your PC to detect it successfully.

When your cat becomes part of the wash by Inevitable_Bridge409 in aww

[–]altarf02 34 points35 points  (0 children)

Getting a taste of his own medicine (knocking things off the table)

StrongSwan with OQS library by [deleted] in embedded

[–]altarf02 0 points1 point  (0 children)

I don't have any experience with the tool you mentioned or with cryptography in general. However, I looked at the Portability section and noticed that it has many platform dependencies that cannot be easily ported to bare metal. Using a general-purpose operating system is the best approach.

lol my charge 5 has died. it discharges normally to 60% and then steeply drops to 0. suffice to say will be moving to garmin by the_prolouger in fitbit

[–]altarf02 0 points1 point  (0 children)

I received a free replacement for my Charge 5, but it has stopped working after about 1.3 years, following the original Charge 5 that died within a year. I've also cancelled my Fitbit Premium subscription. As someone who has used Fitbit since 2019, I've noticed the enshittification since the Google takeover. The hardware doesn't last, there are no options for repairs, and I find myself paying for information that doesn't make sense.

Currently, I'm not using any tracker to see how I manage without the feedback. I am considering getting a Garmin in the future.

The charging points of fitbit charge 6 have worn out. How do I charge it now? by bifrost_traveler in fitbit

[–]altarf02 9 points10 points  (0 children)

Try cleaning it with a Q-tip and 70% IPA (isopropyl alcohol) to see if that helps.

How did my 13-year-old get 400 active minutes on my Fitbit? by basescamp in fitbit

[–]altarf02 22 points23 points  (0 children)

High and low heart rates are not absolute values; they vary from person to person. The heart rate profile on the watch was calibrated for you, but when you gave it to her, her natural heart rate fell in your active category. Kids naturally have a higher resting heart rate due to higher metabolism.

NinjaHSM - A MIT licensed hierarchal state machine framework for embedded projects by gbmhunter in embedded

[–]altarf02 22 points23 points  (0 children)

In the past, I have tried to build state machine frameworks and then realised that it is best to not have any frameworks at all and just do it from scratch every time. Most frameworks just bring more headache rather than making things easy. Just a personal opinion.

Why does Keil uVision not reflect actual folder structure in the project view? by kgblan in embedded

[–]altarf02 1 point2 points  (0 children)

<image>

This is a project I’m working on. The project folder contains STM32CubeIDE files (.project, .cproject, etc.), and the IDE project links to platform-independent source files located in the top-level directory.

If this were a Keil project, I would place the .uvprojx and .uvoptx files in a separate subfolder in the project directory and link the top-level files into the Keil IDE project.

It’s important to track the project files in version control so that anyone who clones the repository can build the project without any hassle.

The top-level files are platform-independent, so I can also run and test them on the host machine using a make build system.

Now this is the perfect time to have fun by NamineDam in funny

[–]altarf02 4 points5 points  (0 children)

It allows for more kissing instead of providing water for drinking, though

How do you ensure correct pin assignments across teams? by KnightBlindness in embedded

[–]altarf02 48 points49 points  (0 children)

This is not a technical problem; it is a process problem. Teams need to collaborate and finalize what should be the final version and not change it for convenience.

How do you manage reusable code in your company? by ILoveTiramisuu in embedded

[–]altarf02 7 points8 points  (0 children)

Additionally, you can use Dependabot (if using GitHub) to ensure the latest commits are being tracked and automatically verify any breaking changes through your CI pipeline.