I tried using the SD card library in Particle Build. However, whenever I try to flash an example, it gives me the following error.
“sd-card-library/sd2-card.cpp:764:5: error: ‘PIN_MAP’ was not declared in this scope
PIN_MAP[mosiPin_].gpio_peripheral->BSRR = PIN_MAP[mosiPin_].gpio_pin; // Data High”
A similar error appears for the clock pin. I am manually wiring the SEEED SD card shield to the Photon. I am pretty confident that I got the wiring right. Any help will be greatly appreciated