Problem using .sx files with SimpleIDE
David Betz
Posts: 14,516
I tried to include a .sx file in my SimpleIDE project and SimpleIDE overwrote it when trying to compile it. Here is the build transcript. Notice that the line that builds FullDuplexSerial2.sx also uses that same file as its output file.
Project Directory: /Users/dbetz/Documents/SimpleIDE/ SimpleIDE Version 1.0.2 /Users/dbetz/Documents/SimpleIDE/Learn/Simple Libraries/ /Users/dbetz/Documents/SimpleIDE/ Updated on: 2016-03-07 propeller-elf-gcc -v GCC 4.6.1 (propellergcc_v1_0_0_2435) propeller-elf-c++ -I . -L . -Os -mcmm -m32bit-doubles -fno-exceptions -fno-rtti -ffunction-sections -c ELClient.cpp -o cmm/ELClient.opp propeller-elf-c++ -I . -L . -Os -mcmm -m32bit-doubles -fno-exceptions -fno-rtti -ffunction-sections -c ELClientHTTP.cpp -o cmm/ELClientHTTP.opp propeller-elf-c++ -I . -L . -Os -mcmm -m32bit-doubles -fno-exceptions -fno-rtti -ffunction-sections -c ELClientResponse.cpp -o cmm/ELClientResponse.opp propeller-elf-c++ -I . -L . -Os -mcmm -m32bit-doubles -fno-exceptions -fno-rtti -ffunction-sections -c FP.cpp -o cmm/FP.opp propeller-elf-c++ -I . -L . -Os -mcmm -m32bit-doubles -fno-exceptions -fno-rtti -ffunction-sections -c robot.cpp -o cmm/robot.opp propeller-elf-c++ -I . -L . -Os -mcmm -m32bit-doubles -fno-exceptions -fno-rtti -ffunction-sections -c stream.cpp -o cmm/stream.opp propeller-elf-c++ -I . -L . -Os -mcmm -m32bit-doubles -fno-exceptions -fno-rtti -ffunction-sections -c FdSerial.c -o cmm/FdSerial.o propeller-elf-c++ -I . -L . -Os -mcmm -m32bit-doubles -fno-exceptions -fno-rtti -ffunction-sections -c FullDuplexSerial2.sx -o cmm/FullDuplexSerial2.sx propeller-elf-c++ -I . -L . -Os -mcmm -m32bit-doubles -fno-exceptions -fno-rtti -ffunction-sections -c RobotApp.cpp -o cmm/RobotApp.opp propeller-elf-c++ -I . -L . -o cmm/RobotApp.elf -Os -mcmm -m32bit-doubles -fno-exceptions -fno-rtti -ffunction-sections -Wl,-gc-sections cmm/ELClient.opp cmm/ELClientHTTP.opp cmm/ELClientResponse.opp cmm/FP.opp cmm/robot.opp cmm/stream.opp cmm/FdSerial.o cmm/FullDuplexSerial2.sx cmm/RobotApp.opp -ffunction-sections -fdata-sections -Wl,--gc-sections -Wl,-gc-sections -ltiny -ltiny -ltiny cmm/FullDuplexSerial2.sx:1:8: warning: null character(s) ignored [enabled by default] cmm/FullDuplexSerial2.sx:1:18: warning: null character(s) ignored [enabled by default] cmm/FullDuplexSerial2.sx:1:22: warning: null character(s) ignored [enabled by default] cmm/FullDuplexSerial2.sx:1:35: warning: null character(s) ignored [enabled by default] cmm/FullDuplexSerial2.sx:1:42: warning: null character(s) ignored [enabled by default] cmm/FullDuplexSerial2.sx:1:48: warning: null character(s) ignored [enabled by default] ... lots more lines like the above cmm/FullDuplexSerial2.sx:10: Error: Unknown instruction 'x X \ \ ` ` $ d h l l p ' Done. Build Failed! Click error or warning messages above to debug.