This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Exporting, importing and modifying libraries from Arduino IDE to SES IDE

Hello,

I'm in the process of migrating from arduino to SES IDE(For more practicality and functionality now what I'm trying to achieve is saving time by not having to rewrite all arduino libraries I'm currently using so my questions are:

1)How to import an external library to SES?

2)How would you go about converting those libraries to support the SDK(Say the newest 14.1) and import them into SES?

Thanks for your time.

Parents
  • I used this core before but it's not realy good for functionality that's why I've moved but what I'm trying to do is take the libraries that use I2C in arduino and make them compatible with the nordic SDK and SES IDE so I was to maybe get some feedback from someone who have done this or an example.

  • Hello Mike,

    I am wondering if you made any progress moving the Arduino libraries to SES IDE and Nordic SDK for nRF52?  I have used the Arduino libraries with other processors and used the Nordic nRF51 series chips for BLE support.  Because of some additional functionality I would like to implement I have run into memory constraints and am looking at moving the entire application to the nRF52 series which would provide both BLE support and enough memory to implement the additional functionality.  My issue is that the additional functionality uses the SPI interface, but after a few weeks of hacking I cannot get it to work with the Arduino Core for nRF52 so I am looking at porting the Arduino library to SES and the Nordic SDK (which I believe would ultimately be a better solution).  I also, as you, need a solution for the Arduino one-wire library (I2C based) so I can access DS18B20 based temperature sensors, but haven't looked into that yet as I'm just now exploring this avenue.  Any tips, tricks or pointers would be greatly appreciated. 

Reply
  • Hello Mike,

    I am wondering if you made any progress moving the Arduino libraries to SES IDE and Nordic SDK for nRF52?  I have used the Arduino libraries with other processors and used the Nordic nRF51 series chips for BLE support.  Because of some additional functionality I would like to implement I have run into memory constraints and am looking at moving the entire application to the nRF52 series which would provide both BLE support and enough memory to implement the additional functionality.  My issue is that the additional functionality uses the SPI interface, but after a few weeks of hacking I cannot get it to work with the Arduino Core for nRF52 so I am looking at porting the Arduino library to SES and the Nordic SDK (which I believe would ultimately be a better solution).  I also, as you, need a solution for the Arduino one-wire library (I2C based) so I can access DS18B20 based temperature sensors, but haven't looked into that yet as I'm just now exploring this avenue.  Any tips, tricks or pointers would be greatly appreciated. 

Children
  • Hello,

    Did any of you have any luck with this matter? I want to do the same migration from Arduino to the nRF52 DK and really don't want to build the already existing libraries for Arduino from scratch.
    So, I would appreciate a lot some tips in this matter, I'll be starting now to deal with the Arduino Core and also try to import the libraries directly so that I can see what happens.

Related