diff options
| author | Keith Packard <keithp@keithp.com> | 2017-04-02 15:04:09 -0700 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2017-04-02 15:04:09 -0700 |
| commit | 637d522c6a15b47051103ccc3626be3206a7a2df (patch) | |
| tree | 26dc668d8719803d4b8259d8437cf6759b15f80d /src/cortexelf-v1/ao_pins.h | |
| parent | 9f451db9889cd578c3032356fd2aa4b5ed45878d (diff) | |
cortexelf-v1: Add ps/2 and vga with graphics
Start hooking up devices with known drivers.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/cortexelf-v1/ao_pins.h')
| -rw-r--r-- | src/cortexelf-v1/ao_pins.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/cortexelf-v1/ao_pins.h b/src/cortexelf-v1/ao_pins.h index 2c960a6b..e486038a 100644 --- a/src/cortexelf-v1/ao_pins.h +++ b/src/cortexelf-v1/ao_pins.h @@ -44,6 +44,15 @@ #define AO_APB2_PRESCALER 2 #define AO_RCC_CFGR_PPRE2_DIV STM_RCC_CFGR_PPRE2_DIV_2 +/* Allow for non-maskable interrupts at priority 0 */ +#define AO_NONMASK_INTERRUPT 1 + +/* PS/2 keyboard connection */ +#define AO_PS2_CLOCK_PORT (&stm_gpiod) +#define AO_PS2_CLOCK_BIT 9 +#define AO_PS2_DATA_PORT (&stm_gpiod) +#define AO_PS2_DATA_BIT 8 + #define HAS_SERIAL_1 1 #define USE_SERIAL_1_STDIN 0 #define SERIAL_1_PB6_PB7 1 |
