mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-13 20:49:08 +08:00
17 lines
349 B
C
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
|