New BOARD value option BOARD_NONE (equivelent to not specifying BOARD) which will remove all board hardware drivers which do not adversely affect the code operation (currently only the LEDs driver).
Spell-check code/comments in the Webserver/AVRISP-MKII projects.
This commit is contained in:
parent
f4f44f9fc1
commit
15f84bb8f5
87 changed files with 123 additions and 103 deletions
|
@ -63,8 +63,8 @@
|
|||
#include "../../Common/Common.h"
|
||||
#include "../Peripheral/ADC.h"
|
||||
|
||||
#if !defined(BOARD)
|
||||
#error BOARD must be set in makefile to a value specified in BoardTypes.h.
|
||||
#if (BOARD == BOARD_NONE)
|
||||
#error The Board Temperature Sensor driver cannot be used if the makefile BOARD option is not set.
|
||||
#elif ((BOARD != BOARD_USBKEY) && (BOARD != BOARD_STK525) && \
|
||||
(BOARD != BOARD_STK526) && (BOARD != BOARD_USER) && \
|
||||
(BOARD != BOARD_EVK527))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue