Hey,
you're doing it wrong
-g is used to point to the GPIO file directly, not a folder. In your case it should be "GPIO-STM32F103x8_gpio_v1_0_Modes.xml" (find the file in cubemx folder and paste it in the same folder as the script)
use -h to get information about the parameters.
I just updated the script, can you retest? (not the compiled version, you need python)
STM32 CubeMX to ChibiOS board file generator
Re: STM32 CubeMX to ChibiOS board file generator
I will try now, Thanks a lot
UPD
I can't find any xml files in my CUBE project. Where I could find it?
UPD_2
Ok. It have done
C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX\db\mcu\IP
UPD_3
Oops. We made one step and have stoped again. Excuse me. Could you give more wide instructions. For those stupid like me ... and I have no python, and don't know, how to use it
UPD
I can't find any xml files in my CUBE project. Where I could find it?
UPD_2
Ok. It have done
C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX\db\mcu\IP
UPD_3
Oops. We made one step and have stoped again. Excuse me. Could you give more wide instructions. For those stupid like me ... and I have no python, and don't know, how to use it
-
- Posts: 483
- Joined: Sat Nov 19, 2011 6:47 pm
- Location: Le Mans, France
- Has thanked: 21 times
- Been thanked: 30 times
Re: STM32 CubeMX to ChibiOS board file generator
You did not specify your .ioc file... that's never going to work. (did you try -h as I advised?)
can you upload your .ioc file somewhere for me to test it?
Thanks
can you upload your .ioc file somewhere for me to test it?
Thanks
Re: STM32 CubeMX to ChibiOS board file generator
Yes! With plesure!
I want look at the example how to use your script. I don't understood what shall i do with it. I'm a beginner in MC programming.
And yes, I have tested the script with -h. But I still don't understand what should I use with it as the parameters... Please, give some examples with the comments
I want look at the example how to use your script. I don't understood what shall i do with it. I'm a beginner in MC programming.
And yes, I have tested the script with -h. But I still don't understand what should I use with it as the parameters... Please, give some examples with the comments
-
- Posts: 483
- Joined: Sat Nov 19, 2011 6:47 pm
- Location: Le Mans, France
- Has thanked: 21 times
- Been thanked: 30 times
Re: STM32 CubeMX to ChibiOS board file generator
I just saw this is for an F1 device, which is not supported because they use the old GPIO IP.
Updated (v0.3) .exe here:
https://drive.google.com/open?id=0BzWyT ... TJXTzlYTEE
You can try with anything except F1xx devices.
Updated (v0.3) .exe here:
https://drive.google.com/open?id=0BzWyT ... TJXTzlYTEE
You can try with anything except F1xx devices.
- Chudik
- Posts: 152
- Joined: Fri Jan 16, 2015 7:51 am
- Location: California
- Has thanked: 7 times
- Been thanked: 1 time
Re: STM32 CubeMX to ChibiOS board file generator
mobyfab wrote:You can try with anything except F1xx devices.
Hi, do you make updates for your generator?
Thinking about getting back to ChibiOS, but don't want to lose convenience of defining peripheral with CubeMX.
Do you convert only pin mapping or peripheral settings as well?
-
- Posts: 483
- Joined: Sat Nov 19, 2011 6:47 pm
- Location: Le Mans, France
- Has thanked: 21 times
- Been thanked: 30 times
Re: STM32 CubeMX to ChibiOS board file generator
Hi,
It has been updated a number of times but still doesn't support F1 devices.
There's a new script I wrote (mx2conf.py) that enables the drivers and peripherals as well. You still need to configure clocks manually.
It has been updated a number of times but still doesn't support F1 devices.
There's a new script I wrote (mx2conf.py) that enables the drivers and peripherals as well. You still need to configure clocks manually.
- Chudik
- Posts: 152
- Joined: Fri Jan 16, 2015 7:51 am
- Location: California
- Has thanked: 7 times
- Been thanked: 1 time
Re: STM32 CubeMX to ChibiOS board file generator
mobyfab wrote:There's a new script I wrote (mx2conf.py) that enables the drivers and peripherals as well. You still need to configure clocks manually.
Very interesting.
I don't worry about F1 family. I guess, It is interesting for those, who uses dirt cheap F1 boards from aliexpress.
I'm more interested in F4, F7, L4 and newer devices. And executable files Even if they require command line
Configuring clock is one time process - it should not take too much time to do it manually, but all peripherals parameters could changes several times during design. That is biggest pain in the ass Especially during designing custom board, not using of the shelf ones.
Who is online
Users browsing this forum: No registered users and 35 guests