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

Removing SDDriver #81

Closed

Conversation

naveenkaje
Copy link

Mbed OS now has block device driver code. No need for carrying
this as a library. This change will resolve linking errors
as seen here

Built with: 
mbed test -n tests-api-spi

Linking Error:
BUILD/tests/K64F/GCC_ARM/mbed-os/components/storage/blockdevice/COMPONENT_SD/SDBlockDevice.o: In function `mbed::SPI::~SPI()':
C:\mbed-cli\ci-test-shield.git/./mbed-os/platform/Callback.h:906: multiple definition of `SDBlockDevice::deinit()'
BUILD/tests/K64F/GCC_ARM/SDDriver/features/filesystem/sd/SDBlockDevice.o:C:\mbed-cli\ci-test-shield.git/.\SDDriver\features\filesystem\sd/SDBlockDevice.cpp:260: first defined here
BUILD/tests/K64F/GCC_ARM/mbed-os/components/storage/blockdevice/COMPONENT_SD/SDBlockDevice.o: In function `BlockDevice::sync()':...

Mbed OS now has block device driver code. No need for carrying
this as a library. This change will resolve linking errors
as seen here

**********************************************************************
BUILD/tests/K64F/GCC_ARM/mbed-os/components/storage/blockdevice/COMPONENT_SD/SDBlockDevice.o: In function `mbed::SPI::~SPI()':
C:\mbed-cli\ci-test-shield.git/./mbed-os/platform/Callback.h:906: multiple definition of `SDBlockDevice::deinit()'
BUILD/tests/K64F/GCC_ARM/SDDriver/features/filesystem/sd/SDBlockDevice.o:C:\mbed-cli\ci-test-shield.git/.\SDDriver\features\filesystem\sd/SDBlockDevice.cpp:260: first defined here
BUILD/tests/K64F/GCC_ARM/mbed-os/components/storage/blockdevice/COMPONENT_SD/SDBlockDevice.o: In function `BlockDevice::sync()':

*********************************************************************
@kegilbert
Copy link

kegilbert commented Sep 12, 2018

@screamerbg (assuming you're the owner of this repo, wasn't 100% on that)

@screamerbg
Copy link
Contributor

@c1728p9 Please review

Copy link

@c1728p9 c1728p9 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@naveenkaje you'll need to add the component 'sd' to mbed_app.json or you'll get build failures on the targets which don't have this component in targets.json.

@maclobdell
Copy link
Contributor

fixed by #88

@maclobdell maclobdell closed this May 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants