function test USBMSD(as external strage for PC USB) and USBSerial. Switching between USBMSD and USBSerial(Not work simultaneously)
see /users/kenjiArai/notebook/usb-interface--usbhost-and-usbdevice/
Diff: mbed_app.json
- Revision:
- 1:7a568319eeb7
- Parent:
- 0:c6dea1f647f6
--- a/mbed_app.json Mon Jan 06 10:56:13 2020 +0000 +++ b/mbed_app.json Thu Apr 30 23:43:35 2020 +0000 @@ -9,6 +9,16 @@ "*": { "target.components_add": ["SD"], "target.device_has_add": ["USBDEVICE"] + }, + "NRF52840_DK": { + "target.extra_labels_add": ["SOFTDEVICE_NONE"], + "target.extra_labels_remove": ["BLE", "SOFTDEVICE_COMMON", "SOFTDEVICE_S140_FULL", "NORDIC_SOFTDEVICE"], + "target.features_add": ["STORAGE"], + "target.components_add": ["SD"], + "sd.SPI_MOSI": "D11", + "sd.SPI_MISO": "D12", + "sd.SPI_CLK" : "D13", + "sd.SPI_CS" : "D10" } } }