Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2017.6.2 SD libraries compilation issue #12

Closed
rreicher opened this issue Jun 6, 2017 · 5 comments
Closed

2017.6.2 SD libraries compilation issue #12

rreicher opened this issue Jun 6, 2017 · 5 comments
Labels
duplicate This issue or pull request already exists

Comments

@rreicher
Copy link

rreicher commented Jun 6, 2017

In any exemple which use SD (SD or TFT libraries) cannot find sd.conf.h.

C:\Users\rom\AppData\Local\Arduino15\packages\STM32\hardware\stm32\2017.6.2\libraries\SD\src/bsp_sd.h:47:21: fatal error: sd_conf.h: No such file or directory_

Thanks.

@fpistm
Copy link
Member

fpistm commented Jun 6, 2017

Hi @rreicher,
on which target you used the SD example ?
The modified SD library is usable for STM32F7 disco which have an SD card slot.
As mentioned here #2

1- Rename the SD.h from SD library provided in this repo. By this way, including SD.h will use the standard Arduino library. Used for Arduino shield including SD card slot by through SPI.

So, if you want use the SD for Arduino shield (through SPI), you should rename the SD.h file from the modified SD library.
It will be corrected soon.

@rreicher
Copy link
Author

rreicher commented Jun 7, 2017

Hi fpistm.

I use target NucleoL476 and ST7735 1.8inch tft lcd which include a SD socket (through SPI)

From provided library the SD.h file should renamed to what ?

Thanks and best regards.

@fpistm
Copy link
Member

fpistm commented Jun 7, 2017

Ok.
So rename SD.h as you want. This will unblock your issue and use the Standard library through SPI for your shield.

@rreicher
Copy link
Author

rreicher commented Jun 7, 2017

Ok, I wil try it.
Thanks

@fpistm
Copy link
Member

fpistm commented Jun 8, 2017

This will be corrected with: #2

@fpistm fpistm closed this as completed Jun 8, 2017
@fpistm fpistm added the duplicate This issue or pull request already exists label Jun 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants