RetroBSD

2.11BSD operating system for microcontrollers
It is currently Fri Oct 23, 2020 12:26 pm

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Max performance settings
PostPosted: Tue Aug 16, 2011 2:38 pm 
Contributor
User avatar

Joined: Thu Nov 08, 2012 7:04 am
Posts: 2401
Location: Rapa Nui
Until we will have CPU settings within the kernel, you may try to set the max CPU performance settings in the UBW32 HIDBoot. Just add (after line ~264 in main.c):
...
if defined(__18CXX)
void main(void)
#else
int main(void)
#endif
{
// ### MAX performace settings
SYSTEMConfigPerformance(80000000L);
// ###
mInitSwitch2();
// The PRG switch is tied high, so when it is not pressed it will read
...

And you should recompile the HIDBoot then, of course. Do it with c32 1.11B, version 2.0 may cause issues (not tested).
-p

_________________
Pukao Hats Cleaning Services Ltd.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron




Powered by phpBB® Forum Software © phpBB Group

BSD Daemon used with permission