RIOT-OS / RobotFW-tests

Includes tests for RIOT based on the Robot Framework
GNU Lesser General Public License v2.1
4 stars 13 forks source link

dist/etc/conf: Add mapping for nucleo-l476rg #108

Closed ngandrass closed 3 years ago

ngandrass commented 3 years ago

Added a mapping for the Nucleo-L476RG board.

See: https://www.st.com/en/evaluation-tools/nucleo-l476rg.html

MrKevinWeiss commented 3 years ago

Can you post the results of the tests/periph_gpio?

MrKevinWeiss commented 3 years ago

Everything looks pretty good otherwise.

ngandrass commented 3 years ago

Can you post the results of the tests/periph_gpio?

Here are the results of a periph_gpio run:

==============================================================================
tests_periph_gpio                                                             
==============================================================================
tests_periph_gpio.Periph Gpio Base :: Verify if board to philip wiring is c...
==============================================================================
Verify GPIO_0                                                         | PASS |
------------------------------------------------------------------------------
Verify GPIO_1                                                         | PASS |
------------------------------------------------------------------------------
Verify GPIO_2                                                         | PASS |
------------------------------------------------------------------------------
tests_periph_gpio.Periph Gpio Base :: Verify if board to philip wi... | PASS |
3 tests, 3 passed, 0 failed
==============================================================================
tests_periph_gpio.Periph Gpio Others :: Verify if board to philip wiring is...
==============================================================================
Verify UART_CTS                                                       | SKIP |
This pin is not supported for this board
------------------------------------------------------------------------------
Verify UART_RTS                                                       | SKIP |
This pin is not supported for this board
------------------------------------------------------------------------------
Verify UART_RX                                                        | PASS |
------------------------------------------------------------------------------
Verify UART_TX                                                        | PASS |
------------------------------------------------------------------------------
Verify SPI_NSS                                                        | PASS |
------------------------------------------------------------------------------
Verify SPI_SCK                                                        | PASS |
------------------------------------------------------------------------------
Verify SPI_MISO                                                       | PASS |
------------------------------------------------------------------------------
Verify SPI_MOSI                                                       | PASS |
------------------------------------------------------------------------------
Verify I2C_SCL                                                        | PASS |
------------------------------------------------------------------------------
Verify I2C_SDA                                                        | PASS |
------------------------------------------------------------------------------
Verify ADC                                                            | SKIP |
This pin is not supported for this board
------------------------------------------------------------------------------
Verify PWM                                                            | PASS |
------------------------------------------------------------------------------
Verify IC                                                             | PASS |
------------------------------------------------------------------------------
tests_periph_gpio.Periph Gpio Others :: Verify if board to philip ... | PASS |
13 tests, 10 passed, 0 failed, 3 skipped
==============================================================================
tests_periph_gpio.Periph Gpio Reset :: Verify if board to philip reset wiri...
==============================================================================
Verify Reset Pin Is Connected :: Lock the dut and try run another ... | FAIL |
get_metadata expected Success but received Timeout
------------------------------------------------------------------------------
tests_periph_gpio.Periph Gpio Reset :: Verify if board to philip r... | FAIL |
1 test, 0 passed, 1 failed
==============================================================================
tests_periph_gpio                                                     | FAIL |
17 tests, 13 passed, 1 failed, 3 skipped
==============================================================================

As we already discussed the failing Periph Gpio Reset test can be ignored for now.

ngandrass commented 3 years ago

Just to have it written down somewhere for the future... Explicitly setting RESET and RESET_FLAGS to the following values fixes the GPIO reset test issues:

RESET="python3 -m philip_pal --dut_reset"
RESET_FLAGS="${PHILIP_PORT}"