• Okay, getting warmer now,

    Under 'Problems' tab

    'cannot open source file "platform_config.h" (dependency of "jsi2c.h")'

    Web search turned up:

    http://forum.espruino.com/comments/14308300/

    I opened the \gen folder and only a 'README' file exists.

    Searching for instructions as to whether I need to create that file or if it is (failed) as a result of not all extensions in the correct place yet.



    EDIT: (hour later)
    From post #14 link to GitHub output shows file is auto gen'd

    // Automatically generated header file for STM32F100CB
    // Generated by scripts/build_platform_config.py

    Verified that file 'build_platform_config.py' is within the tree both inside VSCode and within the local file system.

    Re-ran make clean && make
    but get

    cc1: warning: unrecognized command line option ‘-Wno-expansion-to-defined’
    gen/jswrapper.c: In function ‘jswOnCharEvent’:
    gen/jswrapper.c:1901:34: warning: unused parameter ‘channel’ [-Wunused-parameter]
     bool jswOnCharEvent(IOEventFlags channel, char charData) {
                                      ^
    gen/jswrapper.c:1901:48: warning: unused parameter ‘charData’ [-Wunused-parameter]
     bool jswOnCharEvent(IOEventFlags channel, char charData) {
                                                    ^
    gen/jswrapper.c: In function ‘jswGetBuiltInJSLibrary’:
    gen/jswrapper.c:1905:48: warning: unused parameter ‘name’ [-Wunused-parameter]
     const char *jswGetBuiltInJSLibrary(const char *name) {
                                                    ^
    cc1plus: warning: unrecognized command line option ‘-Wno-expansion-to-defined’
    gen/jswrapper.c: At top level:
    cc1: warning: unrecognized command line option ‘-Wno-expansion-to-defined’
    LD espruino
    rgc@DESKTOP-R7T0VUC:~/source/repos/github/espruino/Espruino$
    

    and still have error under 'Problems' tab:

    'cannot open source file "platform_config.h" (dependency of "jsi2c.h")'

About

Avatar for Robin @Robin started