summaryrefslogtreecommitdiffstats
path: root/firmware/configuration/t167_default
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/configuration/t167_default')
-rw-r--r--firmware/configuration/t167_default/Makefile.inc2
-rw-r--r--firmware/configuration/t167_default/bootloaderconfig.h12
2 files changed, 7 insertions, 7 deletions
diff --git a/firmware/configuration/t167_default/Makefile.inc b/firmware/configuration/t167_default/Makefile.inc
index ca17884..8610307 100644
--- a/firmware/configuration/t167_default/Makefile.inc
+++ b/firmware/configuration/t167_default/Makefile.inc
@@ -15,7 +15,7 @@ DEVICE = attiny167
# - 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
+BOOTLOADER_ADDRESS = 3A00
FUSEOPT = # TODO
FUSEOPT_DISABLERESET = # TODO
diff --git a/firmware/configuration/t167_default/bootloaderconfig.h b/firmware/configuration/t167_default/bootloaderconfig.h
index 8c29913..01890a7 100644
--- a/firmware/configuration/t167_default/bootloaderconfig.h
+++ b/firmware/configuration/t167_default/bootloaderconfig.h
@@ -4,14 +4,14 @@
* according to the hardware.
*
* Controller type: ATtiny 167 - 16 MHz with crystal
- * Configuration: Standard configuration
+ * Configuration: Standard configuration - Follows Digispark Pro defaults
* USB D- : PB3
- * USB D+ : PB4
+ * USB D+ : PB6
* Entry : Always
- * LED : None
+ * LED : Active High on PB1
* OSCCAL : No change due to external crystal
* Note: Uses 16 MHz V-USB implementation.
- * Last Change: Mar 16,2014
+ * Last Change: JUn 15,2015
*
* License: GNU GPL v2 (see License.txt
*/
@@ -33,7 +33,7 @@
/* This is the bit number in USB_CFG_IOPORT where the USB D- line is connected.
* This may be any bit in the port.
*/
-#define USB_CFG_DPLUS_BIT 4
+#define USB_CFG_DPLUS_BIT 6
/* This is the bit number in USB_CFG_IOPORT where the USB D+ line is connected.
* This may be any bit in the port, but must be configured as a pin change interrupt.
*/
@@ -222,7 +222,7 @@
*
*/
-#define LED_MODE NONE
+#define LED_MODE ACTIVE_HIGH
#define LED_DDR DDRB
#define LED_PORT PORTB