GPIO assignment checking is active is active

⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.xmece.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
4 posts / 0 new
Last post
Jasu
Offline
Last seen:1 year 10 months ago
加入:2019-01-23 10:26
GPIO assignment checking is active is active

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
PM_Dialog
Offline
Last seen:11 hours 10 min ago
Staff
加入:2018-02-08 11:03
Hi Jasu,

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

Jasu
Offline
Last seen:1 year 10 months ago
加入:2019-01-23 10:26
where we define GPIO_DRV_PIN

where we define GPIO_DRV_PIN_ALLOC_MON_DISABLED ?
I get this warning when run ble all in one

PM_Dialog
Offline
Last seen:11 hours 10 min ago
Staff
加入:2018-02-08 11:03
Hi Jasu,

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