aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/boards/trifle/board_config.h
blob: d860bb90677a0d3b92bedfee3f5285912e26a0ce (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef BOARD_CONFIG_H
#define BOARD_CONFIG_H

#include <nuttx/config.h>
#include <stdbool.h>

extern uint32_t __device_id;
#define UDID_START __device_id

#define GPIO_LED0 (PIN_PORTC | PIN5 | GPIO_HIGHDRIVE | GPIO_OUTPUT_ONE)

__EXPORT void led_init(void);

__EXPORT void led_set(int led, bool value);

#endif