Subversion Repositories Projects

Compare Revisions

Ignore whitespace Rev 207 → Rev 208

/avr/bioloid-serial/bioloid.c
130,9 → 130,11
PORTB = 0xFF;
PORTC = 0xFF;
PORTD = 0xFF;
#if defined( PORTG )
PORTE = 0xFF;
PORTF = 0xFF;
PORTG = 0xFF;
#endif
 
// TOSC1 & TOSC2 are connected to the Red/Blue LEDs so we need to set
// AS0 to 0. AS0 is the only writable bit.
/avr/bioloid-serial/Makefile
1,32 → 1,32
###########################################################################
#
# bioloid Makefile
#
###########################################################################
 
ifeq ($(TARGET),)
 
TARGETS = bioloid-rs bioloid-128
 
all $(MAKECMDGOALS): $(TARGETS)
 
$(TARGETS):
@echo "Making $(MK_DIR_PREFIX) $@ $(MAKECMDGOALS) ..."
@$(MAKE) --no-print-directory TARGET=$@ $(MAKECMDGOALS)
 
.PHONY: all $(TARGETS) $(MAKECMDGOALS)
 
else
 
 
MK_OS = avr
MK_AVR_MCU = m128
MK_AVR_FREQ = 16MHz
MK_AVR_PROGRAMMER ?= stk500
 
MK_HEX_TARGET = $(TARGET)
MK_SRC_FILES = $(TARGET).c UART.c bioloid-uart.c Timer.c
 
include ../../rules/mkRules.mk
 
endif
###########################################################################
#
# bioloid Makefile
#
###########################################################################
 
ifeq ($(TARGET),)
 
TARGETS = bioloid-128
 
all $(MAKECMDGOALS): $(TARGETS)
 
$(TARGETS):
@echo "Making $(MK_DIR_PREFIX) $@ $(MAKECMDGOALS) ..."
@$(MAKE) --no-print-directory TARGET=$@ $(MAKECMDGOALS)
 
.PHONY: all $(TARGETS) $(MAKECMDGOALS)
 
else
 
 
MK_OS = avr
MK_AVR_MCU = m164p
MK_AVR_FREQ = 16MHz
MK_AVR_PROGRAMMER ?= stk500
 
MK_HEX_TARGET = $(TARGET)
MK_SRC_FILES = $(TARGET).c UART.c bioloid-uart.c Timer.c
 
include ../../rules/mkRules.mk
 
endif