Project

General

Profile

Revision 201

Added by Kevin Woo almost 13 years ago

  • Setup bootloader to initialize pins to a known safe state
  • Pulled pindefs for the toolbox out of the toolbox into common/toolbox_pindefs.h
  • Shared toolbox pindefs with the bootloader
  • Replaced all raw pin names with the #defined names
  • Optimizied out some bytes out of the bootloader by sharing variables

View differences:

bootloader.h
6 6
#include <avr/wdt.h>
7 7
#include <avr/fuse.h>
8 8
#include <tooltron.h>
9
#include <toolbox_pindefs.h>
9 10
#include "rs485_poll.h"
10 11
#include "packet.h"
11 12

  
12
/** @brief This is the address of the tool. Change this pre program instance */
13
//#define ADDR    18
14

  
15 13
#endif

Also available in: Unified diff