diff --git a/configs/u-blox-c027/nsh/defconfig b/configs/u-blox-c027/nsh/defconfig index f4f456f9c1..de14f9609a 100644 --- a/configs/u-blox-c027/nsh/defconfig +++ b/configs/u-blox-c027/nsh/defconfig @@ -16,7 +16,7 @@ CONFIG_HOST_LINUX=y # # Build Configuration # -CONFIG_APPS_DIR="../apps" +# CONFIG_APPS_DIR="../apps" CONFIG_BUILD_FLAT=y # CONFIG_BUILD_2PASS is not set @@ -1001,9 +1001,6 @@ CONFIG_EXAMPLES_PPPD=y # CONFIG_EXAMPLES_UDPBLASTER is not set # CONFIG_EXAMPLES_DISCOVER is not set # CONFIG_EXAMPLES_WEBSERVER is not set -CONFIG_EXAMPLES_UBLOXMODEM=y -CONFIG_EXAMPLES_UBLOXMODEM_TTY_DEVNODE="/dev/ttyS1" -CONFIG_EXAMPLES_UBLOXMODEM_DEVNODE="/dev/ubxmdm" # CONFIG_EXAMPLES_USBSERIAL is not set # CONFIG_EXAMPLES_USBTERM is not set # CONFIG_EXAMPLES_WATCHDOG is not set @@ -1230,6 +1227,9 @@ CONFIG_READLINE_ECHO=y # CONFIG_SYSTEM_SDCARD is not set # CONFIG_SYSTEM_SUDOKU is not set # CONFIG_SYSTEM_VI is not set +CONFIG_SYSTEM_UBLOXMODEM=y +CONFIG_SYSTEM_UBLOXMODEM_TTY_DEVNODE="/dev/ttyS1" +CONFIG_SYSTEM_UBLOXMODEM_DEVNODE="/dev/ubxmdm" CONFIG_SYSTEM_ZMODEM=y CONFIG_SYSTEM_ZMODEM_DEVNAME="/dev/console" CONFIG_SYSTEM_ZMODEM_RCVBUFSIZE=512 diff --git a/configs/u-blox-c027/src/lpc17_ubxmdm.c b/configs/u-blox-c027/src/lpc17_ubxmdm.c index e9cb8674bd..a6615e54aa 100644 --- a/configs/u-blox-c027/src/lpc17_ubxmdm.c +++ b/configs/u-blox-c027/src/lpc17_ubxmdm.c @@ -200,7 +200,7 @@ static int lpc17_poweron(FAR struct ubxmdm_lower* lower) lpc17_configgpio(priv->pins->usb_detect | usb_detect_val); lpc17_configgpio(priv->pins->ldo_enable | GPIO_VALUE_ONE); /* LDO enabled */ - usleep(1 * 1000); /* Delay to obtain correct voltage on shifters + usleep(1 * 1000); /* Delay to obtain correct voltage on shifters */ lpc17_configgpio(priv->pins->shifter_en_n | GPIO_VALUE_ZERO); /* UART shifter enabled */ /* lpc17_configgpio(priv->pins->power_on_n | GPIO_VALUE_ONE); * Stop current through switch */