enable uart flow control for nrf52840pdk

This commit is contained in:
hathach 2018-02-10 13:38:41 +07:00
parent 33acd73f49
commit 183cbd45e6
3 changed files with 4 additions and 4 deletions

View File

@ -32,7 +32,7 @@
#define HCI_SLIP_UART_CTS_PIN_NUMBER CTS_PIN_NUMBER /**< Defines the UART CTS pin number. The default pin for the board is chosen, but can be overwritten. */
#define HCI_SLIP_UART_MODE APP_UART_FLOW_CONTROL_DISABLED /**< Defines the UART mode to be used. Use UART Low Power with Flow Control - Valid values are defined in \ref app_uart_flow_control_t. For further information on the UART Low Power mode, please refer to: \ref app_uart . */
#define HCI_SLIP_UART_MODE HWFC /**< Defines the UART mode to be used. Use UART Low Power with Flow Control - Valid values are defined in \ref app_uart_flow_control_t. For further information on the UART Low Power mode, please refer to: \ref app_uart . */
#define HCI_SLIP_UART_BAUDRATE UART_BAUDRATE_BAUDRATE_Baud115200 // UART_BAUDRATE_BAUDRATE_Baud38400 /**< Defines the UART Baud rate. Default is 38400 baud. */

View File

@ -60,7 +60,7 @@
#define TX_PIN_NUMBER 6
#define CTS_PIN_NUMBER 7
#define RTS_PIN_NUMBER 5
#define HWFC false
#define HWFC true
// Used as model string in OTA mode
#define DIS_MODEL "Bluefruit Feather 52840"

View File

@ -13,8 +13,8 @@ MEMORY
*/
FLASH (rx) : ORIGIN = 0xF4000, LENGTH = 0xA000 /* 40 KB */
/** RAM Region for bootloader. This setting is suitable when used with s132. */
RAM (rwx) : ORIGIN = 0x20003000, LENGTH = 0x4000
/** RAM Region for bootloader. This setting is suitable when used with s140. */
RAM (rwx) : ORIGIN = 0x20004000, LENGTH = 0x4000
/** Location of non initialized RAM. Non initialized RAM is used for exchanging bond information
* from application to bootloader when using buttonluss DFU OTA.