A un moment y'a longtemps j'avais fait ca au debut de la gp32 donc si ca peut aider
////////////////////////////////////////////////////
// CPU FREQUENCE FOR GP32 //
////////////////////////////////////////////////////
// By ThunderZ //
////////////////////////////////////////////////////
// Thanks to all GP32 community for make this //
// table possible. //
////////////////////////////////////////////////////
// WARNING, you use it at your how risk !!! //
////////////////////////////////////////////////////
/*
1 - 16.7 Mhz
2 - 33 MhZ (1)
3 - 33 Mhz (2)
4 - 67.5 Mhz
5 - 80 Mhz
6 - 102 Mhz
7 - 132 Mhz
*/
int clock_settings [7]={16500000,33000000,33000000,67500000,80000000,102000000,132000000};
int div_settings[7]={ 0x71142,0x24003,0x3a013,0x25021,0x48012,0x1a020,0x3a011};
int clockdiv_settings[7]={0,0,0,2,1,2,3};