We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
nrf5340_app_hal and nrf5340_net_hal seem to have a wrong mapping of the GPIOs.
nrf5340_app_hal
nrf5340_net_hal
The nRF5340 has two GPIO ports:
Both are available on both the application core and the network core. On the application core, there are secure and non-secure variants:
There are at least two problems in the current implementation:
First, P1 is not available on nrf5340_app_hal.
Second, if you use P0_S on nrf5340_app_hal, pin_port will actually select P1:
pin_port
nrf-hal/nrf-hal-common/src/gpio.rs
Lines 94 to 97 in 63ca6b5
The text was updated successfully, but these errors were encountered:
No branches or pull requests
nrf5340_app_hal
andnrf5340_net_hal
seem to have a wrong mapping of the GPIOs.The nRF5340 has two GPIO ports:
Both are available on both the application core and the network core. On the application core, there are secure and non-secure variants:
There are at least two problems in the current implementation:
First, P1 is not available on
nrf5340_app_hal
.Second, if you use P0_S on
nrf5340_app_hal
,pin_port
will actually select P1:nrf-hal/nrf-hal-common/src/gpio.rs
Lines 94 to 97 in 63ca6b5
The text was updated successfully, but these errors were encountered: