diff options
author | Tim <cpldcpu@gmail.com> | 2015-06-06 22:40:52 +0200 |
---|---|---|
committer | Tim <cpldcpu@gmail.com> | 2015-06-06 22:40:52 +0200 |
commit | 1548e70077127c079a801c396e2d790763b23e08 (patch) | |
tree | 233cd87a07fd1fdbb91d710e9870dd9a28111d2b /firmware/configuration/t167_default/Makefile.inc | |
parent | 21d57991d6b321e1cc3690df9addb3b26e4145aa (diff) | |
parent | f0bb13678d45c2c87fb3439aef50e92de1f0e52b (diff) | |
download | micronucleus-1548e70077127c079a801c396e2d790763b23e08.tar.gz micronucleus-1548e70077127c079a801c396e2d790763b23e08.tar.bz2 micronucleus-1548e70077127c079a801c396e2d790763b23e08.zip |
Merge pull request #43 from micronucleus/testing-V2-New
First release of V2.0 to master.
Diffstat (limited to 'firmware/configuration/t167_default/Makefile.inc')
-rw-r--r-- | firmware/configuration/t167_default/Makefile.inc | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/firmware/configuration/t167_default/Makefile.inc b/firmware/configuration/t167_default/Makefile.inc new file mode 100644 index 0000000..ca17884 --- /dev/null +++ b/firmware/configuration/t167_default/Makefile.inc @@ -0,0 +1,21 @@ +# Name: Makefile +# Project: Micronucleus +# License: GNU GPL v2 (see License.txt) +# +# Controller type: ATtiny 167 +# Configuration: Default configuration. +# Last Change: Mar 16,2014 + + +F_CPU = 16000000 +DEVICE = attiny167 + +# hexadecimal address for bootloader section to begin. To calculate the best value: +# - make clean; make main.hex; ### output will list data: 2124 (or something like that) +# - for the size of your device (8kb = 1024 * 8 = 8192) subtract above value 2124... = 6068 +# - How many pages in is that? 6068 / 64 (tiny85 page size in bytes) = 94.8125 +# - round that down to 94 - our new bootloader address is 94 * 64 = 6016, in hex = 1780 +BOOTLOADER_ADDRESS = 3980 + +FUSEOPT = # TODO +FUSEOPT_DISABLERESET = # TODO |