4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-02-09 10:39:11 +08:00
2023-08-24 10:52:36 -04:00

17 lines
349 B
C

/*
* Copyright (C) 2023 Espressif Systems (Shanghai) CO LTD
* SPDX-License-Identifier: BSD-2-Clause
*/
#ifndef SOC_CPU_H
#define SOC_CPU_H
/*
* ESP32 starts with CPU frequency 40MHz
* Let's do not reconfigure it to simplify libgloss
*/
#define CPU_FREQUENCY_MHZ 40
#define CPU_FREQUENCY_HZ (CPU_FREQUENCY_MHZ * 1000000)
#endif // SOC_CPU_H