summaryrefslogtreecommitdiffstats
path: root/firmware
Commit message (Collapse)AuthorAgeFilesLines
* firmware: fix condition for EXECUTEcpldcpu2013-12-161-1/+1
| | | | read high byte of user programm reset vector
* clean up osccalcpldcpu2013-12-157-295/+2
|
* don't exit bootloader with clean memorycpldcpu2013-12-153-25/+24
|
* C99 typescpldcpu2013-12-151-8/+8
|
* restructure, optimizations by shay #1cpldcpu2013-12-152-25/+33
| | | | -> use register for events
* roadmapcpldcpu2013-12-151-0/+26
|
* Release notes, hex files and readmecpldcpu2013-12-155-8/+259
|
* more cleaning upcpldcpu2013-12-1511-1299/+8
|
* Source clean upcpldcpu2013-12-071-140/+40
| | | | | | -inlining all function that are only called once -sei/cli without memory barrier - size optimizations
* init stackpointcpldcpu2013-12-071-3/+8
|
* custom crt, remove tiny85flashinit, UNTESTEDcpldcpu2013-12-063-9/+113
|
* usbfunctionread hexcpldcpu2013-12-061-0/+126
|
* faster polling hexcpldcpu2013-12-061-0/+124
|
* interim endpoint hexcpldcpu2013-12-061-0/+130
|
* removed redundant code - untestedcpldcpu2013-12-011-34/+20
|
* hexfile with usb device name setcpldcpu2013-11-301-0/+130
|
* Move Usbinit, using wdt nowcpldcpu2013-11-273-4/+137
| | | | make micronucleus more similar to littlewire
* fixed hexfilecpldcpu2013-11-251-126/+126
|
* Disablescpldcpu2013-11-255-3/+391
|
* release notescpldcpu2013-11-251-1/+1
|
* update version numbercpldcpu2013-11-251-3/+3
|
* Update release notes for 1.10 RC1cpldcpu2013-11-253-0/+20
|
* clean up, added LED, NO USB exit delaycpldcpu2013-11-257-256/+294
| | | | | | | Work towards v1.10 - Clean up bootloaderconfig.h - Included option for LED - Included second timout if no USB connected
* firmware image with led on pb1cpldcpu2013-11-222-0/+127
|
* fixed make cleancpldcpu2013-11-181-1/+1
|
* updated readme, included hexcpldcpu2013-11-181-0/+126
|
* minorcpldcpu2013-11-181-6/+8
|
* Dont wait for writes - CPU is halted anyways.cpldcpu2013-11-181-2/+3
|
* Fix: re-introduce testing for magic bytecpldcpu2013-11-181-6/+37
|
* source code clean upcpldcpu2013-11-047-227/+251
|
* assembler version of calibrateoscillator - 1952 bytescpldcpu2013-11-042-5/+203
| | | | still needs cleaning up
* further size optimization in calibrateoscillator.cpldcpu2013-11-042-2/+67
| | | | 1976 bytes
* Freebie: Removed unused code for 6 byte gaincpldcpu2013-11-041-19/+1
|
* removecpldcpu2013-11-041-487/+0
|
* Updated USB Driver, nanite, oscalcpldcpu2013-11-0424-205/+730
|
* Bugfixes to make micronucleus reentrantcpldcpu2013-10-251-0/+3
|
* Revert changes to writeFlashPage()cpldcpu2013-10-251-24/+28
| | | | | | Revert changes to writeFlashPage() - the changes introduced some inconsistency and only saved 4 bytes anyways. This version is verified and works.
* tiny85FlashInit(); only checks on byte nowcpldcpu2013-10-091-5/+2
| | | | 20 bytes less
* moved vector functions to writeFlashPage(), fixed RESTORE_OSCCALcpldcpu2013-10-091-22/+25
|
* Enabled garbage collection and better disassemblycpldcpu2013-10-091-3/+4
| | | | Should have no impact on code
* Reduce accesses to global variable idlePollscpldcpu2013-10-072-2/+1
| | | | saves 8 bytes
* Do modulo only on lower byte - saves 24 bytescpldcpu2013-10-071-3/+28
| | | | | | | | | | | | | | | | | | | | GCC generated some quite weird code from the module operations. Although highly optimized, most of the instructions are redundant. Is this a bug? The current solution is a bit hacky, but should also work when the pages size is changed in future devices. uchar isLast = (((currentAddress&0xff) % SPM_PAGESIZE) == 0); 1e02: 80 91 69 00 lds r24, 0x0069 1e06: 90 91 6a 00 lds r25, 0x006A 1e0a: 8f 73 andi r24, 0x3F ; 63 1e0c: 99 27 eor r25, r25 // definitely need this if! seems usbFunctionWrite gets called again in future usbPoll's in the runloop! if (isLast) fireEvent(EVENT_WRITE_PAGE); // ask runloop to write our page 1e0e: 89 2b or r24, r25 1e10: 39 f0 breq .+14 ; 0x1e20 <main+0x1ee> 1e12: 0d c0 rjmp .+26 ; 0x1e2e <main+0x1fc>
* Use delay routines without NOP padding. this saves 16 bytescpldcpu2013-10-071-0/+3
|
* A single write is sufficient to invalidate magic word - saves 4 bytescpldcpu2013-10-071-2/+2
|
* Use a local pointer in eraseApplicatoin() - saves 18 Bytescpldcpu2013-10-071-9/+8
|
* some small mistakes I noticed while going through the code with a ↵Louis Beaudoin2013-06-061-1/+1
| | | | | | | | | | fine-toothed comb: main.c - POSTSCRIPT_SIZE should be 6, not 4, now that there's a word to store OSCCAL micronucleus_lib.c - bcdUSB referring to USB Spec 1.1 is used, instead of bcdDevice, referring to the device release number
* fix interrupt enable during application erase (via andihofmeister)Bluebie2013-05-261-3/+7
|
* Emergency Update for -jumper varient - install update immediately - previous ↵Bluebie2013-05-202-66/+72
| | | | versions cause short circuits!!
* bug in jumper mode!!! jumper pin was set to output, creating short circuits! ↵Bluebie2013-05-201-38/+36
| | | | update asap!
* firmware: no functional change - reorganised bootloader config to easily ↵Bluebie2013-03-061-9/+33
| | | | switch on and off -jumper variant by uncommenting out a define near the top