You should have received a copy of the GNU General Public License
along with simavr. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <stdio.h>
+
#include "sim_avr.h"
#include "sim_megax8.h"
{
struct mcu_t * mcu = (struct mcu_t*)avr;
- printf("%s init\n", avr->mmcu);
-
avr_eeprom_init(avr, &mcu->eeprom);
+ avr_flash_init(avr, &mcu->selfprog);
+ avr_watchdog_init(avr, &mcu->watchdog);
avr_extint_init(avr, &mcu->extint);
avr_ioport_init(avr, &mcu->portb);
avr_ioport_init(avr, &mcu->portc);