esp-idf/tools/test_apps/system/startup/main/chip_info_patch.c
Sudeep Mohanty a9fda54d39 esp_hw_support/esp_system: Re-evaluate header inclusions and include directories
This commit updates the visibility of various header files and cleans up
some unnecessary inclusions. Also, this commit removes certain header
include paths which were maintained for backward compatibility.
2022-03-07 11:18:08 +05:30

17 lines
416 B
C

/*
* SPDX-FileCopyrightText: 2013-2022 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
#include "esp_chip_info.h"
extern void __real_esp_chip_info(esp_chip_info_t* out_info);
// Fake a single core chip for testing purposes only, see CONFIG_SINGLE_CORE_VARIANT
void __wrap_esp_chip_info(esp_chip_info_t* out_info)
{
__real_esp_chip_info(out_info);
out_info->cores = 1;
}