Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AVRxt (0-/1-Series ATTiny) #69

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3,917 changes: 3,917 additions & 0 deletions includes/tn202def.inc

Large diffs are not rendered by default.

3,988 changes: 3,988 additions & 0 deletions includes/tn204def.inc

Large diffs are not rendered by default.

4,499 changes: 4,499 additions & 0 deletions includes/tn212def.inc

Large diffs are not rendered by default.

4,549 changes: 4,549 additions & 0 deletions includes/tn214def.inc

Large diffs are not rendered by default.

3,917 changes: 3,917 additions & 0 deletions includes/tn402def.inc

Large diffs are not rendered by default.

3,989 changes: 3,989 additions & 0 deletions includes/tn404def.inc

Large diffs are not rendered by default.

3,995 changes: 3,995 additions & 0 deletions includes/tn406def.inc

Large diffs are not rendered by default.

4,499 changes: 4,499 additions & 0 deletions includes/tn412def.inc

Large diffs are not rendered by default.

4,549 changes: 4,549 additions & 0 deletions includes/tn414def.inc

Large diffs are not rendered by default.

4,583 changes: 4,583 additions & 0 deletions includes/tn416def.inc

Large diffs are not rendered by default.

18 changes: 18 additions & 0 deletions src/device.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,24 @@ struct device device_list[] = {
{"ATtiny2313A" , 1024, 0x060, 128, 128, DF_NO_MUL|DF_NO_JMP|DF_NO_ELPM|DF_NO_ESPM|DF_NO_EICALL|DF_NO_EIJMP},
{"ATtiny4313" , 2048, 0x060, 256, 256, DF_NO_MUL|DF_NO_JMP|DF_NO_ELPM|DF_NO_ESPM|DF_NO_EICALL|DF_NO_EIJMP},

/*AVRxt (0- and 1-series) ATTiny*/
/* 2023-11-02 Technically, these should have NO_DES flag, but I don't
* want to edit /everything/ to add NO_DES since only available on
* AVRxm */
/* Field Order:
* name, flash size (words), RAM start, RAM size (bytes), EEPROM size
* (bytes), flags */
{"ATtiny202" , 1024, 0x3f80, 128, 64, 0}, //UNTESTED
{"ATtiny204" , 1024, 0x3f80, 128, 64, 0}, //UNTESTED
{"ATtiny402" , 2048, 0x3f00, 256, 128, 0}, //UNTESTED
{"ATtiny404" , 2048, 0x3f00, 256, 128, 0},
{"ATtiny406" , 2048, 0x3f00, 256, 128, 0}, //UNTESTED
{"ATtiny212" , 1024, 0x3f80, 128, 64, 0}, //UNTESTED
{"ATtiny214" , 1024, 0x3f80, 128, 64, 0}, //UNTESTED
{"ATtiny412" , 2048, 0x3f00, 256, 128, 0}, //UNTESTED
{"ATtiny414" , 2048, 0x3f00, 256, 128, 0},
{"ATtiny416" , 2048, 0x3f00, 256, 128, 0}, //UNTESTED

/* AT90 series */
{"AT90S1200" , 512, 0x000, 0, 64, DF_NO_MUL|DF_NO_JMP|DF_TINY1X|DF_NO_XREG|DF_NO_YREG|DF_NO_LPM|DF_NO_ELPM|DF_NO_SPM|DF_NO_ESPM|DF_NO_MOVW|DF_NO_BREAK|DF_NO_EICALL|DF_NO_EIJMP},
{"AT90S2313" , 1024, 0x060, 128, 128, DF_NO_MUL|DF_NO_JMP|DF_NO_LPM_X|DF_NO_ELPM|DF_NO_SPM|DF_NO_ESPM|DF_NO_MOVW|DF_NO_BREAK|DF_NO_EICALL|DF_NO_EIJMP},
Expand Down