Change lib nRF24L01 to Davide Geroni

This commit is contained in:
Aleksandr Filippov
2013-12-11 13:34:53 +07:00
parent 74f17bf353
commit 3833102873
26 changed files with 1485 additions and 1423 deletions

View File

@ -37,7 +37,7 @@ HEX_EEPROM_FLAGS += --change-section-lma .eeprom=0 --no-change-warnings
## Objects that must be built in order to link
OBJECTS = main.o radioPinFunctions.o nrf24.o
OBJECTS = main.o onewire.o crc8.o nrf24l01.o spi.o
## Objects explicitly added by the user
LINKONLYOBJECTS =
@ -49,10 +49,16 @@ all: $(TARGET) Rmodule.hex Rmodule.eep Rmodule.lss size
main.o: ../main.c
$(CC) $(INCLUDES) $(CFLAGS) -c $<
radioPinFunctions.o: ../nrf24l01/radioPinFunctions.c
onewire.o: ../onewire/onewire.c
$(CC) $(INCLUDES) $(CFLAGS) -c $<
nrf24.o: ../nrf24l01/nrf24.c
crc8.o: ../onewire/crc8.c
$(CC) $(INCLUDES) $(CFLAGS) -c $<
nrf24l01.o: ../nrf24l01/nrf24l01.c
$(CC) $(INCLUDES) $(CFLAGS) -c $<
spi.o: ../spi/spi.c
$(CC) $(INCLUDES) $(CFLAGS) -c $<
##Link