News for hackers. Stuff that matters.
Re:Basic Interpreter Hidden in ESP32 Silicon by londons_explore on Thursday November 23, 2023 @04:54PM (#38397994)
So this is in the mask ROM on the chip...?

Can anyone comment on how many dollars it cost them to include this? Mask rom isn't particularly cheap, and historically companies have gone to great lengths to shave tens or hundreds of bytes from their first stage bootloaders that live in ROM...

Seems odd to find an apparent big dollar-waster in a mass market low cost device.

Re:Basic Interpreter Hidden in ESP32 Silicon by tredre3 on Thursday November 23, 2023 @06:50PM (#38399128)
The ESP32 has 448KB of ROM that embeds most of newlibc as well as wireless drivers and part of the bluetooth stack.

From past experience I can say that tinybasic can go down to about 3-4KB in size.

So it was probably "free" in that they had already decided on a rom size to embed and they had some space left.

Re:Basic Interpreter Hidden in ESP32 Silicon by dnedic on Thursday November 23, 2023 @05:20PM (#38398270)
The boot roms in ESP chips are not particularly small anyway, aside from bootup and flashing functionality, they also embed radio functions for WIFI, Bluetooth, Zigbee/Thread, printf implementations, MD5 functions and more.
Re:Basic Interpreter Hidden in ESP32 Silicon by DiabloD3 on Thursday November 23, 2023 @04:59PM (#38398037)
Yes, but no.

The big cost saver is doing one design, mass-mass-mass producing it, and then limiting its functionality per market segment.