2022-01-12 12:23:47 +05:30
|
|
|
/*
|
|
|
|
|
* SPDX-FileCopyrightText: 2013-2022 Espressif Systems (Shanghai) CO LTD
|
|
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
*/
|
2021-03-10 14:07:52 +08:00
|
|
|
|
2022-01-12 12:23:47 +05:30
|
|
|
#include "esp_chip_info.h"
|
2021-03-10 14:07:52 +08:00
|
|
|
|
|
|
|
|
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;
|
|
|
|
|
}
|