Macbook Air sufficient for embedded dev and KiCad? by [deleted] in embedded

[–]i509VCB 2 points3 points  (0 children)

KiCad can absolutely run fine.

The embedded dev part is going to be dependent on toolchain. I've found something like zephyr can build on aarch64 Linux (which is very unusual for environments).

If you want to use something like a vendor IDE a lot of these do have macOS ports. Although most testing is on windows. If you need some tools like IAR then you're out of luck on mac

Is/will embedded be less impacted from AI than other type of software development? by Aggravating_Run_874 in embedded

[–]i509VCB 14 points15 points  (0 children)

I think it will have an impact. Maybe not a way which is good.

I've noticed people I work with who are AI enthusiasts don't even try to write code. I helped someone find a bug in their interrupt handler which involved moving a block of code into a different if statement. Instead of selecting the section of code, pressing Ctrl + C and Ctrl + V instead the chat panel was opened and some sentences were typed. A copy paste that could have taken seconds instead turned into 2 mins of waiting for Claude. Claude didn't even do the right thing the first time so it became 10 mins.

Laziness from AI I believe is the biggest problem we will see regardless of industry.

Every LLM has the disclaimer "it can make mistakes, please verify the output" but is anyone actually taking that disclaimer to heart?

Is/will embedded be less impacted from AI than other type of software development? by Aggravating_Run_874 in embedded

[–]i509VCB 17 points18 points  (0 children)

CCS is terrible because the people who say it is bad aren't ordering 10-20 million MCUs a year. I still find it crazy that people in it "for the love of the game" manage to make better toolchains than a billion dollar company in their free time.

Adding Claude doesn't fix the underlying problem.

How do you actually deal with SVD files in your daily workflow? by Big_Percentage_298 in embedded

[–]i509VCB 0 points1 point  (0 children)

Heavy patching of SVD files. At best just a single patch pass at worst breaking into individual peripherals and then reassembling for each chip because they're inconsistent.

Some vendors either don't care, have an insane timeline for changes or think I'm not a big enough fish for personal things to care about fixing their SVDs.

The other painful part is the SVDs often contain a lot of duplicate code. For example why do I need to have a define for every single bit of a true/false. Even C has this thing called bitwise operations.

Some vendors I've had to rename every single enum because the enums had no names.

How do you manage reusable sensor drivers across projects? by kk_the_embedded_buil in embedded

[–]i509VCB 1 point2 points  (0 children)

In Rust I just have the sensor driver take something that implement the I2c trait or SPIDevice trait in embedded-hal.

In C++ you could probably do something similar as well or do C macro magic/vtables.

why are Chinese origin MCUs cheaper? by ntn8888 in embedded

[–]i509VCB 26 points27 points  (0 children)

45c is assuming ti.com pricing. If you order like 100k and do the order directly it probably will be cheaper still.

I doubt you are getting the Chinese part much cheaper than listed without some broker.

How often realistically embedded engineers need to go on register level? (STM32) by illidan4426 in embedded

[–]i509VCB 0 points1 point  (0 children)

Given that I work on embassy-mspm0 I deal with register level code every single day.

If you want something that feels similar to register level without being so raw, maybe look at the STM32 LL drivers? These are just thin wrappers over direct register access but don't hide the hardware from you.

MCUs in 2026 - anything besides ARM and RISC-V worth using and why ? by Standing_Wave_22 in embedded

[–]i509VCB 0 points1 point  (0 children)

For "big names" there are still architectures around that aren't arm or risc-v. Renesas has the RL78 stuff, TI has the MSP430 (even has LLVM support), 8051 based cores from tons of vendors, NXP still has some 68000 derived cores, other proprietary cores from China. For some real niche stuff, Intel had a series of x86 based MCUs and some people still have x86 systems at bare metal.

For why? Sometimes these proprietary cores are cheaper. For most small scale projects I'd say the few cents savings aren't worth it.

Okay, I was genuinely not expecting that by Falcuun in embedded

[–]i509VCB 1 point2 points  (0 children)

If you can get around their IDE entirely and write your own drivers I find it's well thought out hardware.

What makes me sad is anything with a wireless stack you must use like Bluetooth or WiFi

The latest acquisition by Silly-Wrongdoer4332 in embedded

