HaLow HT-HC33 ( not LoRa ) licensing issue

Arduino Studio and arduino-cli do not run on my Mac so I use PlatformIO. It took me a while to get the build working in PlatformIO. I assume that in the process I had the wrong board-build.partitions definition file and when I wrote my sketch it wiped the license. I have the license code and can write it to the device using the Serial.Monitor and it works, but it is not persistent. When the device is power cycled the license error shows up again.

This a HaLow board and I’m using the ESP_Halow repo so it’s not clear to me if there is a difference in the libraries between the 2.

Here’s some output from the serial:

SP32ChipID=3057XXX53XXX4
Please provide a correct license! For more information:
http://www.heltec.cn/search/
ESP32ChipID=3057XXX53XXX4
The board is actived
calRTC Validation Result: 1 (Should be 1)
SUCCESS: HaLow Radio Alive! MAC: 78:72:64:E4:57:30

When I power the device off and back on, I see the same ‘Please provice a correct license!’ message, and I have to enter the license key again.

Everything I’ve read says that once you get it ‘actived’ then the board is licensed, but it doesn’t seem to stick.
How do I write the license to the board so that it persists?

Any thoughts on this?

I was able to find the right csv file in:
esp_halow/variants/HT-HC33/partitons.csv
once I used that there is no longer an issue.