platform_devices.h

two platform_devices.h files

Wed, 2017-02-15 01:20--jamesleo-konka

Hi, Dialog
In project peripherals_demo, there are two platform_devices.h , one is at \config, and one is at \sdk\adapters\include
Which one has higher priority?

I think this file should be defined by custom for their specific board, not the common file, so it's better to comment out this line
#include "platform_devices.h"
in main.c (for example, in project hrp_sensor)
and then define the action of adapters (like the platform_devices.h has done) in your custom_config_xxx.h file.

Is it OK?

Thanks

订阅RSS - platform_devices.h