summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcpldcpu <cpldcpu@gmail.com>2013-12-29 20:37:22 +0100
committercpldcpu <cpldcpu@gmail.com>2013-12-29 20:37:22 +0100
commitb024f8aa4d9247dfaebe41f9f7b8716a2b31df68 (patch)
tree20394e8f2f8930a4419979e03018092c3cf78cdb
parentb97b7ecb1633750dafc7cc60d834b510961d6cb1 (diff)
downloadmicronucleus-b024f8aa4d9247dfaebe41f9f7b8716a2b31df68.tar.gz
micronucleus-b024f8aa4d9247dfaebe41f9f7b8716a2b31df68.tar.bz2
micronucleus-b024f8aa4d9247dfaebe41f9f7b8716a2b31df68.zip
firmware: clean up, updated file header
-rw-r--r--firmware/main.c25
1 files changed, 9 insertions, 16 deletions
diff --git a/firmware/main.c b/firmware/main.c
index 78f839a..828ea8f 100644
--- a/firmware/main.c
+++ b/firmware/main.c
@@ -1,14 +1,13 @@
-/* Name: main.c
- * Project: Micronucleus
- * Author: Jenna Fox
- * Creation Date: 2007-12-08
- * Tabsize: 4
- * Copyright: (c) 2012 Jenna Fox
- * All changes past revision 1.06 authored by http://github.com/cpldcpu
- * Portions Copyright: (c) 2007 by OBJECTIVE DEVELOPMENT Software GmbH (USBaspLoader)
- * Portions Copyright: (c) 2012 Louis Beaudoin (USBaspLoader-tiny85)
- * License: GNU GPL v2 (see License.txt)
+/*
+ * Project: Micronucleus - v1.11
+ *
+ * Author (c) 2012 Jenna Fox
+ * Optimizations after v1.06 (c) 2013 Tim Bo"scke - cpldcpu@gmail.com
+ * Further input (c) 2013 Shay Green
+ * Based on USBaspLoader-tiny85 (c) 2012 Louis Beaudoin
+ * Based on USBaspLoader (c) 2007 by OBJECTIVE DEVELOPMENT Software GmbH
*
+ * License: GNU GPL v2 (see License.txt)
*/
#define MICRONUCLEUS_VERSION_MAJOR 1
@@ -28,12 +27,6 @@
#include "bootloaderconfig.h"
#include "usbdrv/usbdrv.c"
-/* ------------------------------------------------------------------------ */
-// postscript are the few bytes at the end of programmable memory which store tinyVectors
-// and used to in USBaspLoader-tiny85 store the checksum iirc
-#define POSTSCRIPT_SIZE 6
-#define PROGMEM_SIZE (BOOTLOADER_ADDRESS - POSTSCRIPT_SIZE) /* max size of user program */
-
// verify the bootloader address aligns with page size
#if BOOTLOADER_ADDRESS % SPM_PAGESIZE != 0
# error "BOOTLOADER_ADDRESS in makefile must be a multiple of chip's pagesize"