File tree Expand file tree Collapse file tree 4 files changed +59
-3
lines changed
Expand file tree Collapse file tree 4 files changed +59
-3
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ set -x
4+ set -e
5+
6+ # ###########################################################################
7+ # Rileylink and similar
8+ # ###########################################################################
9+ # USA:
10+ make -f Makefile.uart1_alt2
11+ make -f Makefile.uart1_alt2 CODE_LOC=0x400 CODE_LOC_NAME=CCTL
12+ # Worldwide:
13+ make -f Makefile.uart1_alt2 RADIO_LOCALE=WW
14+ make -f Makefile.uart1_alt2 CODE_LOC=0x400 CODE_LOC_NAME=CCTL RADIO_LOCALE=WW
15+
16+ # ###########################################################################
17+ # ERF stick
18+ # ###########################################################################
19+ # USA:
20+ make -f Makefile.uart0_alt1 BOARD_TYPE=SRF_ERF
21+ make -f Makefile.uart0_alt1 BOARD_TYPE=SRF_ERF CODE_LOC=0x400 CODE_LOC_NAME=CCTL
22+ # Worldwide:
23+ make -f Makefile.uart0_alt1 BOARD_TYPE=SRF_ERF RADIO_LOCALE=WW
24+ make -f Makefile.uart0_alt1 BOARD_TYPE=SRF_ERF CODE_LOC=0x400 CODE_LOC_NAME=CCTL RADIO_LOCALE=WW
25+
26+ # ###########################################################################
27+ # TI stick
28+ # ###########################################################################
29+ # USA:
30+ make -f Makefile.usb_ep0
31+ make -f Makefile.usb_ep0 CODE_LOC=0x1400 CODE_LOC_NAME=CCBOOTLOADER
32+ # Worldwide:
33+ make -f Makefile.usb_ep0 RADIO_LOCALE=WW
34+ make -f Makefile.usb_ep0 RADIO_LOCALE=WW CODE_LOC=0x1400 CODE_LOC_NAME=CCBOOTLOADER
35+
36+ exit 0
Original file line number Diff line number Diff line change 1+ machine :
2+ pre :
3+ - sudo apt-get install -y sdcc
4+ - go get github.com/tcnksm/ghr
5+ test :
6+ override :
7+ - ./build-all.sh
8+
9+ deployment :
10+ release :
11+ branch : master
12+ commands :
13+ - mkdir -p output/`git describe --tags`/
14+ - mv output/*/*.hex output/`git describe --tags`/
15+ - cd output ; ghr -t $GITHUB_TOKEN -u $CIRCLE_PROJECT_USERNAME -r $CIRCLE_PROJECT_REPONAME --replace `git describe --tags` `git describe --tags`/
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ void cmd_get_state() {
3838}
3939
4040void cmd_get_version () {
41- serial_tx_str ("subg_rfspy 0.5 " );
41+ serial_tx_str ("subg_rfspy 0.6 " );
4242}
4343
4444void do_cmd (uint8_t cmd ) {
@@ -205,6 +205,12 @@ void cmd_update_register() {
205205 case 0x1F :
206206 FSCAL0 = value ;
207207 break ;
208+ case 0x20 :
209+ PA_TABLE1 = value ;
210+ break ;
211+ case 0x21 :
212+ PA_TABLE0 = value ;
213+ break ;
208214 default :
209215 rval = 2 ;
210216 }
@@ -216,4 +222,3 @@ void cmd_reset() {
216222 EA = 0 ;
217223 WDCTL = BIT3 | BIT0 ;
218224}
219-
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ void configure_radio()
6666 FREQ1 = 0x2E ; // frequency control word, middle byte
6767 FREQ0 = 0x38 ; // frequency control word, low byte
6868 CHANNR = 0x00 ; // channel number
69- PA_TABLE1 = 0x50 ; // Max configurable power output at this frequency is 0x50
69+ PA_TABLE1 = 0xC2 ; // Max configurable power output at this frequency is 0xC2
7070#endif
7171
7272 IEN2 |= IEN2_RFIE ;
You can’t perform that action at this time.
0 commit comments