Hi,
I write a program for STMF4xx processors, and I'm trying to upgrade from ChibiOS 17.6.3 to ChibiOS_18.2.1.
I learned that now I must use the GPIOv2 driver instead of GPIOv1, so I cannot use the PALConfig structure to set the GPIO up anymore.
My question is how should I initialize the periphery now?
Regards,
Vladimir
GPIOv2 and ChibiOS_18.2.1
-
- Posts: 35
- Joined: Fri Feb 09, 2018 12:44 am
- Has thanked: 2 times
- Been thanked: 5 times
Re: GPIOv2 and ChibiOS_18.2.1
Use the .chcfg xml file to define pin configuration, and then use the board.c/.h/.mk generator. It's available in ChibiStudio, or you can run independently using fmpp utility.
- Giovanni
- Site Admin
- Posts: 14457
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: GPIOv2 and ChibiOS_18.2.1
Hi,
Download from here: http://fmpp.sourceforge.net/
It is also included in the latest ChibiStudio.
Giovanni
Download from here: http://fmpp.sourceforge.net/
It is also included in the latest ChibiStudio.
Giovanni
Who is online
Users browsing this forum: No registered users and 18 guests