add at32 to README.rst, rename at32 board to lower case, correct name to match mcu, add meta data
This commit is contained in:
@@ -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
|
@@ -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"
|
||||
|
Reference in New Issue
Block a user