Hacker News new | ask | show | jobs
by gsliepen 745 days ago
Are the toolchains and libraries already much better or will that be in the future? Note that the CPU architecture is the least important thing of a microcontroller; as long as you have a decent compiler for a higher level language you don't care what instruction set it uses. And I can see the toolchain getting more love if it's a more widely used CPU architectue (and Tensilica is rather niche), but I don't see why library support would be any better.
2 comments

The LX6 wasn't supported by LLVM for the longest time, only GCC.

RISC-V is nearly identical to MIPS or Arm, so anything to add Arm support to library, would also make it RV compatible (before inline asm).

Build breakages on LX6 or LX7 are 100% on you.

Forgot to mention, that as these MCU and crossover parts get more capable, the expectation that you can basically run a linux distro and then also communicate with many RT control-loop mcus. At some point, embedded control applications will have a Js toplevel.
I have an open source fetish for RISC-V, but to be honest, the LX6 and LX7 toolchains are perfectly fine in terms of functionality for what most people need a low-cost chip to do. ESP-IDF and FreeRTOS are pretty mature at this point. Really cool things could happen with RISC-V. But when I need a chip to read/write some GPIO pins, drive a display, and do some networking, it doesn't really matter.