tinygo/src
Ayke van Laethem 839edec64c cortexm: fix stack size offset
The old code was broken and led to a HardFault in a rather convoluted
way:

 1. The CFA offset was incorrect, in fact it was not aligned (the stack
    is supposed to always be aligned to 4 bytes at least).
 2. This unaligned size was then used for stack size calculations.
 3. A stack that wasn't a multiple of 4 was allocated.
 4. The calleeSavedRegs struct (in `(internal/task.state).archInit`) was
    not correctly aligned.
 5. Writing to this struct resulted in a HardFault.
2023-04-27 00:11:53 +02:00
..
crypto build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
device device/gba: additional IO mapping for sound, DMA, SIO, and sprites 2023-04-24 18:11:29 +02:00
examples examples: replace fmt with encoding/hex in usb-midi example 2023-04-17 08:54:06 +02:00
internal cortexm: fix stack size offset 2023-04-27 00:11:53 +02:00
machine Add machine.CPUReset() (#3595) 2023-04-25 19:10:47 +02:00
net Added missing TCPAddr and UDPAddr implementations to the net package 2023-03-10 10:11:32 -08:00
os fix resource leak in os.(*File).Close 2023-03-28 13:12:21 +02:00
reflect reflect: uncomment a another test the fails and doc some that don't 2023-04-01 22:46:46 +02:00
runtime runtime: improve panic message when heap allocating in an interrupt 2023-04-26 20:04:06 +02:00
sync Update docs 2022-11-04 19:53:12 +01:00
syscall fix resource leak in os.(*File).Close 2023-03-28 13:12:21 +02:00
testing testing: add -test.shuffle to order randomize test and benchmark order 2023-04-12 20:43:41 +02:00