Library for Modtronix NZ32 STM32 boards, like the NZ32-SC151, NZ32-SB072, NZ32-SE411 and others

Revision:
13:328bfac0e686
Parent:
3:99cb87ee1792
Child:
15:3fd3c1ce01be
--- a/nz32s_default_config.h	Thu Sep 17 11:53:01 2015 +1000
+++ b/nz32s_default_config.h	Wed Oct 21 14:53:20 2015 +1100
@@ -1,5 +1,5 @@
 /**
- * File:      nz32s_default_defines.h
+ * File:      nz32s_default_config.h
  *
  * Author:    Modtronix Engineering - www.modtronix.com
  *
@@ -21,16 +21,12 @@
 #ifndef MODTRONIX_NZ32S_NZ32S_DEFAULT_CONFIG_H_
 #define MODTRONIX_NZ32S_NZ32S_DEFAULT_CONFIG_H_
 
-//This file is used to configure the "modtronix_NZ32S" library. The recommended way to change the defines
-//in this file is to create a copy of this file in your main project folder. Name it "nz32s_config.h".
-//To use the defines from this new file, comment the following line. This makes it easier when
-//upgrading to newer version of this library, seeing that this file with modifications will be
-//overwritten. After upgrade, all that has to be done is to uncomment following line again.
-//#define USE_CUSTOM_NZ32S_CONFIG    //Uncomment this line after creating "nz32s_config.h" in project
+//This file requires a file called "modtronix_config.h" to exist in the project!
+//Use this file to override any of the default defines below. Do NOT edit this file!
+#if !defined(NO_MODTRONIX_CONFIG)
+    #include "modtronix_config.h"
+#endif
 
-#if defined(USE_CUSTOM_NZ32S_CONFIG)
-#include "nz32s_config.h"
-#endif
 
 // Copy from here to custom nz32s_defines.h file //////////////////////////////