Jump to content

Porting MIOS32 to STM32F3 (Work in Progress)


sylwester
 Share

Recommended Posts

Hi there,

 

What's the best procedure for porting MIOS32 from the STM32F4 to the STM32F3?

CMSIS is available for the F3 and I think the initialization code could be adapter easily.

 

Please point me in the right direction :smile:

 

Thanks

Syl

Edited by sylwester
Link to comment
Share on other sites

My Progress so far (and I'm stuck):

 

declare -x MIOS32_BOARD="STM32F3DISCOVERY"
declare -x MIOS32_FAMILY="STM32F30x"
declare -x MIOS32_GCC_PREFIX="arm-none-eabi"
declare -x MIOS32_LCD="universal"
declare -x MIOS32_PATH="/home/wrk/src/mios32/trunk"
declare -x MIOS32_PROCESSOR="STM32F303"
 
and my patches:
 
@Tk: Maybe you could take a quick look? Initialization code, peripheral drivers etc. are included.
 
Cheers
Edited by sylwester
Link to comment
Share on other sites

I won't have enough time to look into this and give you instructions how to proceed.

 

What I'm normally doing: reading the datasheet first to understand the differences (!!!)

Setting the environment variables, try compile, solve compile errors until an image can be built by taking an existing derivative as an example (the Posix "find" and "grep" commands are your friends ;-)

Then start to upload & debug the image - this can take some time, especially if you never did this before.

 

Even I would need several days to do the adaptions & troubleshooting - hope that you understand that therefore a "quick look" won't help.

 

Just continue and come up with more specific questions once you encountered general issues for which you don't find a solution after 2..3 hours

 

Best Regards, Thorsten.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...