Code::Blocks Forums

User forums => Embedded development => Topic started by: zhl on August 26, 2011, 10:56:50 am

Title: where can I modify the frequency of MCU in a opened avr project?
Post by: zhl on August 26, 2011, 10:56:50 am
I want to modify the frequency of my Atmega16 after setting up an avr project in CB,but after I check all the menus there isn't explicit menu or command for that.Is is necessary to modify the makefile directly?
Title: Re: where can I modify the frequency of MCU in a opened avr project?
Post by: scarphin on August 27, 2011, 07:01:11 am
It's in the 'project->build options->custom variables'. Change the value of 'F_CPU' or something like that.