File tree Expand file tree Collapse file tree 3 files changed +15
-3
lines changed
Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,14 @@ pump model number ends with 'WW' then you need a 'WorldWide' firmware:
2929
3030 make -f Makefile.uart1_alt2 RADIO_LOCALE=WW
3131
32+ # cc111x UART1_alt2 connected to the Intel Edison UART_1
33+
34+ P1.4 - CT / SSN -> UART_1_RTS (GP129) (pin 63)
35+ P1.5 - RT / SCK -> UART_1_CTS (GP128) (pin 65)
36+ P1.6 - TX / MOSI -> UART_1_RX (GP130) (pin 61)
37+ P1.7 - RX / MISO -> UART_1_TX (GP131) (pin 46)
38+
39+
3240# UART on the WirelessThings ERF stick
3341
3442Perform the build. The output file will be stored at output/uart0_alt1_SRF_ERF_US/uart0_alt1_SRF_ERF_US.hex
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.7 " );
41+ serial_tx_str ("subg_rfspy 0.8 " );
4242}
4343
4444void do_cmd (uint8_t cmd ) {
Original file line number Diff line number Diff line change @@ -89,8 +89,12 @@ void rftxrx_isr(void) __interrupt RFTXRX_VECTOR {
8989 if (packet_count == 0 ) {
9090 packet_count = 1 ;
9191 }
92- radio_rx_buf [radio_rx_buf_len ] = d_byte ;
93- radio_rx_buf_len ++ ;
92+ if (radio_rx_buf_len < MAX_PACKET_LEN ) {
93+ radio_rx_buf [radio_rx_buf_len ] = d_byte ;
94+ radio_rx_buf_len ++ ;
95+ } else {
96+ // Overflow
97+ }
9498 if (d_byte == 0 ) {
9599 RFST = RFST_SIDLE ;
96100 while (MARCSTATE != MARC_STATE_IDLE );
You can’t perform that action at this time.
0 commit comments