Skip to content

Commit

Permalink
Removed TMR alias for ISR and update CMSIS version
Browse files Browse the repository at this point in the history
  • Loading branch information
HorrorTroll committed Jan 10, 2025
1 parent 9a3a5f7 commit 6c6ebb9
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 21 deletions.
8 changes: 4 additions & 4 deletions os/common/ext/CMSIS/ArteryTek/AT32F415/at32f415cx.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
**************************************************************************
* @file at32f415cx.h
* @author Artery Technology & HorrorTroll & Zhaqian
* @version v2.1.4
* @date 01-February-2024
* @version v2.1.6
* @date 13-December-2024
* @brief AT32F415Cx header file.
*
**************************************************************************
Expand Down Expand Up @@ -42,11 +42,11 @@
#endif

/**
* @brief CMSIS Device version number V2.1.4
* @brief CMSIS Device version number V2.1.6
*/
#define __AT32F415_LIBRARY_VERSION_MAJOR (0x02) /*!< [31:24] major version */
#define __AT32F415_LIBRARY_VERSION_MIDDLE (0x01) /*!< [23:16] middle version */
#define __AT32F415_LIBRARY_VERSION_MINOR (0x04) /*!< [15:8] minor version */
#define __AT32F415_LIBRARY_VERSION_MINOR (0x06) /*!< [15:8] minor version */
#define __AT32F415_LIBRARY_VERSION_RC (0x00) /*!< [7:0] release candidate */
#define __AT32F415_LIBRARY_VERSION ((__AT32F415_LIBRARY_VERSION_MAJOR << 24)\
|(__AT32F415_LIBRARY_VERSION_MIDDLE << 16)\
Expand Down
8 changes: 4 additions & 4 deletions os/common/ext/CMSIS/ArteryTek/AT32F415/at32f415kx.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
**************************************************************************
* @file at32f415kx.h
* @author Artery Technology & HorrorTroll & Zhaqian
* @version v2.1.4
* @date 01-February-2024
* @version v2.1.6
* @date 13-December-2024
* @brief AT32F415Kx header file.
*
**************************************************************************
Expand Down Expand Up @@ -42,11 +42,11 @@
#endif

/**
* @brief CMSIS Device version number V2.1.4
* @brief CMSIS Device version number V2.1.6
*/
#define __AT32F415_LIBRARY_VERSION_MAJOR (0x02) /*!< [31:24] major version */
#define __AT32F415_LIBRARY_VERSION_MIDDLE (0x01) /*!< [23:16] middle version */
#define __AT32F415_LIBRARY_VERSION_MINOR (0x04) /*!< [15:8] minor version */
#define __AT32F415_LIBRARY_VERSION_MINOR (0x06) /*!< [15:8] minor version */
#define __AT32F415_LIBRARY_VERSION_RC (0x00) /*!< [7:0] release candidate */
#define __AT32F415_LIBRARY_VERSION ((__AT32F415_LIBRARY_VERSION_MAJOR << 24)\
|(__AT32F415_LIBRARY_VERSION_MIDDLE << 16)\
Expand Down
8 changes: 4 additions & 4 deletions os/common/ext/CMSIS/ArteryTek/AT32F415/at32f415rx.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
**************************************************************************
* @file at32f415rx.h
* @author Artery Technology & HorrorTroll & Zhaqian
* @version v2.1.4
* @date 01-February-2024
* @version v2.1.6
* @date 13-December-2024
* @brief AT32F415Rx header file.
*
**************************************************************************
Expand Down Expand Up @@ -42,11 +42,11 @@
#endif

/**
* @brief CMSIS Device version number V2.1.4
* @brief CMSIS Device version number V2.1.6
*/
#define __AT32F415_LIBRARY_VERSION_MAJOR (0x02) /*!< [31:24] major version */
#define __AT32F415_LIBRARY_VERSION_MIDDLE (0x01) /*!< [23:16] middle version */
#define __AT32F415_LIBRARY_VERSION_MINOR (0x04) /*!< [15:8] minor version */
#define __AT32F415_LIBRARY_VERSION_MINOR (0x06) /*!< [15:8] minor version */
#define __AT32F415_LIBRARY_VERSION_RC (0x00) /*!< [7:0] release candidate */
#define __AT32F415_LIBRARY_VERSION ((__AT32F415_LIBRARY_VERSION_MAJOR << 24)\
|(__AT32F415_LIBRARY_VERSION_MIDDLE << 16)\
Expand Down
9 changes: 0 additions & 9 deletions os/hal/ports/AT32/AT32F415/at32_isr.h
Original file line number Diff line number Diff line change
Expand Up @@ -210,15 +210,6 @@
#define AT32_TMR4_NUMBER 30
#define AT32_TMR5_NUMBER 50

/* Aliases.*/
#define AT32_TMR9_HANDLER VectorA0
#define AT32_TMR10_HANDLER VectorA4
#define AT32_TMR11_HANDLER VectorA8

#define AT32_TMR9_NUMBER 24
#define AT32_TMR10_NUMBER 25
#define AT32_TMR11_NUMBER 26

/*
* USART units.
*/
Expand Down

0 comments on commit 6c6ebb9

Please sign in to comment.