Yes, changing the code to support an #ifdef for PLL_M would be a great idea...
Does USB Virtual Com port work on it? I think it's pretty important that you can get the baud rate down to 9600 though - as probably everything else is out as well (getTime, PLL, SPI, OneWire, etc) which makes it far less useful!
It seems to me as if 14400/9600 = 1.5 - which is also the same as the change in PLL you're using: 12/8. Is it possible that PLL_M is not being changed everywhere (maybe just make clean?) and that means that the clock speed that Espruino thinks it is running at is wrong?
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.
Hi,
Yes, changing the code to support an #ifdef for PLL_M would be a great idea...
Does USB Virtual Com port work on it? I think it's pretty important that you can get the baud rate down to 9600 though - as probably everything else is out as well (getTime, PLL, SPI, OneWire, etc) which makes it far less useful!
It seems to me as if 14400/9600 = 1.5 - which is also the same as the change in PLL you're using: 12/8. Is it possible that PLL_M is not being changed everywhere (maybe just
make clean
?) and that means that the clock speed that Espruino thinks it is running at is wrong?