Add support for BoyaMicroelectronics BY25Q16AW spi flash, Fix errors with -Werror=calloc-transposed-args#134
Add support for BoyaMicroelectronics BY25Q16AW spi flash, Fix errors with -Werror=calloc-transposed-args#134slunk-dot wants to merge 2 commits intoraspberrypi:sdk-2.0.0from
Conversation
|
See also #126
Sounds like you'll find https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-and-deleting-branches-within-your-repository helpful then 🙂 |
|
I did see the pull request for BYQ16B, it appears to be a similar device but has a different id. |
|
Yeah, I was just suggesting that if / when support for the BY25Q16AW gets merged, it probably makes sense to merge support for the BYQ16B at the same time. |
|
Can you provide a link to a datasheet for this part? |
|
https://www.boyamicro.com/storage/upload/pdf/BY25Q16AW.pdf |
Add support for BY25Q16AW spi flash id 0x00151068, found on a Aliexpress pico w.
Fix errors compiling with -Werror=calloc-transposed-args which now seems to be a default flag on my system.
This seems to be fixed upstream in commit 400cf2 https://sourceforge.net/p/openocd/code/ci/400cf213c05d17cede4dca4787a5533959bd2183/.
Sorry I couldn't find a easy way to split this into separate commits. Its probably better just to patch spi.c and pull the -Werror=calloc-transposed-args fix from upstream.