add at32 to README.rst, rename at32 board to lower case, correct name to match mcu, add meta data

This commit is contained in:
hathach
2025-08-01 11:26:04 +07:00
parent a16c7a27e4
commit 9290788a23
34 changed files with 104 additions and 4 deletions

View File

@@ -24,6 +24,11 @@
* This file is part of the TinyUSB stack.
*/
/* metadata:
name: AT-START-F405
url: https://www.arterychip.com/en/product/AT32F405.jsp
*/
#ifndef BOARD_H_
#define BOARD_H_

View File

@@ -24,6 +24,10 @@
* This file is part of the TinyUSB stack.
*/
/* metadata:
manufacturer: Artery
*/
#include "at32f402_405_clock.h"
#include "bsp/board_api.h"
#include "board.h"

View File

@@ -24,6 +24,11 @@
* This file is part of the TinyUSB stack.
*/
/* metadata:
name: AT-START-F403a
url: https://www.arterychip.com/en/product/AT32F403.jsp
*/
#ifndef BOARD_H_
#define BOARD_H_
@@ -37,6 +42,11 @@
#define LED_STATE_ON 0 // Active Low
#define LED_GPIO_CLK_EN() crm_periph_clock_enable(CRM_GPIOD_PERIPH_CLOCK, TRUE)
// #define LED_PORT GPIOA
// #define LED_PIN GPIO_PINS_1
// #define LED_STATE_ON 0 // Active Low
// #define LED_GPIO_CLK_EN() crm_periph_clock_enable(CRM_GPIOA_PERIPH_CLOCK, TRUE)
// Button
#define BUTTON_PORT GPIOA
#define BUTTON_PIN GPIO_PINS_0

View File

@@ -24,6 +24,10 @@
* This file is part of the TinyUSB stack.
*/
/* metadata:
manufacturer: Artery
*/
#include "at32f403a_407_clock.h"
#include "board.h"
#include "bsp/board_api.h"

View File

@@ -24,6 +24,11 @@
* This file is part of the TinyUSB stack.
*/
/* metadata:
name: AT-START-F413
url: https://www.arterychip.com/en/product/AT32F413.jsp
*/
#ifndef BOARD_H_
#define BOARD_H_

View File

@@ -24,6 +24,10 @@
* This file is part of the TinyUSB stack.
*/
/* metadata:
manufacturer: Artery
*/
#include "at32f413_clock.h"
#include "board.h"
#include "bsp/board_api.h"

View File

@@ -24,6 +24,11 @@
* This file is part of the TinyUSB stack.
*/
/* metadata:
name: AT-START-F415
url: https://www.arterychip.com/en/product/AT32F415.jsp
*/
#ifndef BOARD_H_
#define BOARD_H_

View File

@@ -24,6 +24,10 @@
* This file is part of the TinyUSB stack.
*/
/* metadata:
manufacturer: Artery
*/
#include "at32f415_clock.h"
#include "board.h"
#include "bsp/board_api.h"

View File

@@ -24,6 +24,11 @@
* This file is part of the TinyUSB stack.
*/
/* metadata:
name: AT-START-F423
url: https://www.arterychip.com/en/product/AT32F423.jsp
*/
#ifndef BOARD_H_
#define BOARD_H_

View File

@@ -24,6 +24,10 @@
* This file is part of the TinyUSB stack.
*/
/* metadata:
manufacturer: Artery
*/
#include "at32f423_clock.h"
#include "board.h"
#include "bsp/board_api.h"

View File

@@ -24,6 +24,11 @@
* This file is part of the TinyUSB stack.
*/
/* metadata:
name: AT-START-F425
url: https://www.arterychip.com/en/product/AT32F425.jsp
*/
#ifndef BOARD_H_
#define BOARD_H_

View File

@@ -24,6 +24,10 @@
* This file is part of the TinyUSB stack.
*/
/* metadata:
manufacturer: Artery
*/
#include "at32f425_clock.h"
#include "board.h"
#include "bsp/board_api.h"

View File

@@ -24,6 +24,11 @@
* This file is part of the TinyUSB stack.
*/
/* metadata:
name: AT-START-F437
url: https://www.arterychip.com/en/product/AT32F437.jsp
*/
#ifndef BOARD_H_
#define BOARD_H_

View File

@@ -24,6 +24,10 @@
* This file is part of the TinyUSB stack.
*/
/* metadata:
manufacturer: Artery
*/
#include "at32f435_437_clock.h"
#include "board.h"
#include "bsp/board_api.h"