I was revisiting this for the BL706 ('it's the same, they said...') and came across an error that I suspect is just another incompatibility across python versions. With
python3 --version
Python 3.9.5
an attempt to run python3 ./bltool.py -L -p /dev/cu.usbmodem0000000200001 -w 0x23000000 /tmp/lvgl_main.bin
will result in a a parse error for 0x230000000 as base 10. It looks like
I was revisiting this for the BL706 ('it's the same, they said...') and came across an error that I suspect is just another incompatibility across python versions. With
python3 --version Python 3.9.5
an attempt to run python3 ./bltool.py -L -p /dev/cu.usbmodem0000000200001 -w 0x23000000 /tmp/lvgl_main.bin
will result in a a parse error for 0x230000000 as base 10. It looks like
diff --git a/bltool.py b/bltool.py index 07d403c..5409a5e 100644 --- a/bltool.py +++ b/bltool.py @@ -288,7 +288,7 @@ def main(): eflash.eraseFlash()
is the style of change needed. I'll leave it to you to figure out how to do that across Python versions that you care about.
Thanx!