Skip to content

Commit

Permalink
add more information in board definitions, along with small fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
dword1511 committed Jul 2, 2016
1 parent 12aa8b6 commit 1eaa712
Show file tree
Hide file tree
Showing 7 changed files with 46 additions and 5 deletions.
9 changes: 9 additions & 0 deletions boards/maple-mini.h
Expand Up @@ -5,6 +5,15 @@
#include <libopencm3/stm32/rcc.h>
#include <libopencm3/stm32/gpio.h>

/*
* Board definitions for Maple Mini
* Although originally developed by Leaf Labs, its compatible clones are once everywhere.
* WiKi:
* http://leaflabs.com/docs/hardware/maple-mini.html (removed, see web archives)
* GitHub:
* https://github.com/leaflabs/maplemini.git
*/

#define BOARD_USE_DEBUG_PINS_AS_GPIO false

#define BOARD_RCC_LED RCC_GPIOB
Expand Down
10 changes: 9 additions & 1 deletion boards/stm32-bluepill.h
Expand Up @@ -5,7 +5,15 @@
#include <libopencm3/stm32/rcc.h>
#include <libopencm3/stm32/gpio.h>

#define BOARD_USE_DEBUG_PINS_AS_GPIO false /* We don't have to disable SWD to access Gpio's on these boards */
/*
* Board definitions for "redpill" and "bluepill" boards
* These are low cost boards that are quite wide spread, and might come in many brands.
* Wiki:
* http://wiki.stm32duino.com/index.php?title=Blue_Pill
* http://wiki.stm32duino.com/index.php?title=Red_Pill
*/

#define BOARD_USE_DEBUG_PINS_AS_GPIO false /* We don't have to disable SWD to access GPIO's on these boards */

#define BOARD_RCC_LED RCC_GPIOC
#define BOARD_PORT_LED GPIOC
Expand Down
4 changes: 0 additions & 4 deletions boards/stm32-bluepill.mk

This file was deleted.

1 change: 1 addition & 0 deletions boards/stm32-bluepill.mk
8 changes: 8 additions & 0 deletions boards/stm32-boardtoaster.h
Expand Up @@ -5,6 +5,14 @@
#include <libopencm3/stm32/rcc.h>
#include <libopencm3/stm32/gpio.h>

/*
* Board definitions for STM32 Board Toast
* This is my spare-time project. It is a bread-board friendly minimal system for STM32F0x2.
* There are also some derivatives on OSHPark. Eagle file will be released upon request.
* OSHPark:
* https://oshpark.com/shared_projects/HUtPmtCZ
*/

#define BOARD_USE_DEBUG_PINS_AS_GPIO false

#define BOARD_RCC_LED RCC_GPIOB
Expand Down
9 changes: 9 additions & 0 deletions boards/stm32-tiny042.h
Expand Up @@ -5,6 +5,15 @@
#include <libopencm3/stm32/rcc.h>
#include <libopencm3/stm32/gpio.h>

/*
* Board definitions for STM32 Tiny042
* This is my spare-time project. It is a minimalist USB board for STM32F0x2.
* OSHPark:
* https://oshpark.com/shared_projects/rBnfauMK
* GitHub:
* https://github.com/dword1511/stm32-tiny042.git
*/

#define BOARD_USE_DEBUG_PINS_AS_GPIO false

#define BOARD_RCC_LED RCC_GPIOA
Expand Down
5 changes: 5 additions & 0 deletions boards/stm32-vserprog-v2.h
Expand Up @@ -5,6 +5,11 @@
#include <libopencm3/stm32/rcc.h>
#include <libopencm3/stm32/gpio.h>

/*
* Board definitions for STM32 VSerprog V2
* Eagle files are in the "pcb" folder.
*/

#define BOARD_USE_DEBUG_PINS_AS_GPIO true /* We have to disable JTAG / SWD to access PB3 */

#define BOARD_RCC_LED RCC_GPIOA
Expand Down
5 changes: 5 additions & 0 deletions boards/stm32-vserprog-v3.h
Expand Up @@ -5,6 +5,11 @@
#include <libopencm3/stm32/rcc.h>
#include <libopencm3/stm32/gpio.h>

/*
* Board definitions for STM32 VSerprog V3
* Eagle files are in the "pcb" folder.
*/

#define BOARD_USE_DEBUG_PINS_AS_GPIO true /* We have to disable JTAG / SWD to access PA13 */

#define BOARD_RCC_LED RCC_GPIOA
Expand Down

0 comments on commit 1eaa712

Please sign in to comment.