Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
board.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2025 Tom Hert <git@annsann.eu>
3
* SPDX-FileCopyrightText: 2025 HAW Hamburg
4
* SPDX-License-Identifier: LGPL-2.1-only
5
*/
6
7
#pragma once
8
18
19
#include "RP2350.h"
20
#include "cpu.h"
21
#include "cpu_conf.h"
22
#include "periph_conf.h"
23
#include "periph_cpu.h"
24
26
#define LED0_PIN_ID 25u
27
#define LED0_ON gpio_set(LED0_PIN_ID)
28
#define LED0_OFF gpio_clear(LED0_PIN_ID)
29
#define LED0_TOGGLE gpio_toggle(LED0_PIN_ID)
30
#define LED0_NAME "LED(Green)"
31
32
#ifdef __cplusplus
33
extern
"C"
{
34
#endif
35
37
void
board_init
(
void
);
38
39
#ifdef __cplusplus
40
}
41
#endif
42
board_init
void board_init(void)
Initialize the board, called from the cpu startup code.
Generated on Mon Sep 15 2025 13:46:10 by
1.13.2