-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix UART test settings and re-enable tests #224
Conversation
@@ -23,7 +23,7 @@ | |||
#define SPI_TEST_BUF_SIZE 4096 | |||
|
|||
#define UART_RX_CORE_MASK (1 << 2) | |||
#define UART_RX_ISR_CORE 2 | |||
#define UART_RX_ISR_CORE 3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great find!
@@ -101,7 +101,7 @@ static void start_uart_devices(uart_test_ctx_t *test_ctx) | |||
rtos_uart_rx_started, | |||
rtos_uart_rx_complete, | |||
rtos_uart_rx_error, | |||
(1 << UART_RX_ISR_CORE), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Crikey this was a major fail originally..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work!
I think debug print needs to be off by default - see comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
In hil_add tests, the UART ISR core must differ from the core for SPI slave.
Closes https://xmosjira.atlassian.net/browse/AP-257