This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

mdbt40, armcortexm0

Hello Everyone,

I am not sure whether this is correct place to post this question. Let me know if there is any issue,
I will delete or shift this accordingly.

I am programming nrf51822 module (www.raytac.com/.../MDBT40 spec-Version A7.pdf) following this repo (github.com/.../arduino-BLEPeripheral) using arduino IDE 1.8.1

I am able to compile the program succesfully without any problem. However, there are many restriction (not able to use Softdevice APIs provided by nordic, fstorage module etc) using SDK in arduino, so I wanted to shift to Keil for development. Since Keil works with C language, is it possible to import arduino C++ libraries in Keil.

Following are the libraries which I am planning to import:
Accelstepper:www.airspayce.com/.../
Keypad:playground.arduino.cc/.../Keypad

What will be changes required in the libraries? I am not very good at programming. I am familiar with arduino and arduino libraries but not familiar with Keil Environment. Can anyone help? Where should I start?

Thank you.

Parents
  • That's going to be a problem, whichever way you go - this isn't really a beginner exercise, I'm afraid.

    Keil has no automatic facilities to import/convert Arduino projects - so you would have to do it manually.
    This would require some serious understanding of the inner workings of the Arduino "environment" and also a good understanding of Keil and programming in general.

    Probably the best approach would be to start from scratch with the Nordic SDK - work through their tutorials & examples.
    But, still, getting BLE up and running isn't really a beginner project ...

Reply
  • That's going to be a problem, whichever way you go - this isn't really a beginner exercise, I'm afraid.

    Keil has no automatic facilities to import/convert Arduino projects - so you would have to do it manually.
    This would require some serious understanding of the inner workings of the Arduino "environment" and also a good understanding of Keil and programming in general.

    Probably the best approach would be to start from scratch with the Nordic SDK - work through their tutorials & examples.
    But, still, getting BLE up and running isn't really a beginner project ...

Children