summaryrefslogtreecommitdiff
path: root/board/nucleo-h743zi/board.h
blob: 966f2a8c945e6ce2013c9fa1c12c6bec460d21da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/* Copyright 2019 The Chromium OS Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

/*
 * STM32H743 MCU configuration
 */

#ifndef __BOARD_H
#define __BOARD_H

/* Baseboard features */
#include "base-board.h"

#undef CONFIG_SYSTEM_UNLOCKED

/*
 * These allow console commands to be flagged as restricted.
 * Restricted commands will only be permitted to run when
 * console_is_restricted() returns false.
 * See console_is_restricted's definition in board.c.
 */
#define CONFIG_CONSOLE_COMMAND_FLAGS
#define CONFIG_RESTRICTED_CONSOLE_COMMANDS

/*
 * Enable the blink example that exercises the LEDs.
 */
#define CONFIG_BLINK
#define CONFIG_BLINK_LEDS    GPIO_LED1, GPIO_LED2, GPIO_LED3

#endif /* __BOARD_H */