Appreciate these are only warnings...
VSC_Projects/P2-BLE-Test-Central/target/5.7.0/p2/memory_platform_user.ld ...
In file included from ../../../hal/inc/interrupts_hal.h:39,
from ../../../hal/inc/core_hal.h:91,
from ../../../modules/shared/rtl872x/inc/user_part_export.c:7,
from src/user_export.c:1:
../../../hal/inc/pinmap_hal.h:92:1: warning: 'Hal_Pin_Info' is deprecated: Use hal_pin_info_t instead [-Wdeprecated-declarations]
92 | Hal_Pin_Map(void) {
| ^~~~~~~~~~~
In file included from ../../../hal/inc/pinmap_hal.h:77,
from ../../../hal/inc/interrupts_hal.h:39,
from ../../../hal/inc/core_hal.h:91,
from ../../../modules/shared/rtl872x/inc/user_part_export.c:7,
from src/user_export.c:1:
../../../hal/src/rtl872x/pinmap_impl.h:26:16: note: declared here
26 | typedef struct hal_pin_info_t {
| ^~~~~~~~~~~~~~
In file included from ../../../hal/inc/interrupts_hal.h:234,
from ../../../hal/inc/core_hal.h:91,
from ../../../modules/shared/rtl872x/inc/user_part_export.c:7,
from src/user_export.c:1:
../../../hal/inc/interrupts_hal_compat.h:37:1: warning: 'HAL_InterruptHandler' is deprecated: Use hal_interrupt_handler_t [-Wdeprecated-declarations]
37 | HAL_Interrupts_Attach(uint16_t pin, HAL_InterruptHandler handler, void* data, InterruptMode mode, HAL_InterruptExtraConfiguration* config) {
| ^~~~~~~~~~~~~~~~~~~~~
../../../hal/inc/interrupts_hal_compat.h:37:1: warning: 'HAL_InterruptExtraConfiguration' is deprecated: Use hal_interrupt_extra_configuration_t [-Wdeprecated-declarations]
In file included from ../../../hal/inc/core_hal.h:91,
from ../../../modules/shared/rtl872x/inc/user_part_export.c:7,
from src/user_export.c:1:
../../../hal/inc/interrupts_hal.h:76:16: note: declared here
76 | typedef struct hal_interrupt_extra_configuration_t {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../../hal/inc/interrupts_hal.h:234,
from ../../../hal/inc/core_hal.h:91,
from ../../../modules/shared/rtl872x/inc/user_part_export.c:7,
from src/user_export.c:1:
../../../hal/inc/interrupts_hal_compat.h:77:1: warning: 'HAL_InterruptCallback' is deprecated: Use hal_interrupt_callback_t [-Wdeprecated-declarations]
77 | HAL_Set_System_Interrupt_Handler(hal_irq_t irq, const HAL_InterruptCallback* callback, HAL_InterruptCallback* previous, void* reserved) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../../hal/inc/core_hal.h:91,
from ../../../modules/shared/rtl872x/inc/user_part_export.c:7,
from src/user_export.c:1:
../../../hal/inc/interrupts_hal.h:66:16: note: declared here
66 | typedef struct hal_interrupt_callback_t {
| ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../../hal/inc/interrupts_hal.h:234,
from ../../../hal/inc/core_hal.h:91,
from ../../../modules/shared/rtl872x/inc/user_part_export.c:7,
from src/user_export.c:1:
[Additional point]
When the peripheral device code is run then this comes out of the log
0000009642 [hal] INFO: WiFi on
0000010307 [net.lwip_rltk] INFO: promisc_deinit TODO
0000010313 [hal] INFO: WiFi off
and the LESC pairing does not correctly work - related to the TODO?
I am getting a bit worried about BLE on P2 since we have plans for headless devices that can be controlled via BLE from a mobile app however this doesn't appear to be working!