Changes between Version 1 and Version 2 of HowToAddNewAvrMicrocontroller


Ignore:
Timestamp:
Jun 14, 2018, 11:05:30 AM (2 years ago)
Author:
dsl
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HowToAddNewAvrMicrocontroller

    v1 v2  
    99[https://github.com/dsalychev/mcusim/blob/master/include/mcusim/avr/sim/simm8a.h#L38 mcusim/avr/sim/simm8a.h] starts from including headers declared in [https://github.com/dsalychev/mcusim/blob/master/include/mcusim/avr/io.h mcusim/avr/io.h]:
    1010{{{
     11#!C
    1112#define __AVR_ATmega8A__ 1
    1213#include "mcusim/avr/io.h"
     
    1617The next part of the file is a section with default parameters (in addition to the io.h definitions) and MCU-specific functions:
    1718{{{
     19#!C
    1820#define MCU_NAME        "ATmega8A"
    1921
     
    8991The last part of the file is a header with I/O registers which can be included into value-change dump (VCD) file:
    9092{{{
     93#!C
    9194#include "mcusim/avr/sim/vcd_regs.h"
    9295}}}