Open felixdoerre opened 1 week ago
Currently the cyw43 spi implementation has a hard dependency on printf, here (and another one a few lines lower).
printf
https://github.com/raspberrypi/pico-sdk/blob/master/src/rp2_common/pico_cyw43_driver/cyw43_bus_pio_spi.c#L501
I suggest to replace these printf-calls with the CYW43_PRINTF macro already available in cyw43-code, so binaries that include the cyw43 driver and don't require printf are not forced to pull it in.
CYW43_PRINTF
Currently the cyw43 spi implementation has a hard dependency on
printf
, here (and another one a few lines lower).https://github.com/raspberrypi/pico-sdk/blob/master/src/rp2_common/pico_cyw43_driver/cyw43_bus_pio_spi.c#L501
I suggest to replace these
printf
-calls with theCYW43_PRINTF
macro already available in cyw43-code, so binaries that include the cyw43 driver and don't require printf are not forced to pull it in.