Merge branch 'bugfix/ulp_depr_headers' into 'master'

ulp: change deprecated headers to use relative includes to avoid recursivly...

See merge request espressif/esp-idf!17112
This commit is contained in:
Marius Vikhammer 2022-02-14 03:31:04 +00:00
commit 3da0b2249b
5 changed files with 13 additions and 7 deletions

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"