jserv / mini-arm-os

Build a minimal multi-tasking OS kernel for ARM from scratch
Other
1.04k stars 242 forks source link

Supporting STM32F429i-Discovery! #9

Closed TibaChang closed 8 years ago

TibaChang commented 8 years ago

Supporting STM32F429i-Discovery!

The README here with "porting guide" and "available command" has full explaination!

jserv commented 8 years ago

@JaredCJR : Is it possible to use upstream CMSIS via git-submodule instead of copying files into the current repository?

jserv commented 8 years ago

We can create a new directory named after "08-CMSIS", which represents for the portable version of "07-Threads" and multi-board support.

TibaChang commented 8 years ago

@jserv The CMSIS you mentioned does not include the vendor specific CMSIS(for peripheral). In the REAME:Porting Guide/STEP 2. , that CMSIS in the mbed is much useful than the previous CMSIS. However,it contains a lot of driver that we don't need. We only need ".h" for memory map. And the CMSIS need to remove some "ifndef" in order to avoid further "include" in peripheral part,which vary with vendor's implementation.

I think the git-submodule idea is not possible in this case.

The full idea I learnd from the MRI porting guide

I will create new PR for "08-CMSIS" later!

jserv commented 8 years ago

Affirmative! The major design principle of 08-CMSIS is to ease the porting efforts by means of CMSIS and/or mbed infrastructure. We can introduce some scripts to manipulate the headers and corresponding source files for OS HAL adaptation.