added some missing NRF52 scripts for flashing and fixed baudrate to be 115200

This commit is contained in:
Joakim Eriksson 2017-12-01 23:34:16 +01:00
parent dbcb985457
commit 8cefc3ea39
3 changed files with 7 additions and 1 deletions

View File

@ -0,0 +1,2 @@
erase
q

View File

@ -0,0 +1,4 @@
loadfile #OUTPUT_FILENAME#
r
g
q

View File

@ -195,7 +195,7 @@
#if (UART0_ENABLED == 1) #if (UART0_ENABLED == 1)
#define UART0_CONFIG_HWFC NRF_UART_HWFC_DISABLED #define UART0_CONFIG_HWFC NRF_UART_HWFC_DISABLED
#define UART0_CONFIG_PARITY NRF_UART_PARITY_EXCLUDED #define UART0_CONFIG_PARITY NRF_UART_PARITY_EXCLUDED
#define UART0_CONFIG_BAUDRATE NRF_UART_BAUDRATE_38400 #define UART0_CONFIG_BAUDRATE NRF_UART_BAUDRATE_115200
#define UART0_CONFIG_PSEL_TXD 6 #define UART0_CONFIG_PSEL_TXD 6
#define UART0_CONFIG_PSEL_RXD 8 #define UART0_CONFIG_PSEL_RXD 8
#define UART0_CONFIG_PSEL_CTS 7 #define UART0_CONFIG_PSEL_CTS 7