Skip to content

Comments

lib/stm32-svd: update to latest version for new processors#5203

Draft
deadprogram wants to merge 2 commits intodevfrom
update-stm32-svd
Draft

lib/stm32-svd: update to latest version for new processors#5203
deadprogram wants to merge 2 commits intodevfrom
update-stm32-svd

Conversation

@deadprogram
Copy link
Member

This PR is to update lib/stm32-svd to latest version for new processors

It requires #5168 first, to correctly parse the updated svd files correctly.

amken3d and others added 2 commits January 9, 2026 15:41
Ensure proper resolution of `DerivedFrom` peripherals with error checks for missing references. Clean up interrupt names to remove extra spaces and ensure consistency. This improves the reliability of the SVD parsing tool.
Signed-off-by: deadprogram <ron@hybridgroup.com>
@github-actions
Copy link

Size difference with the dev branch:

Binary size difference
not the same command!
    tinygo build -size short -o ./build/test.hex -target=feather-rp2040 ./examples/adafruit4650
    go: downloading tinygo.org/x/tinyfont v0.3.0
 flash                          ram
 before   after   diff          before   after   diff
  18416   18416      0   0.00%    6216    6216      0   0.00% tinygo build -size short -o ./build/test.hex -target=feather-rp2040 ./examples/adafruit4650
  61328   61328      0   0.00%    6160    6160      0   0.00% tinygo build -size short -o ./build/test.hex -target=itsybitsy-m0 ./examples/adt7410/main.go
   8276    8276      0   0.00%    4728    4728      0   0.00% tinygo build -size short -o ./build/test.hex -target=itsybitsy-m0 ./examples/adxl345/main.go
  13060   13060      0   0.00%    6776    6776      0   0.00% tinygo build -size short -o ./build/test.hex -target=pybadge ./examples/amg88xx
   8436    8436      0   0.00%    4728    4728      0   0.00% tinygo build -size short -o ./build/test.hex -target=itsybitsy-m0 ./examples/apa102/main.go
  11312   11312      0   0.00%    6560    6560      0   0.00% tinygo build -size short -o ./build/test.hex -target=nano-33-ble ./examples/apds9960/proximity/main.go
   9252    9252      0   0.00%    4740    4740      0   0.00% tinygo build -size short -o ./build/test.hex -target=itsybitsy-m0 ./examples/apa102/itsybitsy-m0/main.go
   7356    7356      0   0.00%    2296    2296      0   0.00% tinygo build -size short -o ./build/test.hex -target=microbit ./examples/at24cx/main.go
   7520    7520      0   0.00%    4720    4720      0   0.00% tinygo build -size short -o ./build/test.hex -target=itsybitsy-m0 ./examples/bh1750/main.go
   6880    6880      0   0.00%    4720    4720      0   0.00% tinygo build -size short -o ./build/test.hex -target=itsybitsy-m0 ./examples/blinkm/main.go
  71412   71412      0   0.00%    3640    3640      0   0.00% tinygo build -size short -o ./build/test.hex -target=pinetime     ./examples/bma42x/main.go
  65196   65196      0   0.00%    6176    6176      0   0.00% tinygo build -size short -o ./build/test.hex -target=itsybitsy-m0 ./examples/bmi160/main.go
  27176   27176      0   0.00%    4760    4760      0   0.00% tinygo build -size short -o ./build/test.hex -target=itsybitsy-m0 ./examples/bmp180/main.go
  63876   63876      0   0.00%    6200    6200      0   0.00% tinygo build -size short -o ./build/test.hex -target=itsybitsy-m0 ./examples/bmp280/main.go
  11396   11396      0   0.00%    4792    4792      0   0.00% tinygo build -size short -o ./build/test.hex -target=trinket-m0 ./examples/bmp388/main.go
  24836   24836      0   0.00%    5384    5384      0   0.00% tinygo build -size short -o ./build/test.hex -target=metro-rp2350 ./examples/bno08x/i2c/main.go
 415728  415728      0   0.00%   82596   82596      0   0.00%

@deadprogram deadprogram marked this pull request as draft February 18, 2026 15:16
@deadprogram
Copy link
Member Author

Looks like an issue here tinygo-org/stm32-svd#12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants