diff options
author | cpldcpu <cpldcpu@gmail.com> | 2015-01-12 00:46:06 +0100 |
---|---|---|
committer | cpldcpu <cpldcpu@gmail.com> | 2015-01-12 00:46:06 +0100 |
commit | 42f2d8cc38064c67a9478826f563f5110c3848ee (patch) | |
tree | 2add26052b2d424d9efaa5848b654b16f0e3d4cf /firmware/configuration/t85_default | |
parent | 80419704f68bf0783c5de63a6a4b9d89b45235c7 (diff) | |
download | micronucleus-42f2d8cc38064c67a9478826f563f5110c3848ee.tar.gz micronucleus-42f2d8cc38064c67a9478826f563f5110c3848ee.tar.bz2 micronucleus-42f2d8cc38064c67a9478826f563f5110c3848ee.zip |
#ENABLE_UNSAFE_OPTIMIZATIONS
Added new global flag to enable unsafe optimizations:
This will disable several safety features in microncleus to save around
40 more bytes
Disabled features:
* Stack pointer and SREG initialization in CRT
* Client side reset vector patching
* USB collision detection. Micronucleus will not work reliability with
hubs if this is disabled.
See t85_aggressive configuration for usage examples.
Diffstat (limited to 'firmware/configuration/t85_default')
-rw-r--r-- | firmware/configuration/t85_default/Makefile.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/configuration/t85_default/Makefile.inc b/firmware/configuration/t85_default/Makefile.inc index 53a4682..ee7252d 100644 --- a/firmware/configuration/t85_default/Makefile.inc +++ b/firmware/configuration/t85_default/Makefile.inc @@ -15,7 +15,7 @@ DEVICE = attiny85 # - 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 = 19C0 +BOOTLOADER_ADDRESS = 1980 FUSEOPT = -U lfuse:w:0xe1:m -U hfuse:w:0xdd:m -U efuse:w:0xfe:m FUSEOPT_DISABLERESET = -U lfuse:w:0xe1:m -U efuse:w:0xfe:m -U hfuse:w:0x5d:m |