Neucrack
Neucrack
what problem with ultrasonic lib? https://github.com/sipeed/MaixPy_scripts/tree/master/modules/grove/ultrasonic
it's better to code with C for this sensor, we not test on two pins sonic sensor, you can modify code here: https://github.com/sipeed/MaixPy/blob/7caf24572f54db97f19df9e08e0b8b0ef6ebb15e/components/micropython/port/src/modules/ultrasonic/src/ultrasonic.c#L15-L72 now it only use one pin, first...
customize your firmware here https://www.maixhub.com/compile.html
Just leave SPIFFS as default, check Modules, checkout modules you need like below: 
just use the minimum firmware here: https://dl.sipeed.com/MAIX/MaixPy/release/master/ or select the same as the screenshot I post
the easiest way is use the online compile on maixhub, but it seems service has some problem, we will resolve it, before you can use it, you can build firmware...
and you can download minimum with IDE support firmware 
as the error code describe, your model version is wrong, so maybe you convert your kmodel in wrong way
you can try again online compile tool at https://www.maixhub.com/compile.html , select kmodel v4 support, and then generate a firmware
or you can directly use V3 model, and we recommend you use V3 kmodel if your model don't have to use V4, it's faster and save more memory