when I compile a code iget this warning .\..\..\..\..\sdk\platform\driver\gpio\gpio.c(97): warning: #1215-D: #warning directive: "GPIO assignment checking is active! Deactivate before burning OTP..."
#warning "GPIO assignment checking is active is active! Deactivate before burning OTP..."
how to deactivate GPIO assignment checking is active???????????
Keywords:
Device:
Device Number:
da14585
Hi Jasu,
The most possible reason why you get this kind of warning is because you reserved the same GPIO for more than one scopes. For example, if you reserved the Port_0 / Pin_0 both for UART and SPI functionality, you will get this warring. My recommendation is to cross check is you reserved the same GPIO for more than one functionality and if yes, I would suggest you to change it. Otherwise, you can explicitly define the GPIO_DRV_PIN_ALLOC_MON_DISABLED and get rid of this warning but be aware that it’s not the best practice!
Thanks, PM_Dialog
where we define GPIO_DRV_PIN_ALLOC_MON_DISABLED ?
I get this warning when run ble all in one
Hi Jasu,
There is not any GPIO_DRV_PIN_ALLOC_MON_DISABLED definition not only in ble_app_all_in_one but in all our projects. You could add this definition by your own, but as I mentioned in my previous post, this is not recommended.
Thanks, PM_Dialog