Espruinotools / the Espruino PICO_R1_3 any general issues ? #7868
-
|
Hi @gfwilliams Im working on the espruino test harness as discussed some time ago in https://github.com/orgs/espruino/discussions/7659. One specific is when invoking i get not asking for a fix, just the general question, Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
|
That's great, thanks for looking into this. Ok, that's interesting! I can reproduce here too. I guess it's from https://github.com/espruino/EspruinoTools/blob/master/core/serial.js#L248 where I wasn't aware of any issues, and I've been using the IDE with STM32 quite a lot recently - however I haven't been using the CLI much and we did recently change the way I'm pretty busy the next few days but I'll try and pick this up when I get back |
Beta Was this translation helpful? Give feedback.
-
|
Thanks @gfwilliams . On that specific issue , it does seem to help if in serial.js around line 248 as you id'd , write chunk just updates progress and returns if txItem or txItem.data is undefined. But I really dont understand what im looking at there so would have to leave that for another. ! |
Beta Was this translation helpful? Give feedback.
-
|
Thanks @gfwilliams I have tried out the changes you comitted and Im no longer seeing the TypeError: Cannot read properties of undefined (reading 'length')Also I see you fixed the type error on the port. - really good stuff thanks I cant quite follow it but i see there is improved logging with a debug level , looks usefull. |
Beta Was this translation helpful? Give feedback.
Sorry for the delay - I just fixed this! espruino/EspruinoTools@bfc1b5d
Not made an NPM release yet but it's in GitHub at least. Thanks for the report - it could have affected a bunch of stuff (it's in uart.js as well, with Bangle.js app loader uses)