-
Notifications
You must be signed in to change notification settings - Fork 857
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding new target for pca10056: s140v6-uf2 #3764
Adding new target for pca10056: s140v6-uf2 #3764
Commits on Mar 8, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c192c73 - Browse repository at this point
Copy the full SHA c192c73View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2de64d3 - Browse repository at this point
Copy the full SHA 2de64d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a45b73 - Browse repository at this point
Copy the full SHA 6a45b73View commit details
Commits on Mar 9, 2023
-
machine/samd51: implement Flash interface
Signed-off-by: deadprogram <ron@hybridgroup.com>
Configuration menu - View commit details
-
Copy full SHA for 51c1579 - Browse repository at this point
Copy the full SHA 51c1579View commit details -
machine/samd51: disable/restore Flash cache on write/erase
Signed-off-by: deadprogram <ron@hybridgroup.com>
Configuration menu - View commit details
-
Copy full SHA for 0bc1973 - Browse repository at this point
Copy the full SHA 0bc1973View commit details
Commits on Mar 10, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 7706c41 - Browse repository at this point
Copy the full SHA 7706c41View commit details -
os,syscall: Stat_t timespec fields are Atimespec on darwin
This allows archive/tar to build and pass.
Configuration menu - View commit details
-
Copy full SHA for 4716298 - Browse repository at this point
Copy the full SHA 4716298View commit details -
syscall: add Timespec.Unix() for wasi.
This allows archive/tar to build (but not yet pass).
Configuration menu - View commit details
-
Copy full SHA for cf4a6d3 - Browse repository at this point
Copy the full SHA cf4a6d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for a608476 - Browse repository at this point
Copy the full SHA a608476View commit details
Commits on Mar 11, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 69e5c50 - Browse repository at this point
Copy the full SHA 69e5c50View commit details
Commits on Mar 12, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d610322 - Browse repository at this point
Copy the full SHA d610322View commit details -
Configuration menu - View commit details
-
Copy full SHA for 08cf2b2 - Browse repository at this point
Copy the full SHA 08cf2b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for faa449a - Browse repository at this point
Copy the full SHA faa449aView commit details -
machine/rp2040: implement Flash interface
Signed-off-by: deadprogram <ron@hybridgroup.com>
Configuration menu - View commit details
-
Copy full SHA for 60366ad - Browse repository at this point
Copy the full SHA 60366adView commit details -
machine/flash: refactor to keep use of pure offset relative to start
Signed-off-by: deadprogram <ron@hybridgroup.com>
Configuration menu - View commit details
-
Copy full SHA for 5db83f1 - Browse repository at this point
Copy the full SHA 5db83f1View commit details -
machine/rp2040: correct Flash implementation
Signed-off-by: deadprogram <ron@hybridgroup.com>
Configuration menu - View commit details
-
Copy full SHA for e6580bf - Browse repository at this point
Copy the full SHA e6580bfView commit details
Commits on Mar 13, 2023
-
builder: add test to check for changes in binary size
This test only applies when using the built-in LLVM version. This way, we have a stable LLVM version to test against. Distribution versions of LLVM (especially Debian) tend to be patched in a way that affect the results.
Configuration menu - View commit details
-
Copy full SHA for 0e94553 - Browse repository at this point
Copy the full SHA 0e94553View commit details
Commits on Mar 14, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a52cad3 - Browse repository at this point
Copy the full SHA a52cad3View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb394c7 - Browse repository at this point
Copy the full SHA fb394c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b27638 - Browse repository at this point
Copy the full SHA 3b27638View commit details -
Configuration menu - View commit details
-
Copy full SHA for 04412cb - Browse repository at this point
Copy the full SHA 04412cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for f42d8b3 - Browse repository at this point
Copy the full SHA f42d8b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for ad9f790 - Browse repository at this point
Copy the full SHA ad9f790View commit details -
Configuration menu - View commit details
-
Copy full SHA for e0aee1f - Browse repository at this point
Copy the full SHA e0aee1fView commit details -
reflect: fix off-by-one in Zero sizing
Without this, pointers wouldn't be set to nil. Add some tests.
Configuration menu - View commit details
-
Copy full SHA for 069c397 - Browse repository at this point
Copy the full SHA 069c397View commit details -
Configuration menu - View commit details
-
Copy full SHA for 584a271 - Browse repository at this point
Copy the full SHA 584a271View commit details -
Configuration menu - View commit details
-
Copy full SHA for a366c01 - Browse repository at this point
Copy the full SHA a366c01View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6768af9 - Browse repository at this point
Copy the full SHA 6768af9View commit details -
Configuration menu - View commit details
-
Copy full SHA for b044d27 - Browse repository at this point
Copy the full SHA b044d27View commit details
Commits on Mar 15, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 94a54bc - Browse repository at this point
Copy the full SHA 94a54bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for ac36f23 - Browse repository at this point
Copy the full SHA ac36f23View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0da97e2 - Browse repository at this point
Copy the full SHA 0da97e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 91d6ca0 - Browse repository at this point
Copy the full SHA 91d6ca0View commit details -
Co-authored-by: Ayke <aykevanlaethem@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for e849901 - Browse repository at this point
Copy the full SHA e849901View commit details -
Configuration menu - View commit details
-
Copy full SHA for c672864 - Browse repository at this point
Copy the full SHA c672864View commit details -
reflect: fix Type.Name to return empty string for non-named types
// Name returns the type's name within its package for a defined type. // For other (non-defined) types it returns the empty string.
Configuration menu - View commit details
-
Copy full SHA for 9f02340 - Browse repository at this point
Copy the full SHA 9f02340View commit details -
Configuration menu - View commit details
-
Copy full SHA for fa4f361 - Browse repository at this point
Copy the full SHA fa4f361View commit details -
Configuration menu - View commit details
-
Copy full SHA for d9c6f7c - Browse repository at this point
Copy the full SHA d9c6f7cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 15109a2 - Browse repository at this point
Copy the full SHA 15109a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 93fb897 - Browse repository at this point
Copy the full SHA 93fb897View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1626b50 - Browse repository at this point
Copy the full SHA 1626b50View commit details -
Configuration menu - View commit details
-
Copy full SHA for 344e493 - Browse repository at this point
Copy the full SHA 344e493View commit details -
Configuration menu - View commit details
-
Copy full SHA for 833c91f - Browse repository at this point
Copy the full SHA 833c91fView commit details
Commits on Mar 16, 2023
-
device/gba: add mostly complete hand-written register definitions
Signed-off-by: deadprogram <ron@hybridgroup.com>
Configuration menu - View commit details
-
Copy full SHA for 4f7864b - Browse repository at this point
Copy the full SHA 4f7864bView commit details -
machine, runtime/interrupt: switch to use register definitions from d…
…evice/gba Signed-off-by: deadprogram <ron@hybridgroup.com>
Configuration menu - View commit details
-
Copy full SHA for 383e7ae - Browse repository at this point
Copy the full SHA 383e7aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for db08b5a - Browse repository at this point
Copy the full SHA db08b5aView commit details -
transform: update allocs test to opaque pointers
Also, rename most of the SSA values while we're at it.
Configuration menu - View commit details
-
Copy full SHA for 0ddd656 - Browse repository at this point
Copy the full SHA 0ddd656View commit details -
Configuration menu - View commit details
-
Copy full SHA for f8a6e66 - Browse repository at this point
Copy the full SHA f8a6e66View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7fb2382 - Browse repository at this point
Copy the full SHA 7fb2382View commit details -
Configuration menu - View commit details
-
Copy full SHA for e4f29ae - Browse repository at this point
Copy the full SHA e4f29aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 905269b - Browse repository at this point
Copy the full SHA 905269bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ec3a4da - Browse repository at this point
Copy the full SHA ec3a4daView commit details -
Configuration menu - View commit details
-
Copy full SHA for af247e2 - Browse repository at this point
Copy the full SHA af247e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for e0f3333 - Browse repository at this point
Copy the full SHA e0f3333View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4acb1a5 - Browse repository at this point
Copy the full SHA 4acb1a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c40ee9 - Browse repository at this point
Copy the full SHA 6c40ee9View commit details
Commits on Mar 18, 2023
-
machine/stm32: correct Flash implementation
Signed-off-by: deadprogram <ron@hybridgroup.com>
Configuration menu - View commit details
-
Copy full SHA for c559863 - Browse repository at this point
Copy the full SHA c559863View commit details -
compiler: support all kinds of recursive types
Previously we only supported recursive types in structs. But there can be other kinds of recursive types, like slices: type RecursiveSlice []RecursiveSlice This doesn't involve structs, so it led to infinite recursion in the compiler. This fix avoids recursion at the proper level: at the place where the named type is defined.
Configuration menu - View commit details
-
Copy full SHA for 5b42871 - Browse repository at this point
Copy the full SHA 5b42871View commit details
Commits on Mar 19, 2023
-
docker: correct path for GHCR dev container build
Signed-off-by: deadprogram <ron@hybridgroup.com>
Configuration menu - View commit details
-
Copy full SHA for 821227a - Browse repository at this point
Copy the full SHA 821227aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a96f0f - Browse repository at this point
Copy the full SHA 7a96f0fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 569817a - Browse repository at this point
Copy the full SHA 569817aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a685b2 - Browse repository at this point
Copy the full SHA 6a685b2View commit details -
compiler: only define the package path once
Adding tinygo-org#3534 by hand to avoid conflicts when I rebase.
Configuration menu - View commit details
-
Copy full SHA for 0d65b4d - Browse repository at this point
Copy the full SHA 0d65b4dView commit details -
Configuration menu - View commit details
-
Copy full SHA for f2cc98c - Browse repository at this point
Copy the full SHA f2cc98cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 876f089 - Browse repository at this point
Copy the full SHA 876f089View commit details -
Configuration menu - View commit details
-
Copy full SHA for 229f479 - Browse repository at this point
Copy the full SHA 229f479View commit details -
Configuration menu - View commit details
-
Copy full SHA for e0329b2 - Browse repository at this point
Copy the full SHA e0329b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f8127d - Browse repository at this point
Copy the full SHA 4f8127dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 24b4dc3 - Browse repository at this point
Copy the full SHA 24b4dc3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6fbe6fa - Browse repository at this point
Copy the full SHA 6fbe6faView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8fb5877 - Browse repository at this point
Copy the full SHA 8fb5877View commit details -
Configuration menu - View commit details
-
Copy full SHA for 57b0c21 - Browse repository at this point
Copy the full SHA 57b0c21View commit details
Commits on Mar 21, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 4d43df7 - Browse repository at this point
Copy the full SHA 4d43df7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 17f5fb1 - Browse repository at this point
Copy the full SHA 17f5fb1View commit details -
compiler: correctly generate code for local named types
It is possible to create function-local named types: func foo() any { type named int return named(0) } This patch makes sure they don't alias with named types declared at the package scope. Bug originally found by Damian Gryski while working on reflect support.
Configuration menu - View commit details
-
Copy full SHA for 523c6c0 - Browse repository at this point
Copy the full SHA 523c6c0View commit details -
nrf: fix memory issue in ADC read
There was a very subtle bug in the ADC read code: it stores a pointer to a variable in a register, waits for the hardware to complete the read, and then reads the value again from the local variable. Unfortunately, the compiler doesn't know there is some form of synchronization happening in between. This can be fixed in roughly two ways: * Introduce some sort of synchronization. * Do a volatile read from the variable. I chose the second one as it is probably the least intrusive. We certainly don't need atomic instructions (the chip is single threaded), we just need to tell the compiler the value could have changed by making the read volatile.
Configuration menu - View commit details
-
Copy full SHA for 5ed0cec - Browse repository at this point
Copy the full SHA 5ed0cecView commit details -
compiler: add alloc attributes to runtime.alloc
This gives a small improvement now, and is needed to be able to use the Heap2Stack transform that's available in the Attributor pass. This Heap2Stack transform could replace our custom OptimizeAllocs pass. Most of the changes are just IR that changed, the actual change is relatively small. To give an example of why this is useful, here is the code size before this change: $ tinygo build -o test -size=short ./testdata/stdlib.go code data bss | flash ram 95620 1812 968 | 97432 2780 $ tinygo build -o test -size=short ./testdata/stdlib.go code data bss | flash ram 95380 1812 968 | 97192 2780 That's a 0.25% reduction. Not a whole lot, but nice for such a small patch.
Configuration menu - View commit details
-
Copy full SHA for f180339 - Browse repository at this point
Copy the full SHA f180339View commit details
Commits on Mar 22, 2023
-
machine/usb: add ability to override default VID, PID, manufacturer n…
…ame, and product name Signed-off-by: deadprogram <ron@hybridgroup.com>
Configuration menu - View commit details
-
Copy full SHA for e8f6df9 - Browse repository at this point
Copy the full SHA e8f6df9View commit details -
examples: use hid-keyboard example to show how to to override default…
… USB VID, PID, manufacturer name, and product name Signed-off-by: deadprogram <ron@hybridgroup.com>
Configuration menu - View commit details
-
Copy full SHA for a4a1001 - Browse repository at this point
Copy the full SHA a4a1001View commit details -
wasm: implement the //go:wasmimport directive
It is implemented upstream and looks pretty stable.
Configuration menu - View commit details
-
Copy full SHA for 62e1c3e - Browse repository at this point
Copy the full SHA 62e1c3eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b0e56c - Browse repository at this point
Copy the full SHA 4b0e56cView commit details
Commits on Mar 24, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d73e12d - Browse repository at this point
Copy the full SHA d73e12dView commit details
Commits on Mar 25, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c482d65 - Browse repository at this point
Copy the full SHA c482d65View commit details -
Configuration menu - View commit details
-
Copy full SHA for 35dcf13 - Browse repository at this point
Copy the full SHA 35dcf13View commit details -
Configuration menu - View commit details
-
Copy full SHA for 688a5db - Browse repository at this point
Copy the full SHA 688a5dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 45c916f - Browse repository at this point
Copy the full SHA 45c916fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3612b77 - Browse repository at this point
Copy the full SHA 3612b77View commit details -
Configuration menu - View commit details
-
Copy full SHA for bedd27b - Browse repository at this point
Copy the full SHA bedd27bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2152735 - Browse repository at this point
Copy the full SHA 2152735View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6cb7f29 - Browse repository at this point
Copy the full SHA 6cb7f29View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3aa8c8e - Browse repository at this point
Copy the full SHA 3aa8c8eView commit details -
Configuration menu - View commit details
-
Copy full SHA for f7880e7 - Browse repository at this point
Copy the full SHA f7880e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for a5ddc68 - Browse repository at this point
Copy the full SHA a5ddc68View commit details -
Configuration menu - View commit details
-
Copy full SHA for adaa7ca - Browse repository at this point
Copy the full SHA adaa7caView commit details -
Configuration menu - View commit details
-
Copy full SHA for c0f8f12 - Browse repository at this point
Copy the full SHA c0f8f12View commit details -
Configuration menu - View commit details
-
Copy full SHA for 63c7a41 - Browse repository at this point
Copy the full SHA 63c7a41View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c0bf8b - Browse repository at this point
Copy the full SHA 9c0bf8bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7201b13 - Browse repository at this point
Copy the full SHA 7201b13View commit details -
Configuration menu - View commit details
-
Copy full SHA for 360f690 - Browse repository at this point
Copy the full SHA 360f690View commit details
Commits on Mar 27, 2023
-
Refactor SystemStack function for arm targets.
Removing usage of AsmFull in favor of writing inline assembly in C.
Configuration menu - View commit details
-
Copy full SHA for a3fdbec - Browse repository at this point
Copy the full SHA a3fdbecView commit details -
Configuration menu - View commit details
-
Copy full SHA for 13fb5aa - Browse repository at this point
Copy the full SHA 13fb5aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 72c7adf - Browse repository at this point
Copy the full SHA 72c7adfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b6bb12 - Browse repository at this point
Copy the full SHA 0b6bb12View commit details -
Configuration menu - View commit details
-
Copy full SHA for 855e12d - Browse repository at this point
Copy the full SHA 855e12dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b73b5e - Browse repository at this point
Copy the full SHA 6b73b5eView commit details -
Configuration menu - View commit details
-
Copy full SHA for f239e8e - Browse repository at this point
Copy the full SHA f239e8eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 39f76f4 - Browse repository at this point
Copy the full SHA 39f76f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 97ece75 - Browse repository at this point
Copy the full SHA 97ece75View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c0f61c - Browse repository at this point
Copy the full SHA 2c0f61cView commit details -
reflect: use direct calls to runtime string functions
The runtime.stringFromBytesTyped and runtime.stringToBytesTyped functions aren't really necessary, because they have the same LLVM IR signature. Therefore, remove them and link directly to the functions that the compiler uses internally.
Configuration menu - View commit details
-
Copy full SHA for 3104362 - Browse repository at this point
Copy the full SHA 3104362View commit details
Commits on Mar 28, 2023
-
compiler: only support //go:wasmimport on declared functions
Don't support this pragma on defined functions. It is only meant for importing, not for exporting.
Configuration menu - View commit details
-
Copy full SHA for 17bc0d6 - Browse repository at this point
Copy the full SHA 17bc0d6View commit details -
fix resource leak in os.(*File).Close
Signed-off-by: Achille Roussel <achille.roussel@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 85da9a0 - Browse repository at this point
Copy the full SHA 85da9a0View commit details -
machine/lorae5: correct mapping for I2C bus, add pin mapping to enabl…
…e power Signed-off-by: deadprogram <ron@hybridgroup.com>
Configuration menu - View commit details
-
Copy full SHA for dfb8c99 - Browse repository at this point
Copy the full SHA dfb8c99View commit details
Commits on Mar 29, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c611c72 - Browse repository at this point
Copy the full SHA c611c72View commit details -
rp2040: remove SPI DataBits property
As discussed on Slack, I believe this property does more harm than good: * I don't think it's used anywhere. None of the drivers use it. * It is not fully implemented. While values <= 8 might work fine, values larger than 8 result in extra zero bits (instead of anything sensible). * Worse, it doesn't return an error when it's out of range. This is not an optional property: if the SPI peripheral doesn't support a particular number of bits, it should return an error instead of silently limiting the number of bits. This will be confusing to users. Therefore, I propose we drop it. Maybe there are good uses for it (perhaps for displays that use big endian 16-bit values?), but without a good use case like a driver in tinygo.org/x/drivers, I think it's more trouble than it's worth.
Configuration menu - View commit details
-
Copy full SHA for 568c2a4 - Browse repository at this point
Copy the full SHA 568c2a4View commit details -
compiler: implement most math/bits functions
These functions can be implemented more efficiently using LLVM intrinsics. That makes them the Go equivalent of functions like __builtin_clz which are also implemented using these LLVM intrinsics. I believe the Go compiler does something very similar: IIRC it converts calls to these functions into optimal instructions for the given architecture. I tested these by running `tinygo test math/bits` after uncommenting the tests that would always fail (the *PanicZero and *PanicOverflow tests).
Configuration menu - View commit details
-
Copy full SHA for 464ebc4 - Browse repository at this point
Copy the full SHA 464ebc4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5fee342 - Browse repository at this point
Copy the full SHA 5fee342View commit details -
Configuration menu - View commit details
-
Copy full SHA for cb9c6f0 - Browse repository at this point
Copy the full SHA cb9c6f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for a3afd4e - Browse repository at this point
Copy the full SHA a3afd4eView commit details -
Configuration menu - View commit details
-
Copy full SHA for bf20c65 - Browse repository at this point
Copy the full SHA bf20c65View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e4e4ee - Browse repository at this point
Copy the full SHA 4e4e4eeView commit details
Commits on Mar 30, 2023
-
build: add GH workflow to build LLVM image when needed
Signed-off-by: deadprogram <ron@hybridgroup.com>
Configuration menu - View commit details
-
Copy full SHA for 1213a45 - Browse repository at this point
Copy the full SHA 1213a45View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3fbd3c4 - Browse repository at this point
Copy the full SHA 3fbd3c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a60a1f - Browse repository at this point
Copy the full SHA 1a60a1fView commit details -
Configuration menu - View commit details
-
Copy full SHA for e7bd22e - Browse repository at this point
Copy the full SHA e7bd22eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 53b95ca - Browse repository at this point
Copy the full SHA 53b95caView commit details -
Configuration menu - View commit details
-
Copy full SHA for 181d2ad - Browse repository at this point
Copy the full SHA 181d2adView commit details -
Configuration menu - View commit details
-
Copy full SHA for 017ab4c - Browse repository at this point
Copy the full SHA 017ab4cView commit details -
Configuration menu - View commit details
-
Copy full SHA for a11f243 - Browse repository at this point
Copy the full SHA a11f243View commit details -
Configuration menu - View commit details
-
Copy full SHA for d4bdd83 - Browse repository at this point
Copy the full SHA d4bdd83View commit details -
Configuration menu - View commit details
-
Copy full SHA for 195de23 - Browse repository at this point
Copy the full SHA 195de23View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5faff2e - Browse repository at this point
Copy the full SHA 5faff2eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0cd93a3 - Browse repository at this point
Copy the full SHA 0cd93a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for b044d4f - Browse repository at this point
Copy the full SHA b044d4fView commit details -
rp2040: unify all linker scripts using LDFLAGS
The only thing that's different between all these chips is the flash size, which can easily be passed as a linker flag instead. This removes a bunch of duplicate code in an uncommon language (linker script). I've also fixed a few boards with incorrect flash sizes: * nano-rp2040 has 16MB instead of 2MB * macropad-rp2040 has 8MB instead of 2MB * gopher-badge has 8MB instead of 1MB
Configuration menu - View commit details
-
Copy full SHA for e0bf376 - Browse repository at this point
Copy the full SHA e0bf376View commit details -
Configuration menu - View commit details
-
Copy full SHA for b39a982 - Browse repository at this point
Copy the full SHA b39a982View commit details -
Configuration menu - View commit details
-
Copy full SHA for e6ccdd9 - Browse repository at this point
Copy the full SHA e6ccdd9View commit details
Commits on Mar 31, 2023
-
This makes running benchmarks repeatedly easier.
Configuration menu - View commit details
-
Copy full SHA for 698b1f1 - Browse repository at this point
Copy the full SHA 698b1f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for a2f95d6 - Browse repository at this point
Copy the full SHA a2f95d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9182664 - Browse repository at this point
Copy the full SHA 9182664View commit details -
Configuration menu - View commit details
-
Copy full SHA for 84a3273 - Browse repository at this point
Copy the full SHA 84a3273View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a81cac - Browse repository at this point
Copy the full SHA 4a81cacView commit details -
Configuration menu - View commit details
-
Copy full SHA for d50c54f - Browse repository at this point
Copy the full SHA d50c54fView commit details -
main: set WASMTIME_BACKTRACE_DETAILS when running in wasmtime.
I find myself consistently running tests, seeing them panic, and then immediately running them again with this environment variable set. It's easier to just have tinygo do this for me.
Configuration menu - View commit details
-
Copy full SHA for 50d6813 - Browse repository at this point
Copy the full SHA 50d6813View commit details
Commits on Apr 1, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ee81c31 - Browse repository at this point
Copy the full SHA ee81c31View commit details -
Configuration menu - View commit details
-
Copy full SHA for 63aaa43 - Browse repository at this point
Copy the full SHA 63aaa43View commit details -
Configuration menu - View commit details
-
Copy full SHA for 66d3c4e - Browse repository at this point
Copy the full SHA 66d3c4eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8badf79 - Browse repository at this point
Copy the full SHA 8badf79View commit details -
Removing it improves SPI performance by about 20% for me (updating the display of a Gopher Badge).
Configuration menu - View commit details
-
Copy full SHA for 6eda52a - Browse repository at this point
Copy the full SHA 6eda52aView commit details -
reflect: handle Convert'ing between identical underlying types
Needed for go-jose/v3
Configuration menu - View commit details
-
Copy full SHA for 60bb832 - Browse repository at this point
Copy the full SHA 60bb832View commit details -
Configuration menu - View commit details
-
Copy full SHA for a85cb22 - Browse repository at this point
Copy the full SHA a85cb22View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c4f9d1 - Browse repository at this point
Copy the full SHA 0c4f9d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e7882b - Browse repository at this point
Copy the full SHA 9e7882bView commit details -
rp2040: use 4MHz as default frequency for SPI
This matches other SPI implementations. I think the original value of 115200 was from a confusion with UART.
Configuration menu - View commit details
-
Copy full SHA for 7d83e76 - Browse repository at this point
Copy the full SHA 7d83e76View commit details
Commits on Apr 2, 2023
-
machine/usb/hid/joystick: move joystick under HID as it belongs and a…
…lso remove duplicate code Signed-off-by: deadprogram <ron@hybridgroup.com>
Configuration menu - View commit details
-
Copy full SHA for 9e97566 - Browse repository at this point
Copy the full SHA 9e97566View commit details -
Configuration menu - View commit details
-
Copy full SHA for 71b44e7 - Browse repository at this point
Copy the full SHA 71b44e7View commit details
Commits on Apr 3, 2023
-
samd51: use correct SPI frequency
The SPI frequency was rounded up, not rounded down. This meant that if you wanted to configure 15MHz for example, it would pick the next available frequency (24MHz). That's unsafe, the safe option is to round down and the SPI support for most other chips also rounds down for this reason. In addition, I've improved SPI clock selection so that it will pick the best clock of the two, widening the available frequencies. See the comments in the patch for details.
Configuration menu - View commit details
-
Copy full SHA for 19e4db4 - Browse repository at this point
Copy the full SHA 19e4db4View commit details
Commits on Apr 4, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 4bf7308 - Browse repository at this point
Copy the full SHA 4bf7308View commit details -
Configuration menu - View commit details
-
Copy full SHA for feadb9c - Browse repository at this point
Copy the full SHA feadb9cView commit details -
Configuration menu - View commit details
-
Copy full SHA for e0385e4 - Browse repository at this point
Copy the full SHA e0385e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for ad3e9e1 - Browse repository at this point
Copy the full SHA ad3e9e1View commit details -
rp2040: use DMA for send-only SPI transfers
This improves slightly. It also is some groundwork for better DMA support in TinyGo in the future. I'm not entirely sure why it improves performance (in theory the old code should already saturate the SPI bus) but it does, so 🤷
Configuration menu - View commit details
-
Copy full SHA for 3b4e543 - Browse repository at this point
Copy the full SHA 3b4e543View commit details
Commits on Apr 10, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 4217549 - Browse repository at this point
Copy the full SHA 4217549View commit details
Commits on Apr 11, 2023
-
Configuration menu - View commit details
-
Copy full SHA for e00a239 - Browse repository at this point
Copy the full SHA e00a239View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1672610 - Browse repository at this point
Copy the full SHA 1672610View commit details
Commits on Apr 12, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 4326c8f - Browse repository at this point
Copy the full SHA 4326c8fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 60b23a7 - Browse repository at this point
Copy the full SHA 60b23a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0244bed - Browse repository at this point
Copy the full SHA 0244bedView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b1dc4f - Browse repository at this point
Copy the full SHA 2b1dc4fView commit details
Commits on Apr 16, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b4c9b57 - Browse repository at this point
Copy the full SHA b4c9b57View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b9bee4 - Browse repository at this point
Copy the full SHA 8b9bee4View commit details
Commits on Apr 17, 2023
-
examples: replace fmt with encoding/hex in usb-midi example
Signed-off-by: deadprogram <ron@hybridgroup.com>
Configuration menu - View commit details
-
Copy full SHA for 48ef68d - Browse repository at this point
Copy the full SHA 48ef68dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1bba5f5 - Browse repository at this point
Copy the full SHA 1bba5f5View commit details
Commits on Apr 18, 2023
-
Multisampling/averaging (using the Samples configuration property) was returning incorrect values. When I investigated this, I found that the samd51 gives erratic values when using multisampling together with fewer than 16 bits resolution. I fixed this by forcing 16 bit resolution when multisampling, and adjusting the output to account for multisampling. Found while reading the battery value on a pybadge, which gave non-sensible values with Samples set to a value larger than 1.
Configuration menu - View commit details
-
Copy full SHA for 64957c5 - Browse repository at this point
Copy the full SHA 64957c5View commit details -
Signed-off-by: cui fliter <imcusg@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 4e9f9e2 - Browse repository at this point
Copy the full SHA 4e9f9e2View commit details
Commits on Apr 22, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 06e34ca - Browse repository at this point
Copy the full SHA 06e34caView commit details
Commits on Apr 24, 2023
-
device/gba: additional IO mapping for sound, DMA, SIO, and sprites
Signed-off-by: deadprogram <ron@hybridgroup.com>
Configuration menu - View commit details
-
Copy full SHA for 79b63dd - Browse repository at this point
Copy the full SHA 79b63ddView commit details
Commits on Apr 25, 2023
-
Configuration menu - View commit details
-
Copy full SHA for af9f196 - Browse repository at this point
Copy the full SHA af9f196View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7aac1a1 - Browse repository at this point
Copy the full SHA 7aac1a1View commit details -
machine/gba: rename display and make pointer receivers
Signed-off-by: deadprogram <ron@hybridgroup.com>
Configuration menu - View commit details
-
Copy full SHA for c89a684 - Browse repository at this point
Copy the full SHA c89a684View commit details -
Revert "all: honour port for
-monitor
flash flag"This reverts commit 7aac1a1.
Configuration menu - View commit details
-
Copy full SHA for 4bf8b61 - Browse repository at this point
Copy the full SHA 4bf8b61View commit details -
Revert "all: better errors when multiple mcus share VID/PID"
This reverts commit af9f196.
Configuration menu - View commit details
-
Copy full SHA for 76303f9 - Browse repository at this point
Copy the full SHA 76303f9View commit details -
Add machine.CPUReset() (tinygo-org#3595)
machine: Add machine.CPUReset() for cortexm
Configuration menu - View commit details
-
Copy full SHA for 5983833 - Browse repository at this point
Copy the full SHA 5983833View commit details
Commits on Apr 26, 2023
-
runtime: print the address where a panic happened
This is not very useful in itself, but makes it possible to detect this address in the output. See the next commit. This adds around 50 bytes to each binary (except for AVR and wasm). This is unfortunate, but I think this feature is quite useful still. A future enhancement might be to create a build tag for extended panic information that's not set by default.
Configuration menu - View commit details
-
Copy full SHA for 3392827 - Browse repository at this point
Copy the full SHA 3392827View commit details -
main: print source location when a panic happens in -monitor
The previous commit started printing the instruction address for runtime panics. This commit starts using this address to print the source location. Here is an example where this feature is very useful. There is a heap allocation in the Bluetooth package, but we don't know where exactly. Printing the instruction address of the panic is already useful, but what is even more useful is looking up this address in the DWARF debug information that's part of the binary: $ tinygo flash -target=circuitplay-bluefruit -monitor ./examples/heartrate Connected to /dev/ttyACM0. Press Ctrl-C to exit. tick 00:00.810 tick 00:01.587 tick 00:02.387 tick 00:03.244 panic: runtime error at 0x00027c4d: alloc in interrupt [tinygo: panic at /home/ayke/src/tinygo/bluetooth/adapter_sd.go:74:4] To be clear, this path isn't stored on the microcontroller. It's stored as part of the build, and `-monitor` just looks up the path from the panic message. Possible enhancements: - Print such an address for regular panics as well. I'm not sure that's so useful, as it's usually a lot easier to look up panics just by their message. - Use runtimePanicAt (instead of runtimePanic) in other locations, if that proves to be beneficial. - Print the TinyGo-generated output in some other color, to distinguish it from the regular console output. - Print more details when panicking (registers, stack values), and print an actual backtrace.
Configuration menu - View commit details
-
Copy full SHA for ae381e7 - Browse repository at this point
Copy the full SHA ae381e7View commit details -
runtime: improve panic message when heap allocating in an interrupt
The old message may have been confusing. With the new message, it should be more clear that we mean a _heap_ allocation.
Configuration menu - View commit details
-
Copy full SHA for 0b2aec1 - Browse repository at this point
Copy the full SHA 0b2aec1View commit details -
cortexm: add "gdb" as a debugger
At least on Arch Linux ARM, there is no gdb-multiarch or something, just "gdb" and it works for 32-bit ARM as well.
Configuration menu - View commit details
-
Copy full SHA for 7e05c92 - Browse repository at this point
Copy the full SHA 7e05c92View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 839edec - Browse repository at this point
Copy the full SHA 839edecView commit details
Commits on Apr 27, 2023
-
builder: add link to compatibility matrix
For context, see: tinygo-org/tinygo-site#327 It only needs to be updated every half year, so it's not too bad, and it could be very useful to some people.
Configuration menu - View commit details
-
Copy full SHA for 9bf5d6a - Browse repository at this point
Copy the full SHA 9bf5d6aView commit details -
Signed-off-by: deadprogram <ron@hybridgroup.com>
Configuration menu - View commit details
-
Copy full SHA for 9d7dd3d - Browse repository at this point
Copy the full SHA 9d7dd3dView commit details -
docs: update README for brevity and to add further info about webasse…
…mbly also, add links to guides about OS-specific development on website for macOS and Windows. Signed-off-by: deadprogram <ron@hybridgroup.com>
Configuration menu - View commit details
-
Copy full SHA for 36bd66a - Browse repository at this point
Copy the full SHA 36bd66aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c0fbbf - Browse repository at this point
Copy the full SHA 4c0fbbfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a2dd35 - Browse repository at this point
Copy the full SHA 6a2dd35View commit details
Commits on Apr 28, 2023
-
machine/usb: refactoring descriptors into subpackage for modularity
Signed-off-by: deadprogram <ron@hybridgroup.com>
Configuration menu - View commit details
-
Copy full SHA for 2ab7ee6 - Browse repository at this point
Copy the full SHA 2ab7ee6View commit details -
machine/usb/hid/joystick: handle case where we cannot find the correc…
…t HID descriptor Signed-off-by: deadprogram <ron@hybridgroup.com>
Configuration menu - View commit details
-
Copy full SHA for 25b0341 - Browse repository at this point
Copy the full SHA 25b0341View commit details -
Configuration menu - View commit details
-
Copy full SHA for d28b58e - Browse repository at this point
Copy the full SHA d28b58eView commit details
Commits on Apr 29, 2023
-
machine/usb: move MIDI under usb/adc (Audio Device Class) package
Signed-off-by: deadprogram <ron@hybridgroup.com>
Configuration menu - View commit details
-
Copy full SHA for c70daa2 - Browse repository at this point
Copy the full SHA c70daa2View commit details -
examples/usb-midi: remove serial communication from MIDI example
Signed-off-by: deadprogram <ron@hybridgroup.com>
Configuration menu - View commit details
-
Copy full SHA for 1a67795 - Browse repository at this point
Copy the full SHA 1a67795View commit details
Commits on May 3, 2023
-
Signed-off-by: Achille Roussel <achille.roussel@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 4fa6a13 - Browse repository at this point
Copy the full SHA 4fa6a13View commit details -
Signed-off-by: Achille Roussel <achille.roussel@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for ccfe92a - Browse repository at this point
Copy the full SHA ccfe92aView commit details -
implement Sync on stdioFileHandle
Signed-off-by: Achille Roussel <achille.roussel@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 666312f - Browse repository at this point
Copy the full SHA 666312fView commit details -
os: implement os.(*File).ReadDir for -target=wasi
Signed-off-by: Achille Roussel <achille.roussel@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for ee3af40 - Browse repository at this point
Copy the full SHA ee3af40View commit details
Commits on May 4, 2023
-
cgo: allow LDFLAGS: --export=...
Signed-off-by: Edoardo Vacchi <evacchi@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 4e41e90 - Browse repository at this point
Copy the full SHA 4e41e90View commit details -
This tool can be very useful to compare binary sizes as output by `-size=short`. This is a tool I wrote a while ago. It's not perfect (we should probably use a geomean) but it works well enough to get a good idea on the binary size impact of a change.
Configuration menu - View commit details
-
Copy full SHA for e4da354 - Browse repository at this point
Copy the full SHA e4da354View commit details
Commits on May 5, 2023
-
machine/usb/descriptor: refactor HID report creation
Signed-off-by: deadprogram <ron@hybridgroup.com>
Configuration menu - View commit details
-
Copy full SHA for d8ee520 - Browse repository at this point
Copy the full SHA d8ee520View commit details -
machine/usb/descriptor: rename and export Append() to make it easier …
…to create new descriptors in user code Signed-off-by: deadprogram <ron@hybridgroup.com>
Configuration menu - View commit details
-
Copy full SHA for 9093570 - Browse repository at this point
Copy the full SHA 9093570View commit details -
machine/usb/descriptor: further refactor HID report creation
Signed-off-by: deadprogram <ron@hybridgroup.com>
Configuration menu - View commit details
-
Copy full SHA for 1d5c5ca - Browse repository at this point
Copy the full SHA 1d5c5caView commit details -
os: implement os.(*File).WriteAt (tinygo-org#3697)
os: implement os.(*File).WriteAt Signed-off-by: Achille Roussel <achille.roussel@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 602f35a - Browse repository at this point
Copy the full SHA 602f35aView commit details
Commits on May 6, 2023
-
Add dummy package for
runtime/metrics
to that modules that depend u……pon it (e.g. [Prometheus Go client library](https://github.com/prometheus/client_golang/blob/main/prometheus/internal/go_runtime_metrics.go)) will compile. Avoids: ```console package runtime/metrics is not in GOROOT ``` Fixes tinygo-org#3705
Configuration menu - View commit details
-
Copy full SHA for 373ab34 - Browse repository at this point
Copy the full SHA 373ab34View commit details -
machine/atsam*, nrf, rp2040, stm32: correct error flashBlockDevice pa…
…d() function Signed-off-by: deadprogram <ron@hybridgroup.com>
Configuration menu - View commit details
-
Copy full SHA for e736396 - Browse repository at this point
Copy the full SHA e736396View commit details -
machine/rp2040: correct param for number of bytes to be erased by flash
Signed-off-by: deadprogram <ron@hybridgroup.com>
Configuration menu - View commit details
-
Copy full SHA for 7e8a2e8 - Browse repository at this point
Copy the full SHA 7e8a2e8View commit details -
machine/rp2040: correct write block size for flash
Signed-off-by: deadprogram <ron@hybridgroup.com>
Configuration menu - View commit details
-
Copy full SHA for d331aca - Browse repository at this point
Copy the full SHA d331acaView commit details
Commits on May 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 14fed59 - Browse repository at this point
Copy the full SHA 14fed59View commit details
Commits on May 9, 2023
-
pinetime: update the target file
* Rename pinetime-devkit0 to pinetime because the production device is almost the same hardware (the only noticeable difference is a different accelerometer, which isn't part of the board file). * Remove the UART and set serial to none. The UART uses a lot of current by default, so it seems better to disable it. This is a breaking change, but honestly I think I'm the only one who has ever actually used TinyGo for the PineTime and I'm fine with this change :)
Configuration menu - View commit details
-
Copy full SHA for 20fdbc1 - Browse repository at this point
Copy the full SHA 20fdbc1View commit details -
nrf: refactor ADC code a little bit
* Initialize the ADC in Configure() (instead of in Get()). * Do not set all channels to "not connected" - that's already the reset value. * Don't disable the ADC after use. It's not necessary to disable (current consumption appears to remain the same whether enabled or disabled).
Configuration menu - View commit details
-
Copy full SHA for e5af121 - Browse repository at this point
Copy the full SHA e5af121View commit details -
nrf: add ability to set the reference voltage
The reference voltage can't be 3.3V, so we pick 3.0V as this was the previous default.
Configuration menu - View commit details
-
Copy full SHA for e82f595 - Browse repository at this point
Copy the full SHA e82f595View commit details -
This is important for inputs with a high input resistance. In those cases, the sample time needs to be longer.
Configuration menu - View commit details
-
Copy full SHA for 8688127 - Browse repository at this point
Copy the full SHA 8688127View commit details -
nrf: add ADC oversampling support
This is a lot easier to support than on other chips, and results in noticeably better output when set to a higher value.
Configuration menu - View commit details
-
Copy full SHA for f4c8c37 - Browse repository at this point
Copy the full SHA f4c8c37View commit details
Commits on May 13, 2023
-
builder: implement Nordic DFU file writer in Go
This avoids a dependency on nrfutil. I have verified that it creates equivalent zip files to a wasp-os DFU zip file I downloaded here: https://github.com/wasp-os/wasp-os/releases/ I have also tested that it produces valid DFU files that can be uploaded using the dfu.py program here to my PineTime: https://github.com/wasp-os/ota-dfu-python/tree/3d6fd30d33c2b20bc86ff6b9269fddf4a1d4c7c6 There are some minor differences in the generated file that should not matter in practice (JSON whitespace, firmware file name, zip compression).
Configuration menu - View commit details
-
Copy full SHA for 6435f62 - Browse repository at this point
Copy the full SHA 6435f62View commit details
Commits on May 14, 2023
-
machine/flash: remove FlashBuffer, modify flash example to use BlockD…
…evice interface Signed-off-by: deadprogram <ron@hybridgroup.com>
Configuration menu - View commit details
-
Copy full SHA for b56a263 - Browse repository at this point
Copy the full SHA b56a263View commit details -
Configuration menu - View commit details
-
Copy full SHA for d1a45f2 - Browse repository at this point
Copy the full SHA d1a45f2View commit details -
ci: add comment with binary size difference
This makes reviewing PRs a lot easier because I don't have to run this myself :) This only uses the drivers repo so far, which is a good starting point but doesn't include binary size changes for WebAssembly for example. A future change could add some real-world programs to get a better idea of the real-world impact. To be clear: the intention is not to just look at the number at the bottom. It is important to look at the actual size difference to see the overall pattern (like, the difference may be due to a few outlier).
Configuration menu - View commit details
-
Copy full SHA for af936f3 - Browse repository at this point
Copy the full SHA af936f3View commit details -
reflect: optimize Zero() a little bit
It could be expensive to call Size() three times, and it is unnecessary. Instead, do it only once. This results in a very small reduction of binary size if Zero() is used.
Configuration menu - View commit details
-
Copy full SHA for 535e64a - Browse repository at this point
Copy the full SHA 535e64aView commit details
Commits on May 16, 2023
-
build: add write permission to sizediff GH actions job to always be a…
…ble to add comments Signed-off-by: deadprogram <ron@hybridgroup.com>
Configuration menu - View commit details
-
Copy full SHA for 0291356 - Browse repository at this point
Copy the full SHA 0291356View commit details -
Configuration menu - View commit details
-
Copy full SHA for 07fb3a0 - Browse repository at this point
Copy the full SHA 07fb3a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for f55bb8e - Browse repository at this point
Copy the full SHA f55bb8eView commit details -
Configuration menu - View commit details
-
Copy full SHA for e3c9680 - Browse repository at this point
Copy the full SHA e3c9680View commit details -
Configuration menu - View commit details
-
Copy full SHA for d256804 - Browse repository at this point
Copy the full SHA d256804View commit details -
Configuration menu - View commit details
-
Copy full SHA for cdbd850 - Browse repository at this point
Copy the full SHA cdbd850View commit details -
windows: re-enable parallelism
This reverts tinygo-org#3525, because that change didn't seem to stop the CI failures we have been seeing. Instead, I've added thread support in tinygo-org#3130 which IIRC fixed most of the CI crashes. Re-enabling parallelism should improve the performance of TinyGo a bit on Windows.
Configuration menu - View commit details
-
Copy full SHA for af76c80 - Browse repository at this point
Copy the full SHA af76c80View commit details
Commits on May 17, 2023
-
compileopts: don't filter build tags, use specific build tags instead
This basically reverts tinygo-org#3357 and replaces it with a different mechanism to get to the same goal. I do not think filtering tags like this is a good idea: it's the wrong part of the compiler to be concerned with such tags (that part sets tags, but doesn't modify existing tags). Instead, I've written the //go:build lines in such a way that it has the same effect: WASI defaults to leveldb, everything else defaults to fnv, and it's possible to override the default using build tags.
Configuration menu - View commit details
-
Copy full SHA for 4c68268 - Browse repository at this point
Copy the full SHA 4c68268View commit details -
build: update GH actions-comment-pull-request to v2.3.1
Signed-off-by: deadprogram <ron@hybridgroup.com>
Configuration menu - View commit details
-
Copy full SHA for b336a15 - Browse repository at this point
Copy the full SHA b336a15View commit details
Commits on May 20, 2023
-
compiler: only calculate functionInfo once
This is a small change that's not really important in itself, but it avoids duplicate errors in a future commit that adds error messages to //go:wasmimport.
Configuration menu - View commit details
-
Copy full SHA for 6dba16f - Browse repository at this point
Copy the full SHA 6dba16fView commit details -
compiler: add tests for error messages
The test is currently empty, but will be used in the next commit.
Configuration menu - View commit details
-
Copy full SHA for 41e787d - Browse repository at this point
Copy the full SHA 41e787dView commit details -
compiler: disallow most types in //go:wasmimport
This is for compatibility with upstream Go. See golang/go#59149 for more context.
Configuration menu - View commit details
-
Copy full SHA for b08ff17 - Browse repository at this point
Copy the full SHA b08ff17View commit details -
build: add issues write permission to sizediff job
Signed-off-by: deadprogram <ron@hybridgroup.com>
Configuration menu - View commit details
-
Copy full SHA for 1b66da4 - Browse repository at this point
Copy the full SHA 1b66da4View commit details -
add Settings to debug.BuildInfo
Signed-off-by: Rajat Jindal <rajatjindal83@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 572c22f - Browse repository at this point
Copy the full SHA 572c22fView commit details -
avr: fix interrupt names for newer attiny chips
This only affects chips that aren't supported by TinyGo yet, so this should be a safe change. Importantly, it fixes interrupts on the ATtiny1616.
Configuration menu - View commit details
-
Copy full SHA for b43bd9e - Browse repository at this point
Copy the full SHA b43bd9eView commit details -
avr: update gen-device-avr tool to support newer AVRs
This refactors gen-device-avr to output two different formats: one for all the existing AVR chips (that don't really have the concept of a peripheral, just a bunch of registers), and one for all the new chips like the ATtiny1616 (tinyAVR 1-series and 2-series) that have peripherals like the Cortex-M chips with type structs and instances. I checked the generated code for all the AVR chips we have support for (atmega1280, atmega1284p, atmega2560, atmega328p, atmega32u4, attiny85) and while the generated Go code did change, it looks safe to me.
Configuration menu - View commit details
-
Copy full SHA for 4d11d55 - Browse repository at this point
Copy the full SHA 4d11d55View commit details -
This is just support for the chip, no boards are currently supported. However, you can use this target on a custom board. Notes: - This required a new runtime and machine implementation, because the hardware is actually very different (and much nicer than older AVRs!). - I had to update gen-device-avr to support this chip. This also affects the generated output of other AVRs, but I checked all chips we support and there shouldn't be any backwards incompatible changes. - I did not implement peripherals like UART, I2C, SPI, etc because I don't need them. That is left to do in the future. You can flash these chips with only a UART and a 1kOhm resistor, which is really nice (no special hardware needed). Here is the program I've used for this purpose: https://pypi.org/project/pymcuprog/
Configuration menu - View commit details
-
Copy full SHA for 2fb866c - Browse repository at this point
Copy the full SHA 2fb866cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 54c07b7 - Browse repository at this point
Copy the full SHA 54c07b7View commit details -
interp: fix subtle bug in pointer xor
If a pointer value was xor'ed with a value other than 0, it would not have been run at runtime but instead would fall through to the generic integer operations. This would likely result in a "cannot convert pointer to integer" panic. This commit fixes this subtle case.
Configuration menu - View commit details
-
Copy full SHA for cf39db3 - Browse repository at this point
Copy the full SHA cf39db3View commit details -
interp: add support for reading a pointer tag
This is necessary to get tinygo-org#3691 working.
Configuration menu - View commit details
-
Copy full SHA for 481f60c - Browse repository at this point
Copy the full SHA 481f60cView commit details
Commits on May 21, 2023
-
attiny1616: implement Pin.Get()
I didn't add this method in the initial PR. Also, I found that a few of my assumptions were incorrect. I've changed the code that configures the pin to make input (floating and pullup) actually work. These chips really are quite different from all the older AVRs.
Configuration menu - View commit details
-
Copy full SHA for da81784 - Browse repository at this point
Copy the full SHA da81784View commit details
Commits on May 23, 2023
-
build: explicitly pass the github token to GH action
Signed-off-by: deadprogram <ron@hybridgroup.com>
Configuration menu - View commit details
-
Copy full SHA for f366cd5 - Browse repository at this point
Copy the full SHA f366cd5View commit details
Commits on May 29, 2023
-
samd21: fix issue with WS2812 driver
The regular port access is around 4 cycles, instead of the usual 2 cycles for a store instruction on Cortex-M0+. The IOBUS however is faster, I didn't measure exactly but I guess it's 2 cycles as expected. This fixes a bug in the WS2812 driver that only happens on samd21 chips: tinygo-org/drivers#540
Configuration menu - View commit details
-
Copy full SHA for b7b23ac - Browse repository at this point
Copy the full SHA b7b23acView commit details -
Configuration menu - View commit details
-
Copy full SHA for bcdb3fc - Browse repository at this point
Copy the full SHA bcdb3fcView commit details
Commits on May 31, 2023
-
build: only make comment on sizediff job when run from the main repo
Signed-off-by: deadprogram <ron@hybridgroup.com>
Configuration menu - View commit details
-
Copy full SHA for ee90bde - Browse repository at this point
Copy the full SHA ee90bdeView commit details
Commits on Jun 1, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 635d322 - Browse repository at this point
Copy the full SHA 635d322View commit details
Commits on Jun 2, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 09c8348 - Browse repository at this point
Copy the full SHA 09c8348View commit details