I think the STM32F407VG discovery is probably just renamed? The one I linked to earlier (the L4) is something ST actually did some work on the Espruino port for though.
I have no idea if the other board will work - you could try it, but you're on your own.
Porting to other boards is interesting, but I'm afraid I'm super busy and I just can't afford to spend time helping in the porting process.
Also even if you do get a port, I'm afraid I'm not taking the new board files into Espruino at the moment. I currently have over 50 board files which I have to maintain if anything in the build changes, and I just can't manage any more - even as-is it means I'm dissuaded from making changes to the build process that would improve Espruino.
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.
I think the STM32F407VG discovery is probably just renamed? The one I linked to earlier (the L4) is something ST actually did some work on the Espruino port for though.
I have no idea if the other board will work - you could try it, but you're on your own.
For the vars, check out: https://github.com/espruino/Espruino/blob/master/README_BuildProcess.md#info
And for the 52840, there are some posts on it already under the
Porting to New Boards
section: http://forum.espruino.com/microcosms/767/Porting to other boards is interesting, but I'm afraid I'm super busy and I just can't afford to spend time helping in the porting process.
Also even if you do get a port, I'm afraid I'm not taking the new board files into Espruino at the moment. I currently have over 50 board files which I have to maintain if anything in the build changes, and I just can't manage any more - even as-is it means I'm dissuaded from making changes to the build process that would improve Espruino.