dts: Add include/generated_dts_board.h for backwards compatibility
Includes include/devicetree.h and generates a warning. Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
This commit is contained in:
parent
4e85006ba4
commit
2b12de56ac
1 changed files with 2 additions and 20 deletions
|
@ -1,20 +1,2 @@
|
|||
/*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*
|
||||
* Copyright (c) 2019 Nordic Semiconductor
|
||||
*
|
||||
* Not a generated file. Feel free to modify.
|
||||
*
|
||||
* Poorly named for legacy compatibility reasons.
|
||||
*/
|
||||
|
||||
#ifndef GENERATED_DTS_BOARD_H
|
||||
#define GENERATED_DTS_BOARD_H
|
||||
|
||||
#include <generated_dts_board_unfixed.h>
|
||||
|
||||
/* The following definitions fixup the generated include */
|
||||
|
||||
#include <generated_dts_board_fixups.h>
|
||||
|
||||
#endif /* GENERATED_DTS_BOARD_H */
|
||||
#warning "generated_dts_board.h has been renamed to devicetree.h. Please include that instead."
|
||||
#include <devicetree.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue