shkolnick-kun / bugurtos

Breaking backward compatibility since 2010!!!
GNU General Public License v3.0
132 stars 9 forks source link

Port for CM1 #28

Closed Endag closed 8 years ago

Endag commented 8 years ago

Are there any plans for porting to Cortex-M1 core in near time?

shkolnick-kun commented 8 years ago

I don't have any hardware for testing Cortex-M1 right now, so I don't think that I should write a port which I could not test!

But I think Cortex-M0 code should work on little-endian Cortex-M1 with OS extension, as both cores are ARMv6-M with 3-stage pipeline and have identical (as wikipedia says) command sets.

I even think that Cortex-M0 port should work on big-endian Cortex-M1 as no byte manipulations are done in BuguRTOS.

If your particular core does not have MSP/PSP, then Cortex-M0 port wont work on it.

I've also found out that there were the same discussions about FreeRTOS in 2009 and no special Cortex-M1 FreeRTOS port appeared since that time, so probably no port is needed at all.

shkolnick-kun commented 8 years ago

And yes!

If you see Chibios ARM port header you'll find that Cortex-M0 and Cortex-M1 cores are supposed to use exactly the same code.

The only question remaining is "Do we have the reason to port BuguRTOS to Cortex-M1 without OS extension?"

I think, I won't do it right now.