Re: Implementing SENT Interface in MicroPython?
Posted: Mon Jun 21, 2021 11:12 am
I forgot to mention that you can try to use viper code. This is compiled Python code and runs at about half the speed of pure assembly. In viper, you can create direct memory pointers. So you do not have to use the machine.memxx methods, which are slow.
And yes, you can extend the fiirmware with your own modules. There is also the option of writing C-level mpy modules which are executed by the firmware. I never did that, but it intended to add C-Level code to MicroPython without the need to change the firmware. Kind of dynamic linking.
And yes, you can extend the fiirmware with your own modules. There is also the option of writing C-level mpy modules which are executed by the firmware. I never did that, but it intended to add C-Level code to MicroPython without the need to change the firmware. Kind of dynamic linking.