microsoft / jacdac-stm32x0

Jacdac implementation for STM32F0 and similar
MIT License
11 stars 10 forks source link

build error #8

Closed tballmsft closed 3 years ago

tballmsft commented 3 years ago

got everything installed and compiling proceeding nicely until this:

/home/tball/JD/jacdac-stm32x0/scripts/patch-bin.js:51
if ((w0 & 0xff00_0000) == 0x2000_0000) {
          ^^^^^^

SyntaxError: Invalid or unexpected token
mmoskal commented 3 years ago

you need to update your node.js

mmoskal commented 3 years ago

added workaround in https://github.com/microsoft/jacdac-stm32x0/commit/6160562f7f7f2ac889101ee9807e59caf3bdc2c7