Questions about the Software development guide

3 posts / 0 new
Last post
xf622
Offline
Last seen:4 years 3 months ago
加入:2015-05-08 08:13
Questions about the Software development guide

1.
When I use the funtion RESERVE_IO(), there are many errors:
error:pasting formed '[GPIO_PORT_', an invalid preprocessing token [-winvalid-token-paste]
.
.
2.
"hence, each peripheral module used by applicaton must be re-initialized in periph_setup() funtion."

在哪里perph_setup()函数?

Device:
xf622
Offline
Last seen:4 years 3 months ago
加入:2015-05-08 08:13
I open the example code

I open the example code ,there still errors.

1.
When I use the funtion RESERVE_IO(), there are many errors:
error:pasting formed '[GPIO_PORT_', an invalid preprocessing token [-winvalid-token-paste]

xf622
Offline
Last seen:4 years 3 months ago
加入:2015-05-08 08:13
also, there is : periph_setup

also, there is : periph_setup.c , function periph_init() , but I can't find "periph_setup() funtion".
("hence, each peripheral module used by applicaton must be re-initialized in periph_setup() funtion.")
Is it a mistake?