mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-04 05:04:33 +02:00
ulp: change deprecated headers to use relative includes to avoid recursivly including the same header
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#warning Contents of esp32s2/ulp_riscv.h have been merged with ulp_riscv.h. Please include the later to avoid the warning.
|
||||
#include "ulp_riscv.h"
|
||||
#include "../ulp_riscv.h"
|
||||
|
@@ -3,6 +3,7 @@
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#warning Contents of ulp_riscv/ulp_riscv.h have been merged with ulp_riscv_utils.Please include the later to avoid the warning.
|
||||
#include "ulp_riscv_utils.h"
|
||||
#warning Contents of ulp_riscv/ulp_riscv.h have been deprecated. Please include the header which contains the actual definitions you are trying to use, e.g. "ulp_riscv_register_ops.h".
|
||||
#include "../ulp_riscv_register_ops.h"
|
||||
|
@@ -4,5 +4,7 @@
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#warning ulp_riscv_gpio.h has been moved one level up. Please include the file without the ulp_riscv prefix.
|
||||
#include "ulp_riscv_gpio.h"
|
||||
#pragma once
|
||||
|
||||
#warning "ulp_riscv_gpio.h has been moved one level up. Please include the file without the ulp_riscv prefix."
|
||||
#include "../ulp_riscv_gpio.h"
|
||||
|
@@ -3,6 +3,7 @@
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#warning ulp_riscv_register_ops.h has been moved one level up. Please include the file without the ulp_riscv prefix.
|
||||
#include "ulp_riscv_register_ops.h"
|
||||
#include "../ulp_riscv_register_ops.h"
|
||||
|
@@ -3,6 +3,7 @@
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#warning ulp_riscv_utils.h has been moved one level up. Please include the file without the ulp_riscv prefix.
|
||||
#include "ulp_riscv_utils.h"
|
||||
#include "../ulp_riscv_utils.h"
|
||||
|
Reference in New Issue
Block a user