From e3322b72dda17d9b1d5feeac616dd2cbd7064821 Mon Sep 17 00:00:00 2001 From: Mike Bell Date: Thu, 28 Nov 2024 23:28:05 +0000 Subject: [PATCH] Default system clock to 200MHz --- presto/presto.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/presto/presto.h b/presto/presto.h index d5ea68e..f78d6d0 100644 --- a/presto/presto.h +++ b/presto/presto.h @@ -126,4 +126,10 @@ // Allocate LWIP buffers in PSRAM #define LWIP_DECLARE_MEMORY_ALIGNED(variable_name, size) __attribute__((section(".psram_data"), aligned(4))) uint8_t variable_name[LWIP_MEM_ALIGN_BUFFER(size)] +// Default the system clock to 200MHz for best performance +#define SYS_CLK_HZ 200000000 +#define PLL_SYS_VCO_FREQ_HZ 1200000000 +#define PLL_SYS_POSTDIV1 6 +#define PLL_SYS_POSTDIV2 1 + #endif