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

Committer:
modtronix-com
Date:
Wed Oct 21 14:53:20 2015 +1100
Revision:
13:328bfac0e686
Parent:
3:99cb87ee1792
Child:
15:3fd3c1ce01be
Many improvements, and added dependency for modtronix_config.h file.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
modtronix 3:99cb87ee1792 1 /**
modtronix-com 13:328bfac0e686 2 * File: nz32s_default_config.h
modtronix 3:99cb87ee1792 3 *
modtronix 3:99cb87ee1792 4 * Author: Modtronix Engineering - www.modtronix.com
modtronix 3:99cb87ee1792 5 *
modtronix 3:99cb87ee1792 6 * Description:
modtronix 3:99cb87ee1792 7 *
modtronix 3:99cb87ee1792 8 * Software License Agreement:
modtronix 3:99cb87ee1792 9 * This software has been written or modified by Modtronix Engineering. The code
modtronix 3:99cb87ee1792 10 * may be modified and can be used free of charge for commercial and non commercial
modtronix 3:99cb87ee1792 11 * applications. If this is modified software, any license conditions from original
modtronix 3:99cb87ee1792 12 * software also apply. Any redistribution must include reference to 'Modtronix
modtronix 3:99cb87ee1792 13 * Engineering' and web link(www.modtronix.com) in the file header.
modtronix 3:99cb87ee1792 14 *
modtronix 3:99cb87ee1792 15 * THIS SOFTWARE IS PROVIDED IN AN 'AS IS' CONDITION. NO WARRANTIES, WHETHER EXPRESS,
modtronix 3:99cb87ee1792 16 * IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF
modtronix 3:99cb87ee1792 17 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. THE
modtronix 3:99cb87ee1792 18 * COMPANY SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL OR
modtronix 3:99cb87ee1792 19 * CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
modtronix 3:99cb87ee1792 20 */
modtronix 3:99cb87ee1792 21 #ifndef MODTRONIX_NZ32S_NZ32S_DEFAULT_CONFIG_H_
modtronix 3:99cb87ee1792 22 #define MODTRONIX_NZ32S_NZ32S_DEFAULT_CONFIG_H_
modtronix 3:99cb87ee1792 23
modtronix-com 13:328bfac0e686 24 //This file requires a file called "modtronix_config.h" to exist in the project!
modtronix-com 13:328bfac0e686 25 //Use this file to override any of the default defines below. Do NOT edit this file!
modtronix-com 13:328bfac0e686 26 #if !defined(NO_MODTRONIX_CONFIG)
modtronix-com 13:328bfac0e686 27 #include "modtronix_config.h"
modtronix-com 13:328bfac0e686 28 #endif
modtronix 3:99cb87ee1792 29
modtronix 3:99cb87ee1792 30
modtronix 3:99cb87ee1792 31 // Copy from here to custom nz32s_defines.h file //////////////////////////////
modtronix 3:99cb87ee1792 32
modtronix 3:99cb87ee1792 33 //Set to 1 to disable A13 and A14 from being used(are SWD serial program/debug ping). Must be done if
modtronix 3:99cb87ee1792 34 //debugging is going to be used. These pins are used by ST-Link for programming debugging, but also used
modtronix 3:99cb87ee1792 35 //for battery level monitoring, and enabling fast battery charge. Setting this define to 0 will disable these
modtronix 3:99cb87ee1792 36 //functions, but will enable programming and debugging via SWD (ST-Link)
modtronix 3:99cb87ee1792 37 #if !defined(DONT_USE_A13_A14)
modtronix 3:99cb87ee1792 38 #define DONT_USE_A13_A14 1
modtronix 3:99cb87ee1792 39 #endif
modtronix 3:99cb87ee1792 40
modtronix 3:99cb87ee1792 41 // End of contents to copy to custom nz32s_defines.h file /////////////////////
modtronix 3:99cb87ee1792 42
modtronix 3:99cb87ee1792 43 #endif /* MODTRONIX_NZ32S_NZ32S_DEFAULT_CONFIG_H_ */