Created Mon, 07 Dec 2015 08:59:20 +0000 by GastonLagaffe
Mon, 07 Dec 2015 08:59:20 +0000
Salut,
I tested all Picadillo Demos. Some comile, some fail compilation. Those that compile run nicely. This is the list of Demos that are OK: Aafont Benchmark Bezier Heart HSWave Mandelbrot PicadilloTest Primitives ScrolingWave Skribble WindowSemo
These fail: 7Segment
Compiling...
• Compiling sketch...
c:\UECIDEBETA\compilers\pic32-tools/bin/pic32-objcopy --input binary --output-target elf32-tradlittlemips --binary-architecture mips --rename-section .data=.text,alloc,load,readonly,code,share,contents objects\aOff.565 C:\Users\mawilhel\AppData\Local\Temp\build-726bf5be-898b-4cb6-81f0-7147e4934e6a\aOff.565.o
c:\UECIDEBETA\compilers\pic32-tools\bin\pic32-objcopy: option `--input' is ambiguous
Usage: c:\UECIDEBETA\compilers\pic32-tools\bin\pic32-objcopy [option(s)] in-file [out-file]
Copies a binary file, possibly transforming it in the process
The options are:
-I --input-target <bfdname> Assume input file is in format <bfdname>
-O --output-target <bfdname> Create an output file in format <bfdname>
-B --binary-architecture <arch> Set output arch, when input is arch-less
-F --target <bfdname> Set both input and output format to <bfdname>
--debugging Convert debugging information, if possible
-p --preserve-dates Copy modified/access timestamps to the output
-D --enable-deterministic-archives
Produce deterministic output when stripping archives
-j --only-section <name> Only copy section <name> into the output
--add-gnu-debuglink=<file> Add section .gnu_debuglink linking to <file>
-R --remove-section <name> Remove section <name> from the output
-S --strip-all Remove all symbol and relocation information
-g --strip-debug Remove all debugging symbols & sections
--strip-dwo Remove all DWO sections
--strip-unneeded Remove all symbols not needed by relocations
-N --strip-symbol <name> Do not copy symbol <name>
--strip-unneeded-symbol <name>
Do not copy symbol <name> unless needed by
relocations
--only-keep-debug Strip everything but the debug information
--extract-dwo Copy only DWO sections
--extract-symbol Remove section contents but keep symbols
-K --keep-symbol <name> Do not strip symbol <name>
--keep-file-symbols Do not strip file symbol(s)
--localize-hidden Turn all ELF hidden symbols into locals
-L --localize-symbol <name> Force symbol <name> to be marked as a local
--globalize-symbol <name> Force symbol <name> to be marked as a global
-G --keep-global-symbol <name> Localize all symbols except <name>
-W --weaken-symbol <name> Force symbol <name> to be marked as a weak
--weaken Force all global symbols to be marked as weak
-w --wildcard Permit wildcard in symbol comparison
-x --discard-all Remove all non-global symbols
-X --discard-locals Remove any compiler-generated symbols
-i --interleave [<number>] Only copy N out of every <number> bytes
--interleave-width <number> Set N for --interleave
-b --byte <num> Select byte <num> in every interleaved block
--gap-fill <val> Fill gaps between sections with <val>
--pad-to <addr> Pad the last section up to address <addr>
--set-start <addr> Set the start address to <addr>
{--change-start|--adjust-start} <incr>
Add <incr> to the start address
{--change-addresses|--adjust-vma} <incr>
Add <incr> to LMA, VMA and start addresses
{--change-section-address|--adjust-section-vma} <name>{=|+|-}<val>
Change LMA and VMA of section <name> by <val>
--change-section-lma <name>{=|+|-}<val>
Change the LMA of section <name> by <val>
--change-section-vma <name>{=|+|-}<val>
Change the VMA of section <name> by <val>
{--[no-]change-warnings|--[no-]adjust-warnings}
Warn if a named section does not exist
--set-section-flags <name>=<flags>
Set section <name>'s properties to <flags>
--add-section <name>=<file> Add section <name> found in <file> to output
--rename-section <old>=<new>[,<flags>] Rename section <old> to <new>
--long-section-names {enable|disable|keep}
Handle long section names in Coff objects.
--change-leading-char Force output format's leading character style
--remove-leading-char Remove leading character from global symbols
--reverse-bytes=<num> Reverse <num> bytes at a time, in output sections with content
--redefine-sym <old>=<new> Redefine symbol name <old> to <new>
--redefine-syms <file> --redefine-sym for all symbol pairs
listed in <file>
--srec-len <number> Restrict the length of generated Srecords
--srec-forceS3 Restrict the type of generated Srecords to S3
--strip-symbols <file> -N for all symbols listed in <file>
--strip-unneeded-symbols <file>
--strip-unneeded-symbol for all symbols listed
in <file>
--keep-symbols <file> -K for all symbols listed in <file>
--localize-symbols <file> -L for all symbols listed in <file>
--globalize-symbols <file> --globalize-symbol for all in <file>
--keep-global-symbols <file> -G for all symbols listed in <file>
--weaken-symbols <file> -W for all symbols listed in <file>
--alt-machine-code <index> Use the target's <index>'th alternative machine
--writable-text Mark the output text as writable
--readonly-text Make the output text write protected
--pure Mark the output file as demand paged
--impure Mark the output file as impure
--prefix-symbols <prefix> Add <prefix> to start of every symbol name
--prefix-sections <prefix> Add <prefix> to start of every section name
--prefix-alloc-sections <prefix>
Add <prefix> to start of every allocatable
section name
--file-alignment <num> Set PE file alignment to <num>
--heap <reserve>[,<commit>] Set PE reserve/commit heap to <reserve>/
<commit>
--image-base <address> Set PE image base to <address>
--section-alignment <num> Set PE section alignment to <num>
--stack <reserve>[,<commit>] Set PE reserve/commit stack to <reserve>/
<commit>
--subsystem <name>[:<version>]
Set PE subsystem to <name> [& <version>]
--compress-debug-sections Compress DWARF debug sections using zlib
--decompress-debug-sections Decompress DWARF debug sections using zlib
-v --verbose List all object files modified
@<file> Read options from <file>
-V --version Display this program's version number
-h --help Display this output
--info List object formats & architectures supported
c:\UECIDEBETA\compilers\pic32-tools\bin\pic32-objcopy: supported targets: elf32-tradlittlemips elf32-little elf32-big srec symbolsrec verilog tekhex binary ihex
c:\UECIDEBETA\compilers\pic32-tools/bin/pic32-g++ -c C:\Users\mawilhel\AppData\Local\Temp\build-726bf5be-898b-4cb6-81f0-7147e4934e6a\7Segment.cpp -o C:\Users\mawilhel\AppData\Local\Temp\build-726bf5be-898b-4cb6-81f0-7147e4934e6a\7Segment.cpp.o -mprocessor=32MX795F512L -G1024 -g -O2 -fno-exceptions -ffunction-sections -fdata-sections -mno-smart-io -mdebugger -Wcast-align -fno-short-double -DF_CPU=80000000L -DARDUINO=157 -D_BOARD_PICADILLO_35T_ -DMPIDEVER=10001932 -DMPIDE=157 -DOPT_BOARD_INTERNAL -DOPT_SYSTEM_INTERNAL -DIDE=UECIDE -Ic:\UECIDEBETA\cores\chipkit\pic32 -IC:\Data\UECIDE\libraries\Picadillo -IC:\Data\UECIDE\libraries\Raw565 -IC:\Data\UECIDE\libraries\DisplayCore -IC:\Data\UECIDE\libraries\AnalogTouch -Ic:\UECIDEBETA\boards\4DSystems\4d-picadillo-35t -IC:\Users\mawilhel\AppData\Local\Temp\build-726bf5be-898b-4cb6-81f0-7147e4934e6a -IC:\Data\UECIDE\libraries\Picadillo\examples\7Segment -w
• Compiling core...
‣ api
• Compiling libraries...
‣ DisplayCore
‣ Raw565
‣ AnalogTouch
‣ Picadillo
• Linking sketch...
c:\UECIDEBETA\compilers\pic32-tools/bin/pic32-g++ -Os -Wl,--gc-sections,-Map,C:\Users\mawilhel\AppData\Local\Temp\build-726bf5be-898b-4cb6-81f0-7147e4934e6a/7Segment.map -mdebugger -mno-peripheral-libs -nostartfiles -T c:\UECIDEBETA\cores\chipkit\pic32\chipKIT-application-32MX795F512.ld -T c:\UECIDEBETA\cores\chipkit\pic32\chipKIT-application-COMMON.ld c:\UECIDEBETA\cores\chipkit/pic32/cpp-startup.S -w -mprocessor=32MX795F512L -o C:\Users\mawilhel\AppData\Local\Temp\build-726bf5be-898b-4cb6-81f0-7147e4934e6a/7Segment.elf C:\Users\mawilhel\AppData\Local\Temp\build-726bf5be-898b-4cb6-81f0-7147e4934e6a\7Segment.cpp.o -LC:\Users\mawilhel\AppData\Local\Temp\build-726bf5be-898b-4cb6-81f0-7147e4934e6a -Lc:\UECIDEBETA\cache\chipkit\4d-picadillo-35t -Wl,--start-group -lcat_DisplayCore -lcat_Raw565 -lcat_AnalogTouch -lcat_Picadillo -lCore_api -Wl,--end-group -lm
C:\Users\mawilhel\AppData\Local\Temp\build-726bf5be-898b-4cb6-81f0-7147e4934e6a\7Segment.cpp.o: In function `__static_initialization_and_destruction_0':
C:/Data/UECIDE/libraries/Picadillo/examples/7Segment/7Segment.ino:68: undefined reference to `_binary_objects_aOn_565_start'
C:/Data/UECIDE/libraries/Picadillo/examples/7Segment/7Segment.ino:68: undefined reference to `_binary_objects_aOn_565_start'
C:/Data/UECIDE/libraries/Picadillo/examples/7Segment/7Segment.ino:69: undefined reference to `_binary_objects_aOff_565_start'
C:/Data/UECIDE/libraries/Picadillo/examples/7Segment/7Segment.ino:69: undefined reference to `_binary_objects_aOff_565_start'
C:/Data/UECIDE/libraries/Picadillo/examples/7Segment/7Segment.ino:71: undefined reference to `_binary_objects_bOn_565_start'
C:/Data/UECIDE/libraries/Picadillo/examples/7Segment/7Segment.ino:71: undefined reference to `_binary_objects_bOn_565_start'
C:/Data/UECIDE/libraries/Picadillo/examples/7Segment/7Segment.ino:72: undefined reference to `_binary_objects_bOff_565_start'
C:/Data/UECIDE/libraries/Picadillo/examples/7Segment/7Segment.ino:72: undefined reference to `_binary_objects_bOff_565_start'
C:/Data/UECIDE/libraries/Picadillo/examples/7Segment/7Segment.ino:74: undefined reference to `_binary_objects_csOn_565_start'
C:/Data/UECIDE/libraries/Picadillo/examples/7Segment/7Segment.ino:74: undefined reference to `_binary_objects_csOn_565_start'
C:/Data/UECIDE/libraries/Picadillo/examples/7Segment/7Segment.ino:75: undefined reference to `_binary_objects_cOff_565_start'
C:/Data/UECIDE/libraries/Picadillo/examples/7Segment/7Segment.ino:75: undefined reference to `_binary_objects_cOff_565_start'
C:/Data/UECIDE/libraries/Picadillo/examples/7Segment/7Segment.ino:77: undefined reference to `_binary_objects_dOn_565_start'
C:/Data/UECIDE/libraries/Picadillo/examples/7Segment/7Segment.ino:77: undefined reference to `_binary_objects_dOn_565_start'
C:/Data/UECIDE/libraries/Picadillo/examples/7Segment/7Segment.ino:78: undefined reference to `_binary_objects_dOff_565_start'
C:/Data/UECIDE/libraries/Picadillo/examples/7Segment/7Segment.ino:78: undefined reference to `_binary_objects_dOff_565_start'
C:/Data/UECIDE/libraries/Picadillo/examples/7Segment/7Segment.ino:80: undefined reference to `_binary_objects_eOn_565_start'
C:/Data/UECIDE/libraries/Picadillo/examples/7Segment/7Segment.ino:80: undefined reference to `_binary_objects_eOn_565_start'
C:/Data/UECIDE/libraries/Picadillo/examples/7Segment/7Segment.ino:81: undefined reference to `_binary_objects_eOff_565_start'
C:/Data/UECIDE/libraries/Picadillo/examples/7Segment/7Segment.ino:81: undefined reference to `_binary_objects_eOff_565_start'
C:/Data/UECIDE/libraries/Picadillo/examples/7Segment/7Segment.ino:83: undefined reference to `_binary_objects_fOn_565_start'
C:/Data/UECIDE/libraries/Picadillo/examples/7Segment/7Segment.ino:83: undefined reference to `_binary_objects_fOn_565_start'
C:/Data/UECIDE/libraries/Picadillo/examples/7Segment/7Segment.ino:84: undefined reference to `_binary_objects_fOff_565_start'
C:/Data/UECIDE/libraries/Picadillo/examples/7Segment/7Segment.ino:84: undefined reference to `_binary_objects_fOff_565_start'
C:/Data/UECIDE/libraries/Picadillo/examples/7Segment/7Segment.ino:86: undefined reference to `_binary_objects_gOn_565_start'
C:/Data/UECIDE/libraries/Picadillo/examples/7Segment/7Segment.ino:86: undefined reference to `_binary_objects_gOn_565_start'
C:/Data/UECIDE/libraries/Picadillo/examples/7Segment/7Segment.ino:87: undefined reference to `_binary_objects_gOff_565_start'
C:/Data/UECIDE/libraries/Picadillo/examples/7Segment/7Segment.ino:87: undefined reference to `_binary_objects_gOff_565_start'
collect2: ld returned 1 exit status
Failed linking sketch
AlphaDemo
Compiling...
• Compiling sketch...
c:\UECIDEBETA\compilers\pic32-tools/bin/pic32-objcopy --input binary --output-target elf32-tradlittlemips --binary-architecture mips --rename-section .data=.text,alloc,load,readonly,code,share,contents objects\kitten1.bmp C:\Users\mawilhel\AppData\Local\Temp\build-3240ed85-c2ab-4d5a-b4a2-f43de573a168\kitten1.bmp.o
c:\UECIDEBETA\compilers\pic32-tools\bin\pic32-objcopy: option `--input' is ambiguous
Usage: c:\UECIDEBETA\compilers\pic32-tools\bin\pic32-objcopy [option(s)] in-file [out-file]
Copies a binary file, possibly transforming it in the process
The options are:
-I --input-target <bfdname> Assume input file is in format <bfdname>
-O --output-target <bfdname> Create an output file in format <bfdname>
-B --binary-architecture <arch> Set output arch, when input is arch-less
-F --target <bfdname> Set both input and output format to <bfdname>
--debugging Convert debugging information, if possible
-p --preserve-dates Copy modified/access timestamps to the output
-D --enable-deterministic-archives
Produce deterministic output when stripping archives
-j --only-section <name> Only copy section <name> into the output
--add-gnu-debuglink=<file> Add section .gnu_debuglink linking to <file>
-R --remove-section <name> Remove section <name> from the output
-S --strip-all Remove all symbol and relocation information
-g --strip-debug Remove all debugging symbols & sections
--strip-dwo Remove all DWO sections
--strip-unneeded Remove all symbols not needed by relocations
-N --strip-symbol <name> Do not copy symbol <name>
--strip-unneeded-symbol <name>
Do not copy symbol <name> unless needed by
relocations
--only-keep-debug Strip everything but the debug information
--extract-dwo Copy only DWO sections
--extract-symbol Remove section contents but keep symbols
-K --keep-symbol <name> Do not strip symbol <name>
--keep-file-symbols Do not strip file symbol(s)
--localize-hidden Turn all ELF hidden symbols into locals
-L --localize-symbol <name> Force symbol <name> to be marked as a local
--globalize-symbol <name> Force symbol <name> to be marked as a global
-G --keep-global-symbol <name> Localize all symbols except <name>
-W --weaken-symbol <name> Force symbol <name> to be marked as a weak
--weaken Force all global symbols to be marked as weak
-w --wildcard Permit wildcard in symbol comparison
-x --discard-all Remove all non-global symbols
-X --discard-locals Remove any compiler-generated symbols
-i --interleave [<number>] Only copy N out of every <number> bytes
--interleave-width <number> Set N for --interleave
-b --byte <num> Select byte <num> in every interleaved block
--gap-fill <val> Fill gaps between sections with <val>
--pad-to <addr> Pad the last section up to address <addr>
--set-start <addr> Set the start address to <addr>
{--change-start|--adjust-start} <incr>
Add <incr> to the start address
{--change-addresses|--adjust-vma} <incr>
Add <incr> to LMA, VMA and start addresses
{--change-section-address|--adjust-section-vma} <name>{=|+|-}<val>
Change LMA and VMA of section <name> by <val>
--change-section-lma <name>{=|+|-}<val>
Change the LMA of section <name> by <val>
--change-section-vma <name>{=|+|-}<val>
Change the VMA of section <name> by <val>
{--[no-]change-warnings|--[no-]adjust-warnings}
Warn if a named section does not exist
--set-section-flags <name>=<flags>
Set section <name>'s properties to <flags>
--add-section <name>=<file> Add section <name> found in <file> to output
--rename-section <old>=<new>[,<flags>] Rename section <old> to <new>
--long-section-names {enable|disable|keep}
Handle long section names in Coff objects.
--change-leading-char Force output format's leading character style
--remove-leading-char Remove leading character from global symbols
--reverse-bytes=<num> Reverse <num> bytes at a time, in output sections with content
--redefine-sym <old>=<new> Redefine symbol name <old> to <new>
--redefine-syms <file> --redefine-sym for all symbol pairs
listed in <file>
--srec-len <number> Restrict the length of generated Srecords
--srec-forceS3 Restrict the type of generated Srecords to S3
--strip-symbols <file> -N for all symbols listed in <file>
--strip-unneeded-symbols <file>
--strip-unneeded-symbol for all symbols listed
in <file>
--keep-symbols <file> -K for all symbols listed in <file>
--localize-symbols <file> -L for all symbols listed in <file>
--globalize-symbols <file> --globalize-symbol for all in <file>
--keep-global-symbols <file> -G for all symbols listed in <file>
--weaken-symbols <file> -W for all symbols listed in <file>
--alt-machine-code <index> Use the target's <index>'th alternative machine
--writable-text Mark the output text as writable
--readonly-text Make the output text write protected
--pure Mark the output file as demand paged
--impure Mark the output file as impure
--prefix-symbols <prefix> Add <prefix> to start of every symbol name
--prefix-sections <prefix> Add <prefix> to start of every section name
--prefix-alloc-sections <prefix>
Add <prefix> to start of every allocatable
section name
--file-alignment <num> Set PE file alignment to <num>
--heap <reserve>[,<commit>] Set PE reserve/commit heap to <reserve>/
<commit>
--image-base <address> Set PE image base to <address>
--section-alignment <num> Set PE section alignment to <num>
--stack <reserve>[,<commit>] Set PE reserve/commit stack to <reserve>/
<commit>
--subsystem <name>[:<version>]
Set PE subsystem to <name> [& <version>]
--compress-debug-sections Compress DWARF debug sections using zlib
--decompress-debug-sections Decompress DWARF debug sections using zlib
-v --verbose List all object files modified
@<file> Read options from <file>
-V --version Display this program's version number
-h --help Display this output
--info List object formats & architectures supported
c:\UECIDEBETA\compilers\pic32-tools\bin\pic32-objcopy: supported targets: elf32-tradlittlemips elf32-little elf32-big srec symbolsrec verilog tekhex binary ihex
c:\UECIDEBETA\compilers\pic32-tools/bin/pic32-g++ -c C:\Users\mawilhel\AppData\Local\Temp\build-3240ed85-c2ab-4d5a-b4a2-f43de573a168\AlphaDemo.cpp -o C:\Users\mawilhel\AppData\Local\Temp\build-3240ed85-c2ab-4d5a-b4a2-f43de573a168\AlphaDemo.cpp.o -mprocessor=32MX795F512L -G1024 -g -O2 -fno-exceptions -ffunction-sections -fdata-sections -mno-smart-io -mdebugger -Wcast-align -fno-short-double -DF_CPU=80000000L -DARDUINO=157 -D_BOARD_PICADILLO_35T_ -DMPIDEVER=10001932 -DMPIDE=157 -DOPT_BOARD_INTERNAL -DOPT_SYSTEM_INTERNAL -DIDE=UECIDE -Ic:\UECIDEBETA\cores\chipkit\pic32 -IC:\Data\UECIDE\libraries\Picadillo -IC:\Data\UECIDE\libraries\BMP -IC:\Data\UECIDE\libraries\Topaz -IC:\Data\UECIDE\libraries\DisplayCore -IC:\Data\UECIDE\libraries\AnalogTouch -Ic:\UECIDEBETA\boards\4DSystems\4d-picadillo-35t -IC:\Users\mawilhel\AppData\Local\Temp\build-3240ed85-c2ab-4d5a-b4a2-f43de573a168 -IC:\Data\UECIDE\libraries\Picadillo\examples\AlphaDemo -w
• Compiling core...
‣ api
• Compiling libraries...
‣ DisplayCore
‣ BMP
‣ AnalogTouch
‣ Picadillo
‣ Topaz
• Linking sketch...
c:\UECIDEBETA\compilers\pic32-tools/bin/pic32-g++ -Os -Wl,--gc-sections,-Map,C:\Users\mawilhel\AppData\Local\Temp\build-3240ed85-c2ab-4d5a-b4a2-f43de573a168/AlphaDemo.map -mdebugger -mno-peripheral-libs -nostartfiles -T c:\UECIDEBETA\cores\chipkit\pic32\chipKIT-application-32MX795F512.ld -T c:\UECIDEBETA\cores\chipkit\pic32\chipKIT-application-COMMON.ld c:\UECIDEBETA\cores\chipkit/pic32/cpp-startup.S -w -mprocessor=32MX795F512L -o C:\Users\mawilhel\AppData\Local\Temp\build-3240ed85-c2ab-4d5a-b4a2-f43de573a168/AlphaDemo.elf C:\Users\mawilhel\AppData\Local\Temp\build-3240ed85-c2ab-4d5a-b4a2-f43de573a168\AlphaDemo.cpp.o -LC:\Users\mawilhel\AppData\Local\Temp\build-3240ed85-c2ab-4d5a-b4a2-f43de573a168 -Lc:\UECIDEBETA\cache\chipkit\4d-picadillo-35t -Wl,--start-group -lcat_DisplayCore -lcat_BMP -lcat_AnalogTouch -lcat_Picadillo -lcat_Topaz -lCore_api -Wl,--end-group -lm
C:\Users\mawilhel\AppData\Local\Temp\build-3240ed85-c2ab-4d5a-b4a2-f43de573a168\AlphaDemo.cpp.o: In function `__static_initialization_and_destruction_0':
C:/Data/UECIDE/libraries/Picadillo/examples/AlphaDemo/AlphaDemo.ino:48: undefined reference to `_binary_objects_kitten1_bmp_start'
C:/Data/UECIDE/libraries/Picadillo/examples/AlphaDemo/AlphaDemo.ino:48: undefined reference to `_binary_objects_kitten1_bmp_start'
collect2: ld returned 1 exit status
Failed linking sketch
DoubleBuffer
Compiling...
• Compiling sketch...
c:\UECIDEBETA\compilers\pic32-tools/bin/pic32-objcopy --input binary --output-target elf32-tradlittlemips --binary-architecture mips --rename-section .data=.text,alloc,load,readonly,code,share,contents objects\wall.565 C:\Users\mawilhel\AppData\Local\Temp\build-3dfbca20-c65e-4d84-8fce-edf6fb8872f8\wall.565.o
c:\UECIDEBETA\compilers\pic32-tools\bin\pic32-objcopy: option `--input' is ambiguous
Usage: c:\UECIDEBETA\compilers\pic32-tools\bin\pic32-objcopy [option(s)] in-file [out-file]
Copies a binary file, possibly transforming it in the process
The options are:
-I --input-target <bfdname> Assume input file is in format <bfdname>
-O --output-target <bfdname> Create an output file in format <bfdname>
-B --binary-architecture <arch> Set output arch, when input is arch-less
-F --target <bfdname> Set both input and output format to <bfdname>
--debugging Convert debugging information, if possible
-p --preserve-dates Copy modified/access timestamps to the output
-D --enable-deterministic-archives
Produce deterministic output when stripping archives
-j --only-section <name> Only copy section <name> into the output
--add-gnu-debuglink=<file> Add section .gnu_debuglink linking to <file>
-R --remove-section <name> Remove section <name> from the output
-S --strip-all Remove all symbol and relocation information
-g --strip-debug Remove all debugging symbols & sections
--strip-dwo Remove all DWO sections
--strip-unneeded Remove all symbols not needed by relocations
-N --strip-symbol <name> Do not copy symbol <name>
--strip-unneeded-symbol <name>
Do not copy symbol <name> unless needed by
relocations
--only-keep-debug Strip everything but the debug information
--extract-dwo Copy only DWO sections
--extract-symbol Remove section contents but keep symbols
-K --keep-symbol <name> Do not strip symbol <name>
--keep-file-symbols Do not strip file symbol(s)
--localize-hidden Turn all ELF hidden symbols into locals
-L --localize-symbol <name> Force symbol <name> to be marked as a local
--globalize-symbol <name> Force symbol <name> to be marked as a global
-G --keep-global-symbol <name> Localize all symbols except <name>
-W --weaken-symbol <name> Force symbol <name> to be marked as a weak
--weaken Force all global symbols to be marked as weak
-w --wildcard Permit wildcard in symbol comparison
-x --discard-all Remove all non-global symbols
-X --discard-locals Remove any compiler-generated symbols
-i --interleave [<number>] Only copy N out of every <number> bytes
--interleave-width <number> Set N for --interleave
-b --byte <num> Select byte <num> in every interleaved block
--gap-fill <val> Fill gaps between sections with <val>
--pad-to <addr> Pad the last section up to address <addr>
--set-start <addr> Set the start address to <addr>
{--change-start|--adjust-start} <incr>
Add <incr> to the start address
{--change-addresses|--adjust-vma} <incr>
Add <incr> to LMA, VMA and start addresses
{--change-section-address|--adjust-section-vma} <name>{=|+|-}<val>
Change LMA and VMA of section <name> by <val>
--change-section-lma <name>{=|+|-}<val>
Change the LMA of section <name> by <val>
--change-section-vma <name>{=|+|-}<val>
Change the VMA of section <name> by <val>
{--[no-]change-warnings|--[no-]adjust-warnings}
Warn if a named section does not exist
--set-section-flags <name>=<flags>
Set section <name>'s properties to <flags>
--add-section <name>=<file> Add section <name> found in <file> to output
--rename-section <old>=<new>[,<flags>] Rename section <old> to <new>
--long-section-names {enable|disable|keep}
Handle long section names in Coff objects.
--change-leading-char Force output format's leading character style
--remove-leading-char Remove leading character from global symbols
--reverse-bytes=<num> Reverse <num> bytes at a time, in output sections with content
--redefine-sym <old>=<new> Redefine symbol name <old> to <new>
--redefine-syms <file> --redefine-sym for all symbol pairs
listed in <file>
--srec-len <number> Restrict the length of generated Srecords
--srec-forceS3 Restrict the type of generated Srecords to S3
--strip-symbols <file> -N for all symbols listed in <file>
--strip-unneeded-symbols <file>
--strip-unneeded-symbol for all symbols listed
in <file>
--keep-symbols <file> -K for all symbols listed in <file>
--localize-symbols <file> -L for all symbols listed in <file>
--globalize-symbols <file> --globalize-symbol for all in <file>
--keep-global-symbols <file> -G for all symbols listed in <file>
--weaken-symbols <file> -W for all symbols listed in <file>
--alt-machine-code <index> Use the target's <index>'th alternative machine
--writable-text Mark the output text as writable
--readonly-text Make the output text write protected
--pure Mark the output file as demand paged
--impure Mark the output file as impure
--prefix-symbols <prefix> Add <prefix> to start of every symbol name
--prefix-sections <prefix> Add <prefix> to start of every section name
--prefix-alloc-sections <prefix>
Add <prefix> to start of every allocatable
section name
--file-alignment <num> Set PE file alignment to <num>
--heap <reserve>[,<commit>] Set PE reserve/commit heap to <reserve>/
<commit>
--image-base <address> Set PE image base to <address>
--section-alignment <num> Set PE section alignment to <num>
--stack <reserve>[,<commit>] Set PE reserve/commit stack to <reserve>/
<commit>
--subsystem <name>[:<version>]
Set PE subsystem to <name> [& <version>]
--compress-debug-sections Compress DWARF debug sections using zlib
--decompress-debug-sections Decompress DWARF debug sections using zlib
-v --verbose List all object files modified
@<file> Read options from <file>
-V --version Display this program's version number
-h --help Display this output
--info List object formats & architectures supported
c:\UECIDEBETA\compilers\pic32-tools\bin\pic32-objcopy: supported targets: elf32-tradlittlemips elf32-little elf32-big srec symbolsrec verilog tekhex binary ihex
c:\UECIDEBETA\compilers\pic32-tools/bin/pic32-g++ -c C:\Users\mawilhel\AppData\Local\Temp\build-3dfbca20-c65e-4d84-8fce-edf6fb8872f8\DoubleBuffer.cpp -o C:\Users\mawilhel\AppData\Local\Temp\build-3dfbca20-c65e-4d84-8fce-edf6fb8872f8\DoubleBuffer.cpp.o -mprocessor=32MX795F512L -G1024 -g -O2 -fno-exceptions -ffunction-sections -fdata-sections -mno-smart-io -mdebugger -Wcast-align -fno-short-double -DF_CPU=80000000L -DARDUINO=157 -D_BOARD_PICADILLO_35T_ -DMPIDEVER=10001932 -DMPIDE=157 -DOPT_BOARD_INTERNAL -DOPT_SYSTEM_INTERNAL -DIDE=UECIDE -Ic:\UECIDEBETA\cores\chipkit\pic32 -IC:\Data\UECIDE\libraries\Picadillo -IC:\Data\UECIDE\libraries\Liberation -IC:\Data\UECIDE\libraries\Framebuffer565 -IC:\Data\UECIDE\libraries\Raw565 -IC:\Data\UECIDE\libraries\DisplayCore -IC:\Data\UECIDE\libraries\AnalogTouch -Ic:\UECIDEBETA\boards\4DSystems\4d-picadillo-35t -IC:\Users\mawilhel\AppData\Local\Temp\build-3dfbca20-c65e-4d84-8fce-edf6fb8872f8 -IC:\Data\UECIDE\libraries\Picadillo\examples\DoubleBuffer -w
• Compiling core...
‣ api
• Compiling libraries...
‣ DisplayCore
‣ Framebuffer565
‣ Raw565
‣ AnalogTouch
‣ Picadillo
‣ Liberation
• Linking sketch...
c:\UECIDEBETA\compilers\pic32-tools/bin/pic32-g++ -Os -Wl,--gc-sections,-Map,C:\Users\mawilhel\AppData\Local\Temp\build-3dfbca20-c65e-4d84-8fce-edf6fb8872f8/DoubleBuffer.map -mdebugger -mno-peripheral-libs -nostartfiles -T c:\UECIDEBETA\cores\chipkit\pic32\chipKIT-application-32MX795F512.ld -T c:\UECIDEBETA\cores\chipkit\pic32\chipKIT-application-COMMON.ld c:\UECIDEBETA\cores\chipkit/pic32/cpp-startup.S -w -mprocessor=32MX795F512L -o C:\Users\mawilhel\AppData\Local\Temp\build-3dfbca20-c65e-4d84-8fce-edf6fb8872f8/DoubleBuffer.elf C:\Users\mawilhel\AppData\Local\Temp\build-3dfbca20-c65e-4d84-8fce-edf6fb8872f8\DoubleBuffer.cpp.o -LC:\Users\mawilhel\AppData\Local\Temp\build-3dfbca20-c65e-4d84-8fce-edf6fb8872f8 -Lc:\UECIDEBETA\cache\chipkit\4d-picadillo-35t -Wl,--start-group -lcat_DisplayCore -lcat_Framebuffer565 -lcat_Raw565 -lcat_AnalogTouch -lcat_Picadillo -lcat_Liberation -lCore_api -Wl,--end-group -lm
C:\Users\mawilhel\AppData\Local\Temp\build-3dfbca20-c65e-4d84-8fce-edf6fb8872f8\DoubleBuffer.cpp.o: In function `__static_initialization_and_destruction_0':
C:/Data/UECIDE/libraries/Picadillo/examples/DoubleBuffer/DoubleBuffer.ino:57: undefined reference to `_binary_objects_wall_565_start'
C:/Data/UECIDE/libraries/Picadillo/examples/DoubleBuffer/DoubleBuffer.ino:57: undefined reference to `_binary_objects_wall_565_start'
collect2: ld returned 1 exit status
Failed linking sketch
DualScreen
Compiling...
• Compiling sketch...
c:\UECIDEBETA\compilers\pic32-tools/bin/pic32-g++ -c C:\Users\mawilhel\AppData\Local\Temp\build-790a0673-f0e3-4643-b385-9a74a3e44088\DualScreen.cpp -o C:\Users\mawilhel\AppData\Local\Temp\build-790a0673-f0e3-4643-b385-9a74a3e44088\DualScreen.cpp.o -mprocessor=32MX795F512L -G1024 -g -O2 -fno-exceptions -ffunction-sections -fdata-sections -mno-smart-io -mdebugger -Wcast-align -fno-short-double -DF_CPU=80000000L -DARDUINO=157 -D_BOARD_PICADILLO_35T_ -DMPIDEVER=10001932 -DMPIDE=157 -DOPT_BOARD_INTERNAL -DOPT_SYSTEM_INTERNAL -DIDE=UECIDE -Ic:\UECIDEBETA\cores\chipkit\pic32 -Ic:\UECIDEBETA\libraries\Communications\chipkit\DSPI -IC:\Data\UECIDE\libraries\Picadillo -IC:\Data\UECIDE\libraries\ST7735 -IC:\Data\UECIDE\libraries\DisplayCore -IC:\Data\UECIDE\libraries\AnalogTouch -Ic:\UECIDEBETA\boards\4DSystems\4d-picadillo-35t -IC:\Users\mawilhel\AppData\Local\Temp\build-790a0673-f0e3-4643-b385-9a74a3e44088 -IC:\Data\UECIDE\libraries\Picadillo\examples\DualScreen -w
• Error at line 43 in file DualScreen.ino:
‣ 'TFTSoftSPI' does not name a type
• Error at line 44 in file DualScreen.ino:
‣ 'mySPI' was not declared in this scope
C:\Data\UECIDE\libraries\Picadillo\examples\DualScreen\DualScreen.ino: In function 'void setup()':
• Error at line 53 in file DualScreen.ino:
‣ 'Topaz' is not a member of 'Fonts'
• Error at line 54 in file DualScreen.ino:
‣ 'Topaz' is not a member of 'Fonts'
• Error at line 57 in file DualScreen.ino:
‣ 'class Picadillo' has no member named 'setBackloght'
Failed compiling sketch
Filters
Compiling...
• Compiling sketch...
c:\UECIDEBETA\compilers\pic32-tools/bin/pic32-objcopy --input binary --output-target elf32-tradlittlemips --binary-architecture mips --rename-section .data=.text,alloc,load,readonly,code,share,contents objects\basil.565 C:\Users\mawilhel\AppData\Local\Temp\build-af2f6037-aa2b-49d7-a98d-e63532412af3\basil.565.o
c:\UECIDEBETA\compilers\pic32-tools\bin\pic32-objcopy: option `--input' is ambiguous
Usage: c:\UECIDEBETA\compilers\pic32-tools\bin\pic32-objcopy [option(s)] in-file [out-file]
Copies a binary file, possibly transforming it in the process
The options are:
-I --input-target <bfdname> Assume input file is in format <bfdname>
-O --output-target <bfdname> Create an output file in format <bfdname>
-B --binary-architecture <arch> Set output arch, when input is arch-less
-F --target <bfdname> Set both input and output format to <bfdname>
--debugging Convert debugging information, if possible
-p --preserve-dates Copy modified/access timestamps to the output
-D --enable-deterministic-archives
Produce deterministic output when stripping archives
-j --only-section <name> Only copy section <name> into the output
--add-gnu-debuglink=<file> Add section .gnu_debuglink linking to <file>
-R --remove-section <name> Remove section <name> from the output
-S --strip-all Remove all symbol and relocation information
-g --strip-debug Remove all debugging symbols & sections
--strip-dwo Remove all DWO sections
--strip-unneeded Remove all symbols not needed by relocations
-N --strip-symbol <name> Do not copy symbol <name>
--strip-unneeded-symbol <name>
Do not copy symbol <name> unless needed by
relocations
--only-keep-debug Strip everything but the debug information
--extract-dwo Copy only DWO sections
--extract-symbol Remove section contents but keep symbols
-K --keep-symbol <name> Do not strip symbol <name>
--keep-file-symbols Do not strip file symbol(s)
--localize-hidden Turn all ELF hidden symbols into locals
-L --localize-symbol <name> Force symbol <name> to be marked as a local
--globalize-symbol <name> Force symbol <name> to be marked as a global
-G --keep-global-symbol <name> Localize all symbols except <name>
-W --weaken-symbol <name> Force symbol <name> to be marked as a weak
--weaken Force all global symbols to be marked as weak
-w --wildcard Permit wildcard in symbol comparison
-x --discard-all Remove all non-global symbols
-X --discard-locals Remove any compiler-generated symbols
-i --interleave [<number>] Only copy N out of every <number> bytes
--interleave-width <number> Set N for --interleave
-b --byte <num> Select byte <num> in every interleaved block
--gap-fill <val> Fill gaps between sections with <val>
--pad-to <addr> Pad the last section up to address <addr>
--set-start <addr> Set the start address to <addr>
{--change-start|--adjust-start} <incr>
Add <incr> to the start address
{--change-addresses|--adjust-vma} <incr>
Add <incr> to LMA, VMA and start addresses
{--change-section-address|--adjust-section-vma} <name>{=|+|-}<val>
Change LMA and VMA of section <name> by <val>
--change-section-lma <name>{=|+|-}<val>
Change the LMA of section <name> by <val>
--change-section-vma <name>{=|+|-}<val>
Change the VMA of section <name> by <val>
{--[no-]change-warnings|--[no-]adjust-warnings}
Warn if a named section does not exist
--set-section-flags <name>=<flags>
Set section <name>'s properties to <flags>
--add-section <name>=<file> Add section <name> found in <file> to output
--rename-section <old>=<new>[,<flags>] Rename section <old> to <new>
--long-section-names {enable|disable|keep}
Handle long section names in Coff objects.
--change-leading-char Force output format's leading character style
--remove-leading-char Remove leading character from global symbols
--reverse-bytes=<num> Reverse <num> bytes at a time, in output sections with content
--redefine-sym <old>=<new> Redefine symbol name <old> to <new>
--redefine-syms <file> --redefine-sym for all symbol pairs
listed in <file>
--srec-len <number> Restrict the length of generated Srecords
--srec-forceS3 Restrict the type of generated Srecords to S3
--strip-symbols <file> -N for all symbols listed in <file>
--strip-unneeded-symbols <file>
--strip-unneeded-symbol for all symbols listed
in <file>
--keep-symbols <file> -K for all symbols listed in <file>
--localize-symbols <file> -L for all symbols listed in <file>
--globalize-symbols <file> --globalize-symbol for all in <file>
--keep-global-symbols <file> -G for all symbols listed in <file>
--weaken-symbols <file> -W for all symbols listed in <file>
--alt-machine-code <index> Use the target's <index>'th alternative machine
--writable-text Mark the output text as writable
--readonly-text Make the output text write protected
--pure Mark the output file as demand paged
--impure Mark the output file as impure
--prefix-symbols <prefix> Add <prefix> to start of every symbol name
--prefix-sections <prefix> Add <prefix> to start of every section name
--prefix-alloc-sections <prefix>
Add <prefix> to start of every allocatable
section name
--file-alignment <num> Set PE file alignment to <num>
--heap <reserve>[,<commit>] Set PE reserve/commit heap to <reserve>/
<commit>
--image-base <address> Set PE image base to <address>
--section-alignment <num> Set PE section alignment to <num>
--stack <reserve>[,<commit>] Set PE reserve/commit stack to <reserve>/
<commit>
--subsystem <name>[:<version>]
Set PE subsystem to <name> [& <version>]
--compress-debug-sections Compress DWARF debug sections using zlib
--decompress-debug-sections Decompress DWARF debug sections using zlib
-v --verbose List all object files modified
@<file> Read options from <file>
-V --version Display this program's version number
-h --help Display this output
--info List object formats & architectures supported
c:\UECIDEBETA\compilers\pic32-tools\bin\pic32-objcopy: supported targets: elf32-tradlittlemips elf32-little elf32-big srec symbolsrec verilog tekhex binary ihex
c:\UECIDEBETA\compilers\pic32-tools/bin/pic32-g++ -c C:\Users\mawilhel\AppData\Local\Temp\build-af2f6037-aa2b-49d7-a98d-e63532412af3\Filters.cpp -o C:\Users\mawilhel\AppData\Local\Temp\build-af2f6037-aa2b-49d7-a98d-e63532412af3\Filters.cpp.o -mprocessor=32MX795F512L -G1024 -g -O2 -fno-exceptions -ffunction-sections -fdata-sections -mno-smart-io -mdebugger -Wcast-align -fno-short-double -DF_CPU=80000000L -DARDUINO=157 -D_BOARD_PICADILLO_35T_ -DMPIDEVER=10001932 -DMPIDE=157 -DOPT_BOARD_INTERNAL -DOPT_SYSTEM_INTERNAL -DIDE=UECIDE -Ic:\UECIDEBETA\cores\chipkit\pic32 -IC:\Data\UECIDE\libraries\Picadillo -IC:\Data\UECIDE\libraries\Filters -IC:\Data\UECIDE\libraries\Raw565 -Ic:\UECIDEBETA\libraries\DisplayCore\Arial -IC:\Data\UECIDE\libraries\DisplayCore -IC:\Data\UECIDE\libraries\AnalogTouch -Ic:\UECIDEBETA\boards\4DSystems\4d-picadillo-35t -IC:\Users\mawilhel\AppData\Local\Temp\build-af2f6037-aa2b-49d7-a98d-e63532412af3 -IC:\Data\UECIDE\libraries\Picadillo\examples\Filters -w
• Compiling core...
‣ api
• Compiling libraries...
‣ DisplayCore
‣ Filters
‣ Raw565
‣ AnalogTouch
‣ Arial
‣ Picadillo
• Linking sketch...
c:\UECIDEBETA\compilers\pic32-tools/bin/pic32-g++ -Os -Wl,--gc-sections,-Map,C:\Users\mawilhel\AppData\Local\Temp\build-af2f6037-aa2b-49d7-a98d-e63532412af3/Filters.map -mdebugger -mno-peripheral-libs -nostartfiles -T c:\UECIDEBETA\cores\chipkit\pic32\chipKIT-application-32MX795F512.ld -T c:\UECIDEBETA\cores\chipkit\pic32\chipKIT-application-COMMON.ld c:\UECIDEBETA\cores\chipkit/pic32/cpp-startup.S -w -mprocessor=32MX795F512L -o C:\Users\mawilhel\AppData\Local\Temp\build-af2f6037-aa2b-49d7-a98d-e63532412af3/Filters.elf C:\Users\mawilhel\AppData\Local\Temp\build-af2f6037-aa2b-49d7-a98d-e63532412af3\Filters.cpp.o -LC:\Users\mawilhel\AppData\Local\Temp\build-af2f6037-aa2b-49d7-a98d-e63532412af3 -Lc:\UECIDEBETA\cache\chipkit\4d-picadillo-35t -Wl,--start-group -lcat_DisplayCore -lcat_Filters -lcat_Raw565 -lcat_AnalogTouch -lrepo_Arial -lcat_Picadillo -lCore_api -Wl,--end-group -lm
C:\Users\mawilhel\AppData\Local\Temp\build-af2f6037-aa2b-49d7-a98d-e63532412af3\Filters.cpp.o: In function `__static_initialization_and_destruction_0':
C:/Data/UECIDE/libraries/Picadillo/examples/Filters/Filters.ino:51: undefined reference to `_binary_objects_basil_565_start'
C:/Data/UECIDE/libraries/Picadillo/examples/Filters/Filters.ino:51: undefined reference to `_binary_objects_basil_565_start'
collect2: ld returned 1 exit status
Failed linking sketch
SlideShow
Compiling...
• Compiling sketch...
c:\UECIDEBETA\compilers\pic32-tools/bin/pic32-g++ -c C:\Users\mawilhel\AppData\Local\Temp\build-0407e197-77d6-4585-afdf-2f82507b93c6\Slideshow.cpp -o C:\Users\mawilhel\AppData\Local\Temp\build-0407e197-77d6-4585-afdf-2f82507b93c6\Slideshow.cpp.o -mprocessor=32MX795F512L -G1024 -g -O2 -fno-exceptions -ffunction-sections -fdata-sections -mno-smart-io -mdebugger -Wcast-align -fno-short-double -DF_CPU=80000000L -DARDUINO=157 -D_BOARD_PICADILLO_35T_ -DMPIDEVER=10001932 -DMPIDE=157 -DOPT_BOARD_INTERNAL -DOPT_SYSTEM_INTERNAL -DIDE=UECIDE -Ic:\UECIDEBETA\cores\chipkit\pic32 -Ic:\UECIDEBETA\libraries\Communications\chipkit\DSPI -IC:\Data\UECIDE\libraries\Picadillo -Ic:\UECIDEBETA\libraries\Storage\chipkit\SD -IC:\Data\UECIDE\libraries\BMPFile -IC:\Data\UECIDE\libraries\Topaz -IC:\Data\UECIDE\libraries\DisplayCore -IC:\Data\UECIDE\libraries\AnalogTouch -Ic:\UECIDEBETA\boards\4DSystems\4d-picadillo-35t -IC:\Users\mawilhel\AppData\Local\Temp\build-0407e197-77d6-4585-afdf-2f82507b93c6 -IC:\Data\UECIDE\libraries\Picadillo\examples\Slideshow -w
C:\Data\UECIDE\libraries\Picadillo\examples\Slideshow\Slideshow.ino: In function 'void loop()':
• Error at line 66 in file Slideshow.ino:
‣ 'class File' has no member named 'readDir'
Failed compiling sketch
SlideShow565 (same error as SlideShow)
These error are probably easy to fix, but not for me so far. Any hint is welcome I am using UECIDE Beta 22 and the latest DisplayCore from Github
Ciao, Mathias
Wed, 09 Dec 2015 08:20:18 +0000
Salut,
may I kindly ask if someone is able to help at least with the SD card read problem:
C:\Data\UECIDE\libraries\Picadillo\examples\Slideshow\Slideshow.ino: In function 'void loop()':
• Error at line 66 in file Slideshow.ino:
‣ 'class File' has no member named 'readDir'
Failed compiling sketch
I looked through the library but cannot spot the error.
Reading the SD card using the SD card example cardinfo.ino and changing to CS=48 works
Ciao, Mathias
Wed, 09 Dec 2015 10:10:50 +0000
The problem here is that there are two SD libraries. Originally I took the existing SD library and made it better by adding hardware SPI support. That version became the default version in UECIDE.
Then when I made the beta version with the apt packaging the normal chipKIT library became the default and the improved one became optional. It's in the plugin manager, but installing it may not be easy due to unforseen bugs.
I wrote the Picadillo demos back when the improved SD was the default and they rely on features not found in the stock one. Maybe I should go back to having the improved one as default again...
As for the other errors, that could be a change in the compiler that has caused that, I will have to look into it.
Sent from my SM-T555 using Tapatalk
Wed, 09 Dec 2015 16:11:00 +0000
Salut Matt,
I loaded the library Storage->SD and MMC Cards->Replacement for the chipKIT SD library via the PluginManager and the Slideshow demo works!
Now to the other errors ;)
Ciao, Mathias
Wed, 09 Dec 2015 16:56:59 +0000
Actually I am thinking the other errors may be specific to Windows. It says "--input" is ambiguous - and yet it works perfectly on Linux, and there are no other options starting with --input, so it's not ambiguous. Only on Windows it thinks it is. I'll just boot my Windows VM and see what it says on there...
Yep, on Windows it definitely thinks that --input is ambiguous.
Easy to fix though - just change it from --input to --input-target
It's a big upload to fix it, since it is the entire compiler, and I'm on a beta test version here at the moment, so I won't upload the fix. Instead you can go in and fix it yourself - find compilers\pic32-tools\compiler.txt and find the "compile.bin=" line and change "::--input::" to "::--input-target::" - that should fix it.
Wed, 09 Dec 2015 18:18:57 +0000
Salut Matt,
no rush - workaround works here
Thanks, Mathias
Wed, 09 Dec 2015 21:54:20 +0000
Good to know. One of the unique features of UECIDE - linking of binary objects :)
Sent from my SM-T555 using Tapatalk