• R/O
  • SSH
  • HTTPS

cc1101driver: Commit


Commit MetaInfo

Revision1883 (tree)
Time2014-01-27 17:34:37
Authorblackzoro

Log Message

(empty log message)

Change Summary

Incremental Difference

--- branches/CC1101_source_ATmega88_for_test/default/Makefile (revision 1882)
+++ branches/CC1101_source_ATmega88_for_test/default/Makefile (revision 1883)
@@ -6,7 +6,7 @@
66 PROJECT = CC1101driver
77 MCU = atmega88
88 TARGET = CC1101driver.elf
9-CC = avr-gcc
9+CC =
1010
1111 CPP = avr-g++
1212
@@ -43,9 +43,7 @@
4343 LINKONLYOBJECTS =
4444
4545 ## Build
46-all: $(TARGET) CC1101driver.hex CC1101driver.eep CC1101driver.lss size
47-
48-## Compile
46+all: $(TARGET) CC1101driver.hex CC1101driver.eep CC1101driver.lss## Compile
4947 cc1100.o: ../cc1100.c
5048 $(CC) $(INCLUDES) $(CFLAGS) -c $<
5149
@@ -71,10 +69,6 @@
7169 %.lss: $(TARGET)
7270 avr-objdump -h -S $< > $@
7371
74-size: ${TARGET}
75- @echo
76- @avr-size -C --mcu=${MCU} ${TARGET}
77-
7872 ## Clean target
7973 .PHONY: clean
8074 clean:
@@ -82,5 +76,5 @@
8276
8377
8478 ## Other dependencies
85--include $(shell mkdir dep 2>/dev/null) $(wildcard dep/*)
79+-include $(shell mkdir dep 2>NUL) $(wildcard dep/*)
8680
--- branches/CC1101_source_ATmega88_for_test/main.c (revision 1882)
+++ branches/CC1101_source_ATmega88_for_test/main.c (revision 1883)
@@ -1704,10 +1704,10 @@
17041704 cc1100_init();
17051705
17061706 cc1101_init_reg();
1707- pt_data[0] = 0xC0; //10dB
1707+ //pt_data[0] = 0xC0; //10dB
17081708 //pt_data[0] = 0xc8; //7dBm
17091709 //pt_data[0] = 0x84; //5dBm
1710- //pt_data[0] = 0x60; //0dB
1710+ pt_data[0] = 0x60; //0dB
17111711 cc1101_8PATABLE_write_reg();
17121712
17131713
Show on old repository browser