Skip to content

Commit

Permalink
Default system clock to 200MHz
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelBell authored and Gadgetoid committed Nov 29, 2024
1 parent 3b492f6 commit e3322b7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions presto/presto.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit e3322b7

Please sign in to comment.