MYNEWT-473; change console to use HAL UART, and espduino connection
goes via bitbanger. Set console speed to 115200.


Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/88191c27
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/88191c27
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/88191c27

Branch: refs/heads/develop
Commit: 88191c27f772d3d9f2e43ff0ed55b80c5258560d
Parents: 0724409
Author: Marko Kiiskila <ma...@runtime.io>
Authored: Fri Feb 10 15:59:33 2017 -0800
Committer: Marko Kiiskila <ma...@runtime.io>
Committed: Fri Feb 10 15:59:33 2017 -0800

----------------------------------------------------------------------
 hw/bsp/arduino_primo_nrf52/include/bsp/bsp.h |  4 ++--
 hw/bsp/arduino_primo_nrf52/syscfg.yml        | 10 ++++------
 2 files changed, 6 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/88191c27/hw/bsp/arduino_primo_nrf52/include/bsp/bsp.h
----------------------------------------------------------------------
diff --git a/hw/bsp/arduino_primo_nrf52/include/bsp/bsp.h 
b/hw/bsp/arduino_primo_nrf52/include/bsp/bsp.h
index f375c41..39da427 100644
--- a/hw/bsp/arduino_primo_nrf52/include/bsp/bsp.h
+++ b/hw/bsp/arduino_primo_nrf52/include/bsp/bsp.h
@@ -41,9 +41,9 @@ extern uint8_t _ram_start;
 #define LED_BLINK_PIN   (25)
 
 /* UART info */
-#define CONSOLE_UART           "uart1"
+#define CONSOLE_UART           "uart0"
 
-#define ESPDUINO_UART           "uart0"
+#define ESPDUINO_UART           "uart1"
 #define ESPDUINO_UART_SPEED     9600
 
 #define NFFS_AREA_MAX   (8)

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/88191c27/hw/bsp/arduino_primo_nrf52/syscfg.yml
----------------------------------------------------------------------
diff --git a/hw/bsp/arduino_primo_nrf52/syscfg.yml 
b/hw/bsp/arduino_primo_nrf52/syscfg.yml
index bbc7875..4408b8b 100644
--- a/hw/bsp/arduino_primo_nrf52/syscfg.yml
+++ b/hw/bsp/arduino_primo_nrf52/syscfg.yml
@@ -37,10 +37,10 @@ syscfg.defs:
         value:  1
     UART_0_PIN_TX:
         description: 'TBD'
-        value:  6
+        value:  12
     UART_0_PIN_RX:
         description: 'TBD'
-        value:  5
+        value:  11
     UART_0_PIN_RTS:
         description: 'TBD'
         value:  0
@@ -53,10 +53,10 @@ syscfg.defs:
         value:  1
     UART_1_PIN_TX:
         description: 'TBD'
-        value:  11
+        value:  5
     UART_1_PIN_RX:
         description: 'TBD'
-        value:  12
+        value:  6
     UART_1_PIN_RTS:
         description: 'TBD'
         value:  0
@@ -115,5 +115,3 @@ syscfg.vals:
     REBOOT_LOG_FLASH_AREA: FLASH_AREA_REBOOT_LOG
     NFFS_FLASH_AREA: FLASH_AREA_NFFS
     COREDUMP_FLASH_AREA: FLASH_AREA_IMAGE_1
-
-    CONSOLE_BAUD: 9600

Reply via email to