arch/arm/src/tiva: The LauchXL-CC1312R1 NSH configuration is now fully functional. On to bigger and better things.
This commit is contained in:
parent
fa1e151b12
commit
07c16d8b70
@ -132,7 +132,7 @@ int tiva_configgpio(pinconfig_t pinconfig)
|
||||
/* Configure the GPIO as an output */
|
||||
|
||||
regval = getreg32(TIVA_GPIO_DOE);
|
||||
regval |= ~(1 << dio);
|
||||
regval |= (1 << dio);
|
||||
putreg32(regval, TIVA_GPIO_DOE);
|
||||
}
|
||||
|
||||
|
@ -169,9 +169,9 @@
|
||||
#define IOC_IOCFG_WUCFG_MASK (3 << IOC_IOCFG_WUCFG_SHIFT)
|
||||
# define IOC_IOCFG_WUCFG_NONE (0 << IOC_IOCFG_WUCFG_SHIFT) /* 0, 1: Wakeup disabled */
|
||||
# define IOC_IOCFG_WUCFG_ENABLE (2 << IOC_IOCFG_WUCFG_SHIFT) /* 2, 3: Wakeup enabled */
|
||||
# define IOC_IOCFG_WUCFG_WAKEUPL (2 << IOC_IOCFG_WUCFG_SHIFT) /* Wakeup on transition low */
|
||||
# define IOC_IOCFG_WUCFG_WEKUPH (3 << IOC_IOCFG_WUCFG_SHIFT) /* Wakeup on transition high */
|
||||
#define IOC_IOCFG_IE (1 >> 29) /* Bit 29: Input enable */
|
||||
# define IOC_IOCFG_WUCFG_WAKEUPL (2 << IOC_IOCFG_WUCFG_SHIFT) /* 2: Wakeup on transition low */
|
||||
# define IOC_IOCFG_WUCFG_WEKUPH (3 << IOC_IOCFG_WUCFG_SHIFT) /* 3: Wakeup on transition high */
|
||||
#define IOC_IOCFG_IE (1 << 29) /* Bit 29: Input enable */
|
||||
#define IOC_IOCFG_HYSTEN (1 << 30) /* Bit 30: Input hysteresis enable */
|
||||
|
||||
/* PORTID definitions */
|
||||
|
@ -172,9 +172,9 @@
|
||||
#define IOC_IOCFG_WUCFG_MASK (3 << IOC_IOCFG_WUCFG_SHIFT)
|
||||
# define IOC_IOCFG_WUCFG_NONE (0 << IOC_IOCFG_WUCFG_SHIFT) /* 0, 1: Wakeup disabled */
|
||||
# define IOC_IOCFG_WUCFG_ENABLE (2 << IOC_IOCFG_WUCFG_SHIFT) /* 2, 3: Wakeup enabled */
|
||||
# define IOC_IOCFG_WUCFG_WAKEUPL (2 << IOC_IOCFG_WUCFG_SHIFT) /* Wakeup on transition low */
|
||||
# define IOC_IOCFG_WUCFG_WEKUPH (3 << IOC_IOCFG_WUCFG_SHIFT) /* Wakeup on transition high */
|
||||
#define IOC_IOCFG_IE (1 >> 29) /* Bit 29: Input enable */
|
||||
# define IOC_IOCFG_WUCFG_WAKEUPL (2 << IOC_IOCFG_WUCFG_SHIFT) /* 2: Wakeup on transition low */
|
||||
# define IOC_IOCFG_WUCFG_WEKUPH (3 << IOC_IOCFG_WUCFG_SHIFT) /* 3: Wakeup on transition high */
|
||||
#define IOC_IOCFG_IE (1 << 29) /* Bit 29: Input enable */
|
||||
#define IOC_IOCFG_HYSTEN (1 << 30) /* Bit 30: Input hysteresis enable */
|
||||
|
||||
/* PORTID definitions */
|
||||
|
@ -21,20 +21,9 @@ Status
|
||||
development. Serious board development will occur later. Board
|
||||
support is missing LED and button support.
|
||||
2019-02-10: Figured out how to connect J-Link and began debug.
|
||||
2019-02-12: A little progress. I do make it all the way into NSH:
|
||||
|
||||
ABCF
|
||||
nx_start: Entry
|
||||
uart_register: Registering /dev/console
|
||||
uart_register: Registering /dev/ttyS0
|
||||
work_hpstart: Starting high-priority kernel worker thread(s)
|
||||
up_release_pending: From TCB=20000c00
|
||||
nx_start_application: Starting init thread
|
||||
|
||||
NuttShell (NSH) NuttX-7.28
|
||||
nsh> nx_start: CPU0: Beginning Idle Loop
|
||||
|
||||
But things are not very stable and I do not get any console input.
|
||||
2019-02-12: A little progress. I do make it all the way into NSH, but
|
||||
with no console input.
|
||||
2019-02-13: NSH is now fully functional.
|
||||
|
||||
Serial Console
|
||||
==============
|
||||
|
Loading…
Reference in New Issue
Block a user