mirror of
https://github.com/ArteryTek/AT32F413_Firmware_Library.git
synced 2026-05-21 09:22:02 +00:00
update version to v2.1.0
This commit is contained in:
@@ -66,6 +66,9 @@ extern "C" {
|
||||
#define AT32F413xx
|
||||
#endif
|
||||
|
||||
/**
|
||||
* define with package
|
||||
*/
|
||||
#if defined (AT32F413RBT7) || defined (AT32F413RCT7)
|
||||
|
||||
#define AT32F413Rx
|
||||
@@ -82,6 +85,26 @@ extern "C" {
|
||||
#define AT32F413Kx
|
||||
#endif
|
||||
|
||||
/**
|
||||
* define with memory density
|
||||
*/
|
||||
#if defined (AT32F413C8T7) || defined (AT32FEBKC8T7)
|
||||
|
||||
#define AT32F413x8
|
||||
#endif
|
||||
|
||||
#if defined (AT32F413KBU7_4) || defined (AT32F413CBU7) || defined (AT32F413CBT7) || \
|
||||
defined (AT32F413RBT7) || defined (AT32F413TBU7)
|
||||
|
||||
#define AT32F413xB
|
||||
#endif
|
||||
|
||||
#if defined (AT32F413KCU7_4) || defined (AT32F413CCU7) || defined (AT32F413CCT7) || \
|
||||
defined (AT32F413RCT7)
|
||||
|
||||
#define AT32F413xC
|
||||
#endif
|
||||
|
||||
#ifndef USE_STDPERIPH_DRIVER
|
||||
/**
|
||||
* @brief comment the line below if you will not use the peripherals drivers.
|
||||
@@ -100,8 +123,8 @@ extern "C" {
|
||||
* @brief at32f413 standard peripheral library version number
|
||||
*/
|
||||
#define __AT32F413_LIBRARY_VERSION_MAJOR (0x02) /*!< [31:24] major version */
|
||||
#define __AT32F413_LIBRARY_VERSION_MIDDLE (0x00) /*!< [23:16] middle version */
|
||||
#define __AT32F413_LIBRARY_VERSION_MINOR (0x09) /*!< [15:8] minor version */
|
||||
#define __AT32F413_LIBRARY_VERSION_MIDDLE (0x01) /*!< [23:16] middle version */
|
||||
#define __AT32F413_LIBRARY_VERSION_MINOR (0x00) /*!< [15:8] minor version */
|
||||
#define __AT32F413_LIBRARY_VERSION_RC (0x00) /*!< [7:0] release candidate */
|
||||
#define __AT32F413_LIBRARY_VERSION ((__AT32F413_LIBRARY_VERSION_MAJOR << 24) | \
|
||||
(__AT32F413_LIBRARY_VERSION_MIDDLE << 16) | \
|
||||
|
||||
Reference in New Issue
Block a user