makerdiary / nrf52840-mdk

An Open-Source, Micro Development Kit for IoT Applications using the nRF52840 SoC
https://wiki.makerdiary.com/nrf52840-mdk/
171 stars 42 forks source link

arm mbed compile fails for TARGET=NRF52840_MDK #28

Closed stefschu1510 closed 5 years ago

stefschu1510 commented 5 years ago

Trying to compile with the arm mbed CLI results in the following error:

_argument -m/--mcu: NRF52840_MDK is not a supported MCU. Supported MCUs are: ARCH_BLE, ARCH_BLE_BOOT, ARCH_BLE_OTA, ARCHGPRS, ...

Is the documentation not up-to-date? I'm using the latest mbed CLI, version 1.10.1

stefschu1510 commented 5 years ago

I was not aware that it is required to use the mbed-os fork maintained at makerdiary. Hope there is a plan to include the NRF52840_MDK target to the official mbed-os.

manchoz commented 5 years ago

@stefschu1510 you can find an upstream-updated port at https://github.com/manchoz/mbed-os/tree/nRF5240_MDK.

I'm would like to PR to upstream but I'm blocked on #27.

manchoz commented 5 years ago

Updated branch with fix for #27 available at https://github.com/manchoz/mbed-os-tools/tree/makerdiary_nrf52840_mdk