Replace the existing Apache 2.0 boilerplate header with an SPDX tag throughout the zephyr code tree. This patch was generated via a script run over the master branch. Also updated doc/porting/application.rst that had a dependency on line numbers in a literal include. Manually updated subsys/logging/sys_log.c that had a malformed header in the original file. Also cleanup several cases that already had a SPDX tag and we either got a duplicate or missed updating. Jira: ZEP-1457 Change-Id: I6131a1d4ee0e58f5b938300c2d2fc77d2e69572c Signed-off-by: David B. Kinder <david.b.kinder@intel.com> Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
27 lines
581 B
C
27 lines
581 B
C
/*
|
|
* Copyright (c) 2015 Intel Corporation
|
|
* Copyright (c) 2017 Linaro Limited.
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#ifndef __INC_BOARD_H
|
|
#define __INC_BOARD_H
|
|
|
|
#include <soc.h>
|
|
|
|
/* USER push button */
|
|
#define USER_PB_GPIO_PORT "GPIOC"
|
|
#define USER_PB_GPIO_PIN 13
|
|
|
|
/* LD2 green LED */
|
|
#define LD2_GPIO_PORT "GPIOA"
|
|
#define LD2_GPIO_PIN 5
|
|
|
|
/* Create aliases to make the basic samples work */
|
|
#define SW0_GPIO_NAME USER_PB_GPIO_PORT
|
|
#define SW0_GPIO_PIN USER_PB_GPIO_PIN
|
|
#define LED0_GPIO_PORT LD2_GPIO_PORT
|
|
#define LED0_GPIO_PIN LD2_GPIO_PIN
|
|
|
|
#endif /* __INC_BOARD_H */
|