- 
                Notifications
    You must be signed in to change notification settings 
- Fork 8.2k
Description
Describe the bug
When enabling PA/LNA pin control the build fails with what appears to be both GPIO and PPID related errors. It doesn't look like the NRF53 PA/LNA code is implemented yet.
To Reproduce
Steps to reproduce the behavior:
1)
add following to hci_rpmsg sample prj.conf, using the
CONFIG_BT_CTLR=y
CONFIG_BT_CTLR_GPIO_PA=y
CONFIG_BT_CTLR_GPIO_PA_PIN=29
CONFIG_BT_CTLR_GPIO_LNA=y
CONFIG_BT_CTLR_GPIO_LNA_PIN=24
west build samples/bluetooth/hci_rpmsg -b nrf5340_dk_nrf5340_cpunet
3)
Fails with lots of error, but seems to be both GPIO and ppi related:
...error: 'NRF_GPIO' undeclared (first use in this function); did you mean 'NRF_GPIOTE'?
#define NRF_GPIO_PA     NRF_GPIO
...warning: implicit declaration of function 'hal_enable_palna_ppi_config'; did you mean 'hal_trigger_aar_ppi_config'? [-Wimplicit-function-declaration]
...error: 'HAL_ENABLE_PALNA_PPI' undeclared
Expected behavior
Expected the sample to build and PA/LNA control to work.
Impact
My board is not useable as I have an external amplifier which cannot be controlled by the NRF5340.
Environment (please complete the following information):
- Latest NCS, so not up to date zephyr - but the affected file (radio.c) is the same as in latest zephyr master (7ba5e01)