analogdevicesinc / msdk

Software Development Kit for Analog Device's MAX-series microcontrollers
Apache License 2.0
60 stars 76 forks source link

Examples/MAX78000/CNN/asl_demo not building #6

Closed kevin-gillespie closed 2 years ago

kevin-gillespie commented 2 years ago
kg ~/.../MAX78000/CNN/asl_demo:make
Makefile:101: Warning: MAXIM_PATH is not set!
/home/kgills/Workspace/test-actions/Libraries/Boards/MAX78000/EvKit_V1
Added settings from project.mk...
  CC    main.c
main.c:52:10: fatal error: config.h: No such file or directory
   52 | #include "config.h"
      |          ^~~~~~~~~~
compilation terminated.

Can't find the right config.h. Doesn't build if we comment out this include.

kevin-gillespie commented 2 years ago

@vicloginov @Jake-Carter

Not sure who developed this example. I saw both of your names in the recent commit history.

vicloginov commented 2 years ago

For unknown reason config.h file is renamed to example_config.h

Jake-Carter commented 2 years ago

For unknown reason config.h file is renamed to example_config.h

All instances of "config.h" are now going to use "example_config.h" in order to avoid conflicts with other libraries that have a "config.h" file in them