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-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"