diff options
author | yash1112 | 2017-07-10 17:08:48 +0530 |
---|---|---|
committer | yash1112 | 2017-07-10 17:08:48 +0530 |
commit | 49d8281d2da2f4c6bf0e62d148a8a7328d3bf970 (patch) | |
tree | 8b555b3797807de0db3849f0d91664c12d785c9b /macros/findDeps/getAllSources.sci | |
parent | bd03b38be0918837e147e969c6bb2014900009db (diff) | |
download | scilab2c-49d8281d2da2f4c6bf0e62d148a8a7328d3bf970.tar.gz scilab2c-49d8281d2da2f4c6bf0e62d148a8a7328d3bf970.tar.bz2 scilab2c-49d8281d2da2f4c6bf0e62d148a8a7328d3bf970.zip |
Arduino toolbox error Resolved
Diffstat (limited to 'macros/findDeps/getAllSources.sci')
-rw-r--r-- | macros/findDeps/getAllSources.sci | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/macros/findDeps/getAllSources.sci b/macros/findDeps/getAllSources.sci index 209cec08..b1709e66 100644 --- a/macros/findDeps/getAllSources.sci +++ b/macros/findDeps/getAllSources.sci @@ -10,7 +10,7 @@ // // -function allSources = getAllSources(SharedInfo) +function allSources = getAllSources(SharedInfo,BuildTool) Target = SharedInfo.Target; //Files common to types of output format @@ -624,7 +624,6 @@ function allSources = getAllSources(SharedInfo) "src/c/elementaryFunctions/round/i16rounds.c" "src/c/elementaryFunctions/lnp1m1/slnp1m1s.c" "src/c/elementaryFunctions/lnp1m1/dlnp1m1s.c" - "src/c/elementaryFunctions/float/dfloats.c" "src/c/elementaryFunctions/float/dfloata.c" "src/c/elementaryFunctions/float/sfloats.c" @@ -637,7 +636,6 @@ function allSources = getAllSources(SharedInfo) "src/c/elementaryFunctions/float/u16floata.c" "src/c/elementaryFunctions/float/i16floats.c" "src/c/elementaryFunctions/float/i16floata.c" - "src/c/elementaryFunctions/uint8/duint8s.c" "src/c/elementaryFunctions/uint8/duint8a.c" "src/c/elementaryFunctions/uint8/suint8s.c" @@ -706,7 +704,6 @@ function allSources = getAllSources(SharedInfo) "src/c/elementaryFunctions/int32/i16int32a.c" "src/c/elementaryFunctions/int32/u32int32s.c" "src/c/elementaryFunctions/int32/u32int32a.c" - "src/c/elementaryFunctions/bitand/u8bitands.c" "src/c/elementaryFunctions/bitand/u8bitanda.c" "src/c/elementaryFunctions/bitand/u16bitands.c" @@ -1448,10 +1445,18 @@ function allSources = getAllSources(SharedInfo) "src/c/imageProcessing/cvimgproc/imcvCanny.cpp" "src/c/imageProcessing/cvimgproc/imcvCornerHarris.cpp"]; + if Target == "Arduino" & BuildTool == "nmake" + Required_addrs = get_rquird_fnctns(Standalone_files,Arduino_files,SharedInfo); + end + if Target == "StandAlone" allSources = Standalone_files; elseif Target == "Arduino" - allSources = cat(1,Standalone_files, Arduino_files); + if BuildTool == "nmake" + allSources = Required_addrs; + else + allSources = cat(1,Standalone_files, Arduino_files); + end elseif Target == "AVR" allSources = cat(1,Standalone_files, AVR_files); elseif Target == "RPi" |