Open jeanparker opened 3 years ago
I am trying to use svd2ada for the nrf52833.svd file which is in the nRF5_SDK_17.0.2_d674dde sdk package.
It generates a couple of warnings and then fails.
raised CONSTRAINT_ERROR : Invalid access value read-writeonce
I found the culprit, the nrf52833.svd uses lower case for the register access type and this fails here: https://github.com/AdaCore/svd2ada/blob/861c829c994e5192081bcd742532a147a25a1289/src/base_types.adb#L270
This issue has been resolved in #97 using some minor manual changes compared to Nordic's original nrf52833.svd. It can now be generated using
.\svd2ada.exe CMSIS-SVD\nordic\nrf52833.svd -o FolderName
I am trying to use svd2ada for the nrf52833.svd file which is in the nRF5_SDK_17.0.2_d674dde sdk package.
It generates a couple of warnings and then fails.
I found the culprit, the nrf52833.svd uses lower case for the register access type and this fails here:
https://github.com/AdaCore/svd2ada/blob/861c829c994e5192081bcd742532a147a25a1289/src/base_types.adb#L270