RIOT icon indicating copy to clipboard operation
RIOT copied to clipboard

How to run RIOT on Particle Photon?

Open LaszloLango opened this issue 10 years ago • 8 comments

I'd like to run RIOT on a Particle Photon board. The porting documentation on wiki didn't helped much. I tried to make a new board based on Nucleo-f207 and Spark Core, but it is not working. What is the minimal set of defines (in board.h and periph_conf.h) to run simple "hello world" or led blinking example on this board?

LaszloLango avatar Sep 16 '16 07:09 LaszloLango

I heard some rumours that @tilmannOSG was working on a port for that...

Anyway, can you maybe elaborate on what is missing in the porting guide?

OlegHahm avatar Sep 22 '16 22:09 OlegHahm

@OlegHahm, it was hard to figure out what should be in periph_conf.h, but we could make it. The F_CPU is also misleading, because non of the existing ports use this define. The wiki page does not mention the CLOCK_* and *_NUMOF defines. I know they are CPU specific macros, but it would be good to know where to look for them. :)

LaszloLango avatar Sep 23 '16 06:09 LaszloLango

@OlegHahm I can confirm that rumor :) In fact @LaszloLango is working in my team and together with fellow team members he has successfully ported RIOT to the Photon board in the last couple of days.
Our intention is to contribute the port upstream eventually but that might still take a while :)

tilmannOSG avatar Sep 23 '16 08:09 tilmannOSG

@LaszloLango @tilmannOSG That's great to hear! I started working on it a couple of days ago too, mind to join forces on it?

thomaseichinger avatar Sep 23 '16 10:09 thomaseichinger

@thomaseichinger Yes, we would be happy to work together with you! I've sent you an email with some information about the current state of the port.

tilmannOSG avatar Sep 29 '16 16:09 tilmannOSG

@tilmannOSG Sounds terrific. Any possibility this port would also work on a Particle Electron?

kosme avatar Jan 03 '17 19:01 kosme

@kosme I'm not really familiar with the hardware of the Electron but I guess if it's close enough to the Photon then it shouldn't be too hard to get that working too :) (nothing we plan to work on though)

tilmannOSG avatar Mar 01 '17 12:03 tilmannOSG

WIP patch is now available at https://github.com/RIOT-OS/RIOT/pull/6730 :)

tilmannOSG avatar Mar 10 '17 15:03 tilmannOSG