Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
board.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2019 Benjamin Valentin
3
*
4
* This file is subject to the terms and conditions of the GNU Lesser
5
* General Public License v2.1. See the file LICENSE in the top level
6
* directory for more details.
7
*/
8
9
#pragma once
10
23
#ifdef __cplusplus
24
extern
"C"
{
25
#endif
26
27
#include "periph_cpu.h"
28
33
#define XTIMER_BACKOFF (8)
34
#define XTIMER_OVERHEAD (6)
41
#define LED0_PIN_NUM 13
42
#define LED0_PORT GPIO_PORT_C
43
#define LED0_PORT_NUM PORT_C
44
#define LED0_IS_INVERTED 1
51
#define BTN0_PIN GPIO_PIN(PORT_A, 0)
52
#define BTN0_MODE GPIO_IN_PU
62
#define WEACT_4X1CX_NOR_PAGE_SIZE (256)
63
#define WEACT_4X1CX_NOR_PAGES_PER_SECTOR (16)
64
#define WEACT_4X1CX_NOR_FLAGS (SPI_NOR_F_SECT_4K | SPI_NOR_F_SECT_32K)
65
#define WEACT_4X1CX_NOR_SPI_DEV SPI_DEV(0)
66
#define WEACT_4X1CX_NOR_SPI_CLK SPI_CLK_10MHZ
67
#define WEACT_4X1CX_NOR_SPI_CS GPIO_PIN(PORT_A, 4)
68
#define WEACT_4X1CX_NOR_SPI_MODE SPI_MODE_0
75
#define MTD_0 mtd_dev_get(0)
78
#ifdef __cplusplus
79
}
80
#endif
81
82
#include "
stm32_leds.h
"
83
stm32_leds.h
Common LED macros.
Generated on Thu Jun 26 2025 14:14:43 by
1.9.1