You are reading a single comment by @user156811 and its replies. Click here to read the full conversation.
  • Now currently the build is a little ("lot bad"). Partly because there will be a huge influx of .C files that i didn't want to have to list them all. So currently i have a lot of #includes(**.c) files. This will include all the files, but each file will be covered with define to enable or disable it.

    In the board file i need to add a line to grab all the hardware specific defines.

    • this partly has to be like this. Your soft reference function have to compiled separately from your hard reference function.

    Then this grabs all the hardware implemenation files.

    I have a #include(**.c) as well in the jswrap_bangle.c.

    I'm guessing there's probably a way to handle this in the makefile. Just haven't looked into it yet.

About

Avatar for user156811 @user156811 started