Yes, building with the new ST APIs is a bit of a pain. You may find some clues in the targets/stm32l4 code, but also I seem to recall that on the whole you could split things up enough that mostly the USB could use the new HAL and everything else could use the old HAL
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Looks great! Hope it goes well!
Yes, building with the new ST APIs is a bit of a pain. You may find some clues in the
targets/stm32l4
code, but also I seem to recall that on the whole you could split things up enough that mostly the USB could use the new HAL and everything else could use the old HAL