Skip to content

Commit e7f4fed

Browse files
authored
Updates for prototype PCB build. (#22)
1 parent a54b65c commit e7f4fed

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

configuration.cmake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ add_compile_definitions(
2121
# -- Feature Options --
2222

2323
# Define values
24-
set(FEATURE_OPT_DEBUG_PORT_BAUD USART_BAUD_38400
24+
set(FEATURE_OPT_DEBUG_PORT_BAUD USART_BAUD_19200
2525
CACHE STRING "Baud rate for debug port. (usart_baud_t)")
2626

2727
# Set compile definitions
@@ -60,11 +60,11 @@ set(CONFIG_DFLT_IO_TYPE_TRS_1_RING IO_TYPE_INPUT_PADDLE_RIGHT
6060
CACHE STRING "I/O type for the ring of TRS 1. (io_type_t)")
6161
set(CONFIG_DFLT_IO_POLARITY_TRS_1_RING IO_POLARITY_ACTIVE_LOW
6262
CACHE STRING "I/O polarity for the ring of TRS 1. (io_polarity_t)")
63-
set(CONFIG_DFLT_IO_TYPE_TRS_2_TIP IO_TYPE_NONE
63+
set(CONFIG_DFLT_IO_TYPE_TRS_2_TIP IO_TYPE_INPUT_PADDLE_LEFT
6464
CACHE STRING "I/O type for the tip of TRS 2. (io_type_t)")
6565
set(CONFIG_DFLT_IO_POLARITY_TRS_2_TIP IO_POLARITY_ACTIVE_LOW
6666
CACHE STRING "I/O polarity for the tip of TRS 2. (io_polarity_t)")
67-
set(CONFIG_DFLT_IO_TYPE_TRS_2_RING IO_TYPE_NONE
67+
set(CONFIG_DFLT_IO_TYPE_TRS_2_RING IO_TYPE_INPUT_PADDLE_RIGHT
6868
CACHE STRING "I/O type for the ring of TRS 2. (io_type_t)")
6969
set(CONFIG_DFLT_IO_POLARITY_TRS_2_RING IO_POLARITY_ACTIVE_LOW
7070
CACHE STRING "I/O polarity for the ring of TRS 2. (io_polarity_t)")

src/main/application/led.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
static gpio_pin_t const s_gpio_tbl[] =
2525
{
2626
// Must be in same order as led_t enum
27-
GPIO_PIN_D7, /* LED_STATUS */
27+
GPIO_PIN_C0, /* LED_STATUS */
2828
GPIO_PIN_D6, /* LED_KEY */
2929
};
3030
_Static_assert( array_count( s_gpio_tbl ) == LED_COUNT, "Invalid GPIO table!" );

0 commit comments

Comments
 (0)