Is the idea that we are going to have a bunch of lines in the BOARD.py file for each of the sensors/etc that are implemented? Or is the idea that they'll get included via the Makefile and you won't have to specify what files you want?
If it's the first, maybe for now we can just keep several 'WRAPPERSOURCES += ... lines in the BOARD.py file like we used to do? It's not like there are hundreds of devices implementing Bangle.js stuff at the moment, and it's nice to be able to see at a glance which files are actually included.
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.
So it's the changes here? https://github.com/brendena/Espruino/blob/babd6246cd13710bc7bd43a98917d3eecb8a9755/Makefile#L409-L419
Is the idea that we are going to have a bunch of lines in the BOARD.py file for each of the sensors/etc that are implemented? Or is the idea that they'll get included via the Makefile and you won't have to specify what files you want?
If it's the first, maybe for now we can just keep several
'WRAPPERSOURCES += ...
lines in the BOARD.py file like we used to do? It's not like there are hundreds of devices implementing Bangle.js stuff at the moment, and it's nice to be able to see at a glance which files are actually included.I'll just comment on the other stuff in the original thread... https://forum.espruino.com/conversations/393880/#comment17413828