Riot-OS on PSoC5

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hi all,

   

I'm working on the porting of Riot-OS, a realtime OS, on the PSoC.

   

I found information on GitHub of a first port on a previous release.

   

https://github.com/RIOT-OS/RIOT/wiki/Board:-CY8CKIT-050-PSoC%C2%AE-5LP

   

Is this project followed by Cypress ?

   

Is someone working on the topic ?

   

Thanks in advance

0 Likes
1 Solution
Anonymous
Not applicable

Hello Jullien,

   

I am Murat and mention port effort was made by me.  

   

I was a Cypress Employee but it was a personal effort. (I asked upper management for an official port but response was not positive). 

   

I started to port PSoC 5LP but this effort could not be completed due to license issue. 

   

There were some conflicts between Cypress License and Riot GPL license. 

   

But you can complete the porting. 

   

Cypress processors have some challanges, first you need to handle them, for example, all other processors have constant register map, this is not possible in PSoC. PSoC also needs HW RTL code build for UDB's and it is hard to integrate this build process to Riot Build systems. 

   

Instead of that, I created a PSoC Creator project and a primitive HW design for minimum RIOT requirements and included all Riot files into PSoC  Creator projects. So, in mentioned porting, I did not use RIOT build system. PSoC Creater was building RIOT OS. 

   

My personal e-mail is mail@muratcakmak.net

   

If you need help, you access directly. 

View solution in original post

0 Likes
6 Replies
himam_31
Employee
Employee
50 likes received 25 likes received 10 likes received

Hello,

   

Currently we are not working on Riot-OS PSoC5LP porting.We will publish the project in website if we have developed the project.

   

Thanks,

   

Hima

0 Likes
cadi_1014291
Level 6
Level 6
25 likes received 10 likes received 10 likes given

Might be great port it to the CY8CKIT-059 board, MCU seems to be almost the same.

0 Likes
Anonymous
Not applicable

Hello Jullien,

   

I am Murat and mention port effort was made by me.  

   

I was a Cypress Employee but it was a personal effort. (I asked upper management for an official port but response was not positive). 

   

I started to port PSoC 5LP but this effort could not be completed due to license issue. 

   

There were some conflicts between Cypress License and Riot GPL license. 

   

But you can complete the porting. 

   

Cypress processors have some challanges, first you need to handle them, for example, all other processors have constant register map, this is not possible in PSoC. PSoC also needs HW RTL code build for UDB's and it is hard to integrate this build process to Riot Build systems. 

   

Instead of that, I created a PSoC Creator project and a primitive HW design for minimum RIOT requirements and included all Riot files into PSoC  Creator projects. So, in mentioned porting, I did not use RIOT build system. PSoC Creater was building RIOT OS. 

   

My personal e-mail is mail@muratcakmak.net

   

If you need help, you access directly. 

0 Likes
Anonymous
Not applicable

Hi,
I was wondering if the port was successful and if it was if I can have either have it or have some pointers to how to do it my self.
Any response will be greatly appreciated.

   

Regards
Casper Andersen

0 Likes
Anonymous
Not applicable

Hi Casper, Port was completed for the basic functionalities and I could run RIOT on PSoC 5LP. 

   

Mentioned page (https://github.com/RIOT-OS/RIOT/wiki/Board:-CY8CKIT-050-PSoC%C2%AE-5LP) should be enough for details. 

   

Due to license problem, we could not merge this effort into main line. 

   

You can access my effort from following link : 

   

https://github.com/mcakmak/RIOT

   

Please look at "Pull Request" tab and see psoc5lp branch to see all of my porting effort. 

0 Likes
RaAl_264636
Level 6
Level 6
50 sign-ins 25 sign-ins 10 solutions authored

Hi Murat,

   

 

   

can you explain the license issue? Which license applies for the 5LP and is causing the issue?

   

 

   

Regards,

   

 

   

Ralf

0 Likes