While migrating from 12.1 to 12.3 I noticed changes to nrf_drv_wdt_init; specifially the removal of uint64_t casts. Why were these removed?
We use a 5 minute reload value, which doesn't work with the 12.3 changes.
While migrating from 12.1 to 12.3 I noticed changes to nrf_drv_wdt_init; specifially the removal of uint64_t casts. Why were these removed?
We use a 5 minute reload value, which doesn't work with the 12.3 changes.
Hi,
It was changed by a mistake. If you look in SDK 13.1.0 for example, the uint64_t cast is back.
Thanks. I am using 12.3 instead of 13.1 because our devices are running S132 v3. Am I correct to use 12.3?
Yes, in general you should always stick to the compatibility matrixes on the infocenter (I noticed though, that they have not been updated to include SDK 12.3 and I'll get on that). However, in this case I think it is safe to make an exception with the WDT driver. If you compare the drivers in SDK 12.3 and SDK 13.1 you can see that there are just minor changes:
It should be safe to just copy paste the nrf_drv_wdt.c and .h files from 12.3 to 13.1 and change the logging functions if you run into compiler errors.