SDK: 1.0.10-1072
Hello,
I need partition table infos and mentioned that ad_nvms_get_partition_info() returns data from other partitions than requested.
e.g.
ad_nvms_get_partition_info(NVMS_PARAM_PART, &info);
returns info from NVMS_FIRMWARE_PART.
As workaround I wrote my own function.
Thanks.
uniben
Device:
Hi uniben,
The ad_nvms_get_partition_info() gets as a first parameter the index of the list that holds the partitions of the partition table and not the enum of the actual partition, for example if you invoke ad_nvms_get_partition_info(0, &entry), the function will return the info of the last partition located in the partition table, when the index is 1 the function will return the partition right before the previous one. The total partitions used, can be counted by the ad_nvms_get_partition_count() and you can check the info of each partition based on the index of the partitions list.
Thanks MT_dialog
Hi MT_dialog,
Please update the sdk dokumentation.
Thanks uniben