Skip to content

fix: correctly calculate RAM/bss size on ESP32xx#5481

Open
deadprogram wants to merge 1 commit into
devfrom
fix-esp32-bss-size
Open

fix: correctly calculate RAM/bss size on ESP32xx#5481
deadprogram wants to merge 1 commit into
devfrom
fix-esp32-bss-size

builder: don't count non-writable SHT_NOBITS sections as RAM/bss

1fe44a4
Select commit
Loading
Failed to load commit list.
TinyHCI / tinyhci: arduino succeeded Jun 28, 2026 in 55m 54s

Hardware CI passed

Hardware CI tests have passed.

Details

board image

Arduino Uno

Flash

go: downloading tinygo.org/x/tap v0.1.0
go: downloading tinygo.org/x/drivers v0.33.0
   code    data     bss |   flash     ram
   8128     520     578 |    8648    1098

avrdude: AVR device initialized and ready to accept instructions
avrdude: device signature = 0x1e950f (probably m328p)
avrdude: Note: flash memory has been specified, an erase cycle will be performed.
         To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file /tmp/tinygo3410349397/main.hex for flash
         with 8648 bytes in 1 section within [0, 0x21c7]
         using 68 pages and 56 pad bytes
avrdude: writing 8648 bytes flash ...

Writing | ################################################## | 100% 1.48s

avrdude: 8648 bytes of flash written
avrdude: verifying flash memory against /tmp/tinygo3410349397/main.hex

Reading | ################################################## | 100% 1.12s

avrdude: 8648 bytes of flash verified

avrdude done.  Thank you.


Tests

TAP version 13
1..8
ok 1 - digitalReadVoltage (GPIO)
ok 2 - digitalReadGround (GPIO)
ok 3 - digitalWrite (GPIO)
ok 4 - analogReadVoltage (ADC)
ok 5 - analogReadGround (ADC)
ok 6 - analogReadHalfVoltage (ADC)
ok 7 - i2cConnection (MPU6050)
ok 8 - spiTxRx (SPI)