8 years, 3 months ago.

BLE Libraries as Git Submodules with uVision

I need to use uVision to work on my mbed BLE nRF51 project offline (for gdb capability). I have all the source code for my project in a git repository. What I'd like to do is add each mbed library dependency directly from git as a submodule; this way I can track each repository and syncing is much easier than manually downloading and merging. From what I can tell, these are the repos I need:

mbed (https://github.com/mbedmicro/mbed) ble (https://github.com/ARMmbed/ble) ble-nrf51822 (https://github.com/ARMmbed/ble-nrf51822) nrf51-sdk (https://github.com/ARMmbed/nrf51-sdk)

I can successfully get all of these in as submodules in my project. But the real task is setting up the source files and includes in uVision. I've tried adding all source files and including all subdirectories, but that results in several hundred errors and sadness.

Does anyone know the proper way to configure uVision to compile an mbed project with all the BLE dependencies as git submodules?

Question relating to:

Bluetooth Low Energy (a.k.a Bluetooth LE, BTLE, Bluetooth Smart)
Be the first to answer this question.