f806c5829b
* pre-commit: Update and enable clang-format check There is newer version from clang-format so use that. We do not yet want 18 as that is little bit too new. * Format some thing by hand which clang-format "breaks" Clang-format will format some things little bit off in some cases. Format some things by hand so we get cleaner end result. * Run clang-format with ``` pre-commit run --all-files clang-format ``` We have already in previously checked places where clang-format does not make good format and ignored those (hopefully most of the things). --------- Co-authored-by: Kari Argillander <kari.argillander@fidelix.com>
30 lines
760 B
C
30 lines
760 B
C
/**************************************************************************
|
|
*
|
|
* Copyright (C) 2011 Steve Karg <skarg@users.sourceforge.net>
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*********************************************************************/
|
|
#ifndef HARDWARE_H
|
|
#define HARDWARE_H
|
|
|
|
/* IO Port RPDL function definitions */
|
|
#include "r_pdl_io_port.h"
|
|
/* CMT RPDL function definitions */
|
|
#include "r_pdl_cmt.h"
|
|
/* General RPDL function definitions */
|
|
#include "r_pdl_definitions.h"
|
|
/* Evaluation Board Definitions */
|
|
#include "YRDKRX62N.h"
|
|
/* Ethernet driver */
|
|
#include "r_ether.h"
|
|
/* LCD Driver */
|
|
#include "lcd.h"
|
|
|
|
/* there are 4..15 LEDs on the board */
|
|
#define MAX_LEDS 16
|
|
/* use the LEDS as binary outputs */
|
|
#define MAX_BINARY_OUTPUTS 16
|
|
|
|
#endif
|