-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'contrib/github_pr_10895_v5.1' into 'release/v5.1'
Fix possible conversion errors by using __builtin_ffsll (GitHub PR) (v5.1) See merge request espressif/esp-idf!23690
- Loading branch information
Showing
5 changed files
with
48 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
idf_component_register(SRCS cxx_build_test_main.cpp | ||
test_soc_reg_macros.cpp | ||
test_esp_hw_support.cpp | ||
INCLUDE_DIRS "." | ||
PRIV_REQUIRES driver | ||
REQUIRES soc) | ||
|
||
set_source_files_properties(test_esp_hw_support.cpp PROPERTIES COMPILE_FLAGS -Wsign-conversion) |
41 changes: 41 additions & 0 deletions
41
tools/test_apps/system/cxx_build_test/main/test_esp_hw_support.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/* | ||
* SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD | ||
* | ||
* SPDX-License-Identifier: Unlicense OR CC0-1.0 | ||
*/ | ||
|
||
#include "esp_cpu.h" | ||
#include "clk_ctrl_os.h" | ||
//#include "clk_tree.h" TODO: outdated header name (IDF-7286) | ||
#include "dport_access.h" | ||
#include "esp_async_memcpy.h" | ||
#include "esp_chip_info.h" | ||
#include "esp_crc.h" | ||
#include "esp_etm.h" | ||
#include "esp_fault.h" | ||
#include "esp_interface.h" | ||
#include "esp_intr_alloc.h" | ||
#include "esp_mac.h" | ||
#include "esp_memory_utils.h" | ||
#include "esp_memprot_err.h" | ||
#include "esp_memprot.h" | ||
#include "esp_memprot_types.h" | ||
#include "esp_random.h" | ||
#include "esp_sleep.h" | ||
#include "esp_wake_stub.h" | ||
#include "intr_types.h" | ||
#include "rtc_wdt.h" | ||
#include "spinlock.h" | ||
|
||
#include "soc/soc_caps.h" | ||
|
||
#if SOC_HMAC_SUPPORTED | ||
#include "esp_hmac.h" | ||
#endif | ||
|
||
#if SOC_DIG_SIGN_SUPPORTED | ||
#include "esp_ds_err.h" | ||
#include "esp_ds.h" | ||
#endif | ||
|
||
extern "C" void app_main() { } |