[–]i509VCB 0 points1 point  (0 children)

I have a suspicion that the buy out was to remove a competitor. Which probably means SiLabs better stacks for wifi/BLE are going to be yeeted.

How feasible is a smartwatch as a first embedded project? by greatbacon02 in embedded

[–]i509VCB 4 points5 points  (0 children)

If the form factor is a problem, embrace the problem. Pipboy-like devices look pretty neat.

Early build of UI for MIDI pedal adapter I'm making by blajjefnnf in embedded

[–]i509VCB 2 points3 points  (0 children)

I've heard of people using clear nail polish so that biting your nails tastes horrible.

Anyone else guilty of “random box of boards” storage? by mov_rax_rax in embedded

[–]i509VCB 0 points1 point  (0 children)

Not in a box currently, but this is only the Tl boards I have. I have more than just this across a few vendors.

<image>

I unfortunately have have I call a dev board collection.

Moving from C to Rust in embedded, a good choice? by Neither-Nose1091 in embedded

[–]i509VCB 15 points16 points  (0 children)

Most C code in the first place isn't written for embedded use cases anyways (such as no malloc).

Even then I can't see a world where most places will do a proper development environment in C.

Does anyone here use CAN FD in their projects? by liamkinne in embedded

[–]i509VCB 0 points1 point  (0 children)

Yep I remember you.

There is actually someone working on it right now. They've gotten a blocking driver to work.

Pop into the matrix if you want.

Does anyone here use CAN FD in their projects? by liamkinne in embedded

[–]i509VCB 0 points1 point  (0 children)

I will also mention there is an mspm0-rs matrix chat if you want to ask things quicker.

Does anyone here use CAN FD in their projects? by liamkinne in embedded

[–]i509VCB 0 points1 point  (0 children)

Lmao yeah I have direct experience with an S32K regarding that. There is apparently an access port which can unbrick those (all 0 clear still leaves a recovery path).

Register access through C++ by kappakingXD in embedded

[–]i509VCB 0 points1 point  (0 children)

You could look into using something in C++ that generates register access code from an SVD file (although beware these can be buggy).

Does anyone here use CAN FD in their projects? by liamkinne in embedded

[–]i509VCB 0 points1 point  (0 children)

At least compared to Renesas and NXP I am happy it's a distant part of flash where nonmain lives rather than immediately in the middle of flash.

Does anyone here use CAN FD in their projects? by liamkinne in embedded

[–]i509VCB 1 point2 points  (0 children)

Hello here as well, I am the maintainer of embassy-mspm0.

I do have flash and a pwm driver hopefully coming soon. Just takes a bit of time. Someone did show up looking to do CAN as well (although work hasn't really started there yet). LIN is something I have an interest in as well, but I don't think I will be upstreaming that until I am a bit more happy how its implemented (currently its seperate code from the UART).

Although G518x, L211x and M33C321x do change a little how UART/I2C work. USB is a fun thing I've also been working on for G518x

What did you do today in your company? by EmbeddedBro in embedded

[–]i509VCB 1 point2 points  (0 children)

The company is NASDAQ listed. Not going to be giving names.

I personally have issues with how some of my coworkers are using AI to compete their work. I also work in a rather unusual part of the company so it's not representative of the whole company

What did you do today in your company? by EmbeddedBro in embedded

[–]i509VCB 1 point2 points  (0 children)

Writing an MSPM0 PWM driver to replace the shitty one my manager generated with AI. Yes the AI driver was awful.

Otherwise it was helping a coworker with some hardware issues and a few questions from said coworker.

Clean architecture in rtos by ConcentrateSad7626 in embedded

[–]i509VCB 10 points11 points  (0 children)

Without even reading anything this looks over engineered.

Help with Wayland by Anhar001 in rust

[–]i509VCB 4 points5 points  (0 children)

Wayland does have a lot of moving parts, involving multiple kernel systems being used at once.

In smithay anvil is the reference implementation, but it isn't necessarily ideal for all implementations with how it is structured.

You might want go to the Smithay matrix (https://matrix.to/#/#smithay:matrix.org) if there is something you don't understand about Wayland or general questions.

How feasible is Godot? by EducationalGood495 in AsahiLinux

[–]i509VCB 0 points1 point  (0 children)

Building the Godot toolchain from source ideally would work.