Skip to content

Conversation

@deadprogram
Copy link
Member

This PR is to fix #4663 "in reverse" by making SPI a pointer everywhere, as discussed in the comments.

See #4663 (comment)

@github-actions
Copy link

github-actions bot commented Feb 25, 2025

Size difference with the dev branch:

Binary size difference
drivers/sizes-dev.txt has more commands than drivers/sizes-pr.txt
    tinygo build -size short -o ./build/test.hex -target=pybadge ./examples/amg88xx
 flash                          ram
 before   after   diff          before   after   diff
  16688   16688      0   0.00%    4180    4180      0   0.00% tinygo build -size short -o ./build/test.hex -target=feather-rp2040 ./examples/adafruit4650
  61472   61472      0   0.00%    6188    6188      0   0.00% tinygo build -size short -o ./build/test.hex -target=itsybitsy-m0 ./examples/adt7410/main.go
   9604    9604      0   0.00%    4748    4748      0   0.00% tinygo build -size short -o ./build/test.hex -target=itsybitsy-m0 ./examples/adxl345/main.go
  87764   87764      0   0.00%   15116   15116      0   0.00%

@bgould
Copy link
Member

bgould commented Mar 3, 2025

Looks good to me ... seems like there is a conflict to resolve though

Fixes #4663 "in reverse" by making SPI a pointer everywhere, as discussed
in the comments.

Signed-off-by: deadprogram <ron@hybridgroup.com>
@deadprogram deadprogram force-pushed the machine-spi-pointers branch from e911d51 to 7bd16e5 Compare March 11, 2025 10:25
@deadprogram
Copy link
Member Author

Resolved and rebased. Now waiting for CI to pass...

@deadprogram
Copy link
Member Author

Thanks for reviewing @bgould now merging.

@deadprogram deadprogram merged commit 2bee299 into dev Mar 11, 2025
24 checks passed
@deadprogram deadprogram deleted the machine-spi-pointers branch March 11, 2025 13:06
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.

3 participants