logoalt Hacker News

randomint64today at 4:29 PM4 repliesview on HN

Espressif is on fire! And the CPU even has SIMD instructions!

RISC-V cores is a big deal for embedded systems because now compiling for SoCs is only a matter of `rustup target add riscv32imac-unknown-none-elf` instead of downloading half-broken proprietary toolchains and SDKs.

Take a look at https://kerkour.com/introduction-to-embedded-development-wit... and https://kerkour.com/rust-esp32-pentest to get started with modern (Rust ;) embedded development.


Replies

phkahlertoday at 4:59 PM

>> And the CPU even has SIMD instructions!

Yes, but it looks like there is no hardware floating point. The description of the CORDIC module indicates fixed-point calculations, which is consistent with the lack of any reference to floating point.

I am happy the have CAN-FD and Motor PWM module, but nowhere did I see conversion times listed for the ADC. For motor control I demand 1uS conversion time or less, and in the last year I've switched from fixed point to floating point after holding off on that switch for ~15 years.

show 4 replies
Havoctoday at 5:16 PM

Nice. Been meaning to try rust on these sort of devices but the riscv I saw thus far seemed to be mixed arm and riscv which seemed weird

cassepipetoday at 4:53 PM

Curious: What does the "imac" stand for in the architecture target name ?

show 4 replies
toshtoday at 4:54 PM

very interesting, do you have a pointer with more info on what kind of SIMD support it has?

show 1 reply