Hi there,
And Welcome here.
So two things, one they share the same footprint but that’s it. Try using the GPIO pin numbers in place of the logical names (d2), (A3) etc.
try that first. Can you post the code you are using and which BSP files for each. They have different SPI interfaces too, Check out Adding an External Flash chip to the Grove Expansion Board Thread on here, there is code there that shows the two differences. I ran into the same thing when adding the Flash chip and the Self test. Look at the demo and code you’ll see what I mean. The BSP you are using can also affect it depending on the LIB’s used.
HTH
GL PJ