enaon / ninebot-one-nRF52

ninebot one unicycle and nrf52 direct BLE connection
9 stars 4 forks source link

init not working #7

Open joerg555 opened 3 years ago

joerg555 commented 3 years ago

Hi, i try to start with P8b watch and espruino. I flashed with daflasher DaFitBootloader23Hacked.bin FitBootloaderDFU2.0.1.zip and espruino_2v07.60_p8_SDK11_SD20_SPIFLASH.zip use https://www.espruino.com/ide/ with chrome on windows. First i start with require("Storage").eraseAll()

then i flash "handler" and "main" to storage then i flash "init" to ".boot.rst" i allways get message modul p8 not found. i think this Modules.addCached("P8", function () { //fonts dont not work. can you help me, may be there is a mistake in init or wrong espruino version ?

enaon commented 3 years ago

hi, thanks for playing with the scripts.

The "module not found" message is normal, the module is created by the script, it is not in the espruino repo. the init file should be renamed to .bootrst , not .boot.rst

in any case, I suggest you move here: http://enaon.github.io/eucwatch

go to installer tab, and do a basic install, all files will be installed automatically. I also suggest you use the flash enabled image from fanoush (sdk11 or sdk12) and then use the full install.