Live data from Hacker News

ESP32-C3 WiFi and BLE RISC-V processor is pin-to-pin compatible with ESP8266

cnx-software.com

111–119 of 119 posts

Re: ESP32-C3 WiFi and BLE RISC-V processor is pin-to-pin compatible with ESP8266

#111

Earlier quoted context omitted.

This. If it doesn’t work with the Arduino IDE/platformio, I would rather not use it. What these manufacturers should do is invest in integrating with these SDKs instead of creating their own. And they should document everything to the level that IPFS is documented (just an example of excellent documentation that comes to mind). Do those two things and you got a winner even if the device itself isn’t technically the s…

Because, to be frank, Arduino is a bit of a toy platform. It is really good for beginners and for hobbyists to make embedded devices available to a wider audience, but nobody in their right mind would build an actual product on top of Arduino.

What is the best open source alternative? Ideally one that works similar to PlatformIO where you aren’t tied to a specific IDE.

Re: ESP32-C3 WiFi and BLE RISC-V processor is pin-to-pin compatible with ESP8266

#112
post #86
post #83

Earlier quoted context omitted.

Queued for later.

Obviously with a certain max depth, most probably of 1, meaning you're still missing repeated interrupts.

Sure, although I think "missing" has negative connotations that don't actually apply to this. When unmasked, your interrupt handler usually just runs until there is no more work to do, which is (again, usually) discoverable. Your device driver is still awoken promptly if the interrupt arrived during a critical section.

Re: ESP32-C3 WiFi and BLE RISC-V processor is pin-to-pin compatible with ESP8266

#113

Earlier quoted context omitted.

Because, to be frank, Arduino is a bit of a toy platform. It is really good for beginners and for hobbyists to make embedded devices available to a wider audience, but nobody in their right mind would build an actual product on top of Arduino.

What is the best open source alternative? Ideally one that works similar to PlatformIO where you aren’t tied to a specific IDE.

On things I've personally worked on, I tend to just use the basic libraries supplied by the vendor, or even just implement everything myself from reading data sheets. This is obviously realistic mainly for very small and simple systems, which is what I've usually worked with.

Re: ESP32-C3 WiFi and BLE RISC-V processor is pin-to-pin compatible with ESP8266

#114

Earlier quoted context omitted.

Because, to be frank, Arduino is a bit of a toy platform. It is really good for beginners and for hobbyists to make embedded devices available to a wider audience, but nobody in their right mind would build an actual product on top of Arduino.

I know of a good production line that has seen improvements in efficiency and safety due to automation with Arduino. I’m sure there are better ways but in terms of bang for buck, it’s hard to see how a non-programmer could have done better.

That doesn't sound like using Arduino in a product, though?

Re: ESP32-C3 WiFi and BLE RISC-V processor is pin-to-pin compatible with ESP8266

#115

Earlier quoted context omitted.

I know of a good production line that has seen improvements in efficiency and safety due to automation with Arduino. I’m sure there are better ways but in terms of bang for buck, it’s hard to see how a non-programmer could have done better.

That doesn't sound like using Arduino in a product, though?

No, they are on big bits of equipment.

Re: ESP32-C3 WiFi and BLE RISC-V processor is pin-to-pin compatible with ESP8266

#116

Earlier quoted context omitted.

That is going to put a dent in ARMs revenue. Even if that particular chip isn't a big seller, it means ST now has a drop-in replacement for ARM in their other SoCs. Soon people will realize that ISA is often irrelevant, but the peripherals, libraries, and tools are.

I'm not so sure. About ISA there is this : https://news.ycombinator.com/item?id=24958423

That's one opinion. Another ARM engineer who contributed one heck of a lot more to ARM's success (designed ARM7TDMI, Thumb, Thumb2) says RISC-V is great. See at 51 minutes in this https://www.youtube.com/watch?v=_6sh097Dk5k

Re: ESP32-C3 WiFi and BLE RISC-V processor is pin-to-pin compatible with ESP8266

#117

Earlier quoted context omitted.

Interrupts and exceptions can happen at any point in a program's execution on a microcontroller, and they are free to modify memory and peripheral registers. >Load >Modify register in memory >>Interrupt happens and changes >Write incorrect value back to . These sorts of bugs can be pernicious to debug, and they are easy for novice developers to create.

That's horrifying. What is the fix/mitigation if you don't have proper atomics? I can't see how to properly avoid that.

You disable interrupts for the three instructions it takes to emulate the atomic instruction. Which is barely slower than the atomic instruction would be anyway, because both have to read and write RAM, which is the slow part whether it's one micro-sequenced instruction or several standard ones.

Re: ESP32-C3 WiFi and BLE RISC-V processor is pin-to-pin compatible with ESP8266

#118

Sounds like the Bouffalo BL602 and BL604 that were recently revealed. Competition in this sector is very interesting, I hope the Espressif chip will be as open or even more open than the Bouffalo chip.

I believe Bouffalo has floating point.

Both are SiFive cores, so well documented and supported.

Re: ESP32-C3 WiFi and BLE RISC-V processor is pin-to-pin compatible with ESP8266

#119

Earlier quoted context omitted.

They would be one of an exceedingly small minority, then.

Almost every consumer 3D printer out there runs on top of Arduino. Sure that’s a small market compared to all electronics. But it’s still a big market in absolute terms.

This was true three years ago. Plenty of 3D printers are now using ARM. The Monoprice MP Mini Delta has been out about two years now with a price of $175 US. Marlin 2.0 has support for ARM, I think it would be accurate to say "Almost every consumer 3D printer out there runs on top of Marlin", although there are a few alternatives like Smoothie.
Post reply on HN