Page 2 of 2

Re: SD Card Using SPI2

Posted: Tue Sep 24, 2024 8:29 am
by fpiSTM
bockesj wrote: Tue Sep 24, 2024 12:59 am
I modified the "pins_arduino.h" file located in folder
..\Arduino15\packages\STMicroelectronics\hardware\stm32\2.8.1\cores\arduino
You should avoid to change core's file. Next time you will update you will loose your change moreover it impact all other variants.
Simply use the API to change the pins:
https://github.com/stm32duino/Arduino_C ... tance-pins