Thank you for your help.
The problem has been figured out. Somewhere in the code,
...
static GPIO_TypeDef* BUTTON_PORT = GPIOB;
...
palReadPad(BUTTON_PORT,ZERO_BUTTON)
...
It works fine after changing it to:
...
#define BUTTON_PORT GPIOB
. ...
Search found 3 matches
- Thu Apr 20, 2017 5:42 pm
- Forum: STM32 Support
- Topic: Error when porting due to the difference in pal_lld_setport between GPIOv1 and GPIOv2
- Replies: 2
- Views: 2421
- Thu Apr 20, 2017 4:02 am
- Forum: STM32 Support
- Topic: Error when porting due to the difference in pal_lld_setport between GPIOv1 and GPIOv2
- Replies: 2
- Views: 2421
Error when porting due to the difference in pal_lld_setport between GPIOv1 and GPIOv2
I'm new in ChibiOS but I have to work on a project that has to port a program for STM32F103 to STM32F072:
https://github.com/gaudat/chinkboard-ads1256
The version of ChibiOS I'm using is pulled from https://github.com/ChibiOS/ChibiOS a week ago.
It gives error like this:
In ...
https://github.com/gaudat/chinkboard-ads1256
The version of ChibiOS I'm using is pulled from https://github.com/ChibiOS/ChibiOS a week ago.
It gives error like this:
In ...
- Tue Mar 21, 2017 12:24 pm
- Forum: General Support
- Topic: Problem when setting up an Eclipse-based IDE
- Replies: 7
- Views: 6238
Problem when setting up an Eclipse-based IDE
I'm new with ChibiOS
I've tried to use Eclipse as my IDE, so I followed the instructions here: m
Then I tried to build an existing project from github, but it gives error message:
19:06:41 **** Incremental Build of configuration Default for project Robocon_2016_SaiHung-master ...
I've tried to use Eclipse as my IDE, so I followed the instructions here: m
Then I tried to build an existing project from github, but it gives error message:
19:06:41 **** Incremental Build of configuration Default for project Robocon_2016_SaiHung-master ...