1 /* 2 * SPDX-FileCopyrightText: 2013-2021 Espressif Systems (Shanghai) CO LTD 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #include <string.h> 8 #include "esp_chip_info.h" 9 esp_chip_info(esp_chip_info_t * out_info)10void esp_chip_info(esp_chip_info_t *out_info) 11 { 12 memset(out_info, 0, sizeof(*out_info)); 13 14 out_info->model = CHIP_POSIX_LINUX; 15 16 // TODO: May need to adjust once networking becomes available on POSIX/Linux 17 out_info->features = 0; 18 out_info->revision = 0; 19 out_info->cores = 1; 20 } 21