Compileing DDS Micro to ESP32

2 posts / 0 new
Last post
Offline
Last seen: 2 years 5 months ago
Joined: 10/07/2021
Posts: 1
Compileing DDS Micro to ESP32

Hello,

I'm trying to complie DDS Micro for ESP32, firstly just to run some kind of Hello World. My dev. board has 2MB of flash memory, that should be enough.

I'm planning to use it with the ESP32 SDK (if possible..), that is based on a modified FreeRTOS and an lwIP stack. (https://www.espressif.com/en/products/software/esp-sdk/overview)

Based on this (https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/build-system.html#example-project) I created a project and copied the DDS source into a new component folder.

Firstly I'm trying to use FreeRTOS architecture based on this (https://community.rti.com/static/documentation/connext-micro/3.0.3/doc/html/building/freertos.html).
Is it possible to make it work with the modifications of the SDK (https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/freertos-smp.html), or you suggest a different architecture/setup?  

And what is the supported workflow in this case? Planning to create a makefile about what rtime-make would do to combine with the SDK makefiles.

Thanks a lot,

David

 

 

Howard's picture
Offline
Last seen: 1 day 3 hours ago
Joined: 11/29/2012
Posts: 565

Well, I would just try building the Connext Micro source code for your FreeRTOS/LwIP platform.  I believe that there are files that support that platform distributed with Connext Micro 3.0.3, including CMAKE support files as well as source code for an OSPAI layer for FreeRTOS.  You may or may not need to modify the CMAKE support files to accomodate your SDK.  You may or may not need to modify the OSAPI code for FreeRTOS.  You can just search the installation tree for "freertos" to find the related files.

Usually, customers who use Connext Micro on their FreeRTOS platforms need to customize what is provided to compile and work with the specifics of their platform.  If you're on a project with paid technical support, you can contact support@rti.com, who can answer questions that you may have during that process.