diff --git a/Examples/MAX78000/CNN/cifar-10/.cproject b/Examples/MAX78000/CNN/cifar-10/.cproject new file mode 100644 index 000000000..676f51c0a --- /dev/null +++ b/Examples/MAX78000/CNN/cifar-10/.cproject @@ -0,0 +1,109 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Examples/MAX78000/CNN/cifar-10/.project b/Examples/MAX78000/CNN/cifar-10/.project new file mode 100644 index 000000000..2137b05c4 --- /dev/null +++ b/Examples/MAX78000/CNN/cifar-10/.project @@ -0,0 +1,43 @@ + + + cifar-10 + + + + + + org.eclipse.cdt.managedbuilder.core.genmakebuilder + clean,full,incremental, + + + + + org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder + full,incremental, + + + + + + org.eclipse.cdt.core.cnature + org.eclipse.cdt.managedbuilder.core.managedBuildNature + org.eclipse.cdt.managedbuilder.core.ScannerConfigNature + + + + PeriphDrivers + 2 + PARENT-3-ECLIPSE_HOME/Libraries/PeriphDrivers/Source + + + PeriphDrivers-Includes + 2 + PARENT-3-ECLIPSE_HOME/Libraries/PeriphDrivers/Include/MAX78000 + + + PeriphDrivers-Registers + 2 + PARENT-3-ECLIPSE_HOME/Libraries/CMSIS/Device/Maxim/MAX78000/Include + + + diff --git a/Examples/MAX78000/CNN/cifar-10/Makefile b/Examples/MAX78000/CNN/cifar-10/Makefile index 05411c593..7681e8bbc 100644 --- a/Examples/MAX78000/CNN/cifar-10/Makefile +++ b/Examples/MAX78000/CNN/cifar-10/Makefile @@ -1,5 +1,5 @@ ################################################################################ - # Copyright (C) 2020 Maxim Integrated Products, Inc., All Rights Reserved. + # Copyright (C) Maxim Integrated Products, Inc., All Rights Reserved. # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the "Software"), @@ -75,11 +75,19 @@ SRCS += softmax.c # Where to find source files for this test VPATH = . +ifeq "$(MAXIM_PATH)" "" VPATH += ../Common/ +else +VPATH += /$(subst \,/,$(subst :,,$(MAXIM_PATH))/Examples/$(TARGET)/CNN/Common/) +endif VPATH += $(CMSIS_ROOT)/Device/Maxim/$(TARGET_UC)/Source # Where to find header files for this test IPATH = . +ifeq "$(MAXIM_PATH)" "" IPATH += ../Common/ +else +IPATH += /$(subst \,/,$(subst :,,$(MAXIM_PATH))/Examples/$(TARGET)/CNN/Common/) +endif # Enable assertion checking for development PROJ_CFLAGS+=-DMXC_ASSERT_ENABLE diff --git a/Examples/MAX78000/CNN/cifar-10/cifar-10.launch b/Examples/MAX78000/CNN/cifar-10/cifar-10.launch new file mode 100644 index 000000000..131e5cb19 --- /dev/null +++ b/Examples/MAX78000/CNN/cifar-10/cifar-10.launch @@ -0,0 +1,65 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Examples/MAX78000/CNN/cifar-100/.cproject b/Examples/MAX78000/CNN/cifar-100/.cproject new file mode 100644 index 000000000..d27130ffe --- /dev/null +++ b/Examples/MAX78000/CNN/cifar-100/.cproject @@ -0,0 +1,109 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Examples/MAX78000/CNN/cifar-100/.project b/Examples/MAX78000/CNN/cifar-100/.project new file mode 100644 index 000000000..cb9f78074 --- /dev/null +++ b/Examples/MAX78000/CNN/cifar-100/.project @@ -0,0 +1,43 @@ + + + cifar-100 + + + + + + org.eclipse.cdt.managedbuilder.core.genmakebuilder + clean,full,incremental, + + + + + org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder + full,incremental, + + + + + + org.eclipse.cdt.core.cnature + org.eclipse.cdt.managedbuilder.core.managedBuildNature + org.eclipse.cdt.managedbuilder.core.ScannerConfigNature + + + + PeriphDrivers + 2 + PARENT-3-ECLIPSE_HOME/Libraries/PeriphDrivers/Source + + + PeriphDrivers-Includes + 2 + PARENT-3-ECLIPSE_HOME/Libraries/PeriphDrivers/Include/MAX78000 + + + PeriphDrivers-Registers + 2 + PARENT-3-ECLIPSE_HOME/Libraries/CMSIS/Device/Maxim/MAX78000/Include + + + diff --git a/Examples/MAX78000/CNN/cifar-100/Makefile b/Examples/MAX78000/CNN/cifar-100/Makefile index 05411c593..7681e8bbc 100644 --- a/Examples/MAX78000/CNN/cifar-100/Makefile +++ b/Examples/MAX78000/CNN/cifar-100/Makefile @@ -1,5 +1,5 @@ ################################################################################ - # Copyright (C) 2020 Maxim Integrated Products, Inc., All Rights Reserved. + # Copyright (C) Maxim Integrated Products, Inc., All Rights Reserved. # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the "Software"), @@ -75,11 +75,19 @@ SRCS += softmax.c # Where to find source files for this test VPATH = . +ifeq "$(MAXIM_PATH)" "" VPATH += ../Common/ +else +VPATH += /$(subst \,/,$(subst :,,$(MAXIM_PATH))/Examples/$(TARGET)/CNN/Common/) +endif VPATH += $(CMSIS_ROOT)/Device/Maxim/$(TARGET_UC)/Source # Where to find header files for this test IPATH = . +ifeq "$(MAXIM_PATH)" "" IPATH += ../Common/ +else +IPATH += /$(subst \,/,$(subst :,,$(MAXIM_PATH))/Examples/$(TARGET)/CNN/Common/) +endif # Enable assertion checking for development PROJ_CFLAGS+=-DMXC_ASSERT_ENABLE diff --git a/Examples/MAX78000/CNN/cifar-100/cifar-100.launch b/Examples/MAX78000/CNN/cifar-100/cifar-100.launch new file mode 100644 index 000000000..c2aa8411e --- /dev/null +++ b/Examples/MAX78000/CNN/cifar-100/cifar-100.launch @@ -0,0 +1,65 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Examples/MAX78000/CNN/kws20/.cproject b/Examples/MAX78000/CNN/kws20/.cproject new file mode 100644 index 000000000..2d8ecd5d9 --- /dev/null +++ b/Examples/MAX78000/CNN/kws20/.cproject @@ -0,0 +1,109 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Examples/MAX78000/CNN/kws20/.project b/Examples/MAX78000/CNN/kws20/.project new file mode 100644 index 000000000..fdb7b2167 --- /dev/null +++ b/Examples/MAX78000/CNN/kws20/.project @@ -0,0 +1,43 @@ + + + kws20 + + + + + + org.eclipse.cdt.managedbuilder.core.genmakebuilder + clean,full,incremental, + + + + + org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder + full,incremental, + + + + + + org.eclipse.cdt.core.cnature + org.eclipse.cdt.managedbuilder.core.managedBuildNature + org.eclipse.cdt.managedbuilder.core.ScannerConfigNature + + + + PeriphDrivers + 2 + PARENT-3-ECLIPSE_HOME/Libraries/PeriphDrivers/Source + + + PeriphDrivers-Includes + 2 + PARENT-3-ECLIPSE_HOME/Libraries/PeriphDrivers/Include/MAX78000 + + + PeriphDrivers-Registers + 2 + PARENT-3-ECLIPSE_HOME/Libraries/CMSIS/Device/Maxim/MAX78000/Include + + + diff --git a/Examples/MAX78000/CNN/kws20/Makefile b/Examples/MAX78000/CNN/kws20/Makefile index 05411c593..7681e8bbc 100644 --- a/Examples/MAX78000/CNN/kws20/Makefile +++ b/Examples/MAX78000/CNN/kws20/Makefile @@ -1,5 +1,5 @@ ################################################################################ - # Copyright (C) 2020 Maxim Integrated Products, Inc., All Rights Reserved. + # Copyright (C) Maxim Integrated Products, Inc., All Rights Reserved. # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the "Software"), @@ -75,11 +75,19 @@ SRCS += softmax.c # Where to find source files for this test VPATH = . +ifeq "$(MAXIM_PATH)" "" VPATH += ../Common/ +else +VPATH += /$(subst \,/,$(subst :,,$(MAXIM_PATH))/Examples/$(TARGET)/CNN/Common/) +endif VPATH += $(CMSIS_ROOT)/Device/Maxim/$(TARGET_UC)/Source # Where to find header files for this test IPATH = . +ifeq "$(MAXIM_PATH)" "" IPATH += ../Common/ +else +IPATH += /$(subst \,/,$(subst :,,$(MAXIM_PATH))/Examples/$(TARGET)/CNN/Common/) +endif # Enable assertion checking for development PROJ_CFLAGS+=-DMXC_ASSERT_ENABLE diff --git a/Examples/MAX78000/CNN/kws20/kws20.launch b/Examples/MAX78000/CNN/kws20/kws20.launch new file mode 100644 index 000000000..b80cc3739 --- /dev/null +++ b/Examples/MAX78000/CNN/kws20/kws20.launch @@ -0,0 +1,65 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Examples/MAX78000/CNN/kws20_demo/.cproject b/Examples/MAX78000/CNN/kws20_demo/.cproject index f5fcb1982..ac69ec758 100644 --- a/Examples/MAX78000/CNN/kws20_demo/.cproject +++ b/Examples/MAX78000/CNN/kws20_demo/.cproject @@ -43,7 +43,7 @@