analogdevicesinc / MAX78xxx-RefDes

MAX78000 and MAX78002 Reference Designs
Other
16 stars 18 forks source link

Make error #22

Closed prerna-khanna closed 2 years ago

prerna-khanna commented 2 years ago

Screenshot 2022-06-24 105403

aniktash commented 2 years ago

The MXC_SYS_GetUSN function in the updated SDK needs a pointer as the second argument. Please update it in following files: 1- maxrefdes178-FaceId/maxrefdes178_max32666/Cordio/platform/targets/maxim/max32665/sources/pal_cfg.c (two places)

Also, you seem not to have the bmi160 submodule: cd refdes/external/BMI160_driver git submodule update --init --recursive

vicloginov commented 2 years ago

Make sure to use "develop" branch not "main". The fix of MXC_SYS_GetUSN function is already implemented. A quick fix of other issue in refdes\maxrefdes178-FaceId\maxrefdes178_max32666\Makefile. Comment a compile flag which treats any warning as an error:

PROJ_CFLAGS+=-Werror