stacksmashing / pico-serprog

Flashrom/serprog compatible firmware for the Raspberry Pi Pico
GNU General Public License v3.0
195 stars 41 forks source link

Drive strength #11

Open neuschaefer opened 9 months ago

neuschaefer commented 9 months ago

I stumbled upon the libreboot fork of this firmware today. One improvement that stood out to me is that they increased the GPIO drive strength:

+    gpio_set_drive_strength(SPI_MISO, GPIO_DRIVE_STRENGTH_12MA);
+    gpio_set_drive_strength(SPI_MOSI, GPIO_DRIVE_STRENGTH_12MA);
+    gpio_set_drive_strength(SPI_SCK,  GPIO_DRIVE_STRENGTH_12MA);
+    gpio_set_drive_strength(SPI_CS,   GPIO_DRIVE_STRENGTH_12MA);

This might be worth copying.