mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-12-14 19:53:14 +00:00
Multi Module Board Definition Updates (#133)
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
#ifndef _BOARD_GENERIC_STM32F103C_H_
|
||||
#define _BOARD_GENERIC_STM32F103C_H_
|
||||
|
||||
#define CYCLES_PER_MICROSECOND 72
|
||||
#define CYCLES_PER_MICROSECOND (F_CPU / 1000000U)
|
||||
#define SYSTICK_RELOAD_VAL (F_CPU/1000) - 1 /* takes a cycle to reload */
|
||||
|
||||
#define BOARD_NR_USARTS 3
|
||||
@@ -70,8 +70,10 @@
|
||||
#define BOARD_JTDO_PIN 19
|
||||
#define BOARD_NJTRST_PIN 18
|
||||
|
||||
#define BOARD_USB_DISC_DEV GPIOB
|
||||
#define BOARD_USB_DISC_BIT 10
|
||||
#define BOARD_USB_DISC_DEV NULL
|
||||
#define BOARD_USB_DISC_BIT NULL
|
||||
|
||||
#define LED_BUILTIN PC13
|
||||
|
||||
// Note this needs to match with the PIN_MAP array in board.cpp
|
||||
enum {
|
||||
|
||||
Reference in New Issue
Block a user