Jump to content

Recommended Posts

Posted (edited)

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
Posted (edited)

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
Posted

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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...