source: rc_os_nios2/sbxbt_ps3_140113.patch@ 128

Last change on this file since 128 was 128, checked in by ertl-honda, 7 years ago

追加.

File size: 1.4 KB
Line 
1diff -r sbxbt_ps3_140113_org/btstack/config.h sbxbt_ps3_140113/btstack/config.h
24,6c4,6
3< #define ENABLE_LOG_DEBUG
4< #define ENABLE_LOG_INFO
5< #define ENABLE_LOG_ERROR
6---
7> //#define ENABLE_LOG_DEBUG
8> //#define ENABLE_LOG_INFO
9> //#define ENABLE_LOG_ERROR
10diff -r sbxbt_ps3_140113_org/Common/uart1.c sbxbt_ps3_140113/Common/uart1.c
1178c78
12< #define RXBUFSIZ 16
13---
14> #define RXBUFSIZ 16*100
15diff -r sbxbt_ps3_140113_org/global.h sbxbt_ps3_140113/global.h
1630c30
17< #define BAUDRATE1 2400 //UART1ƒ{[ƒŒ[ƒg
18---
19> #define BAUDRATE1 115200 //UART1ƒ{[ƒŒ[ƒg
20117,120c117,128
21< // Configure U1RX - put on pin 3 (RP23)
22< #define u1rx_setup() (RPINR18bits.U1RXR = 23)
23< // Configure U1TX - put on pin 2 (RP22)
24< #define u1tx_setup() (RPOR11bits.RP22R = 3)
25---
26> //// Configure U1RX - put on pin 3 (RP23)
27> //#define u1rx_setup() (RPINR18bits.U1RXR = 23)
28>
29> // Configure U1RX - put on pin 22(PGFC1) (RP1) board pin 5
30> #define u1rx_setup() (RPINR18bits.U1RXR = 1)
31>
32> //// Configure U1TX - put on pin 2 (RP22)
33> //#define u1tx_setup() (RPOR11bits.RP22R = 3)
34>
35> // Configure U1TX - put on pin 21(PGFD1) (RP0) board pin 4
36> #define u1tx_setup() (RPOR0bits.RP0R = 3)
37>
38diff -r sbxbt_ps3_140113_org/main.c sbxbt_ps3_140113/main.c
3944c44
40< char lineBuffer[50];
41---
42> char lineBuffer[50*10];
43sbxbt_ps3_140113/output のみに存在: sbxbt_ps3.map
44sbxbt_ps3_140113 のみに存在: PS3-um-2.pdf
Note: See TracBrowser for help on using the repository browser.