Open Aerospacesky opened 1 year ago
@Aerospacesky This is an error in Tronxys own script, but it's not needed (I have not fully tested it yet, but it seems to work without as my tronxy still prints) How to bypass the error:
ini\stm32f4.ini
delete buildroot/share/PlatformIO/scripts/tronxy_scrypt.py
in line 659.pio\build\tronxy_stm32f446\firmware.bin
and paste it into the update
folderfirmware.bin
to fmw_tronxy.bin
If you still get this error, try to remove the same script on line 476 inini\stm32f1.ini
@Aerospacesky This is an error in Tronxys own script, but it's not needed (I have not fully tested it yet, but it seems to work without as my tronxy still prints) How to bypass the error:
- in
ini\stm32f4.ini
deletebuildroot/share/PlatformIO/scripts/tronxy_scrypt.py
in line 659- compile (should work now)
- copy the file
.pio\build\tronxy_stm32f446\firmware.bin
and paste it into theupdate
folder- rename
firmware.bin
tofmw_tronxy.bin
- copy the folder to your SD Card and boot your printer when the card is inserted
If you still get this error, try to remove the same script on line 476 in
ini\stm32f1.ini
THIS ABSOLUTLY WORKED! Thanks a lot for share this solution
@Aerospacesky This is an error in Tronxys own script, but it's not needed (I have not fully tested it yet, but it seems to work without as my tronxy still prints) How to bypass the error:
- in
ini\stm32f4.ini
deletebuildroot/share/PlatformIO/scripts/tronxy_scrypt.py
in line 659- compile (should work now)
- copy the file
.pio\build\tronxy_stm32f446\firmware.bin
and paste it into theupdate
folder- rename
firmware.bin
tofmw_tronxy.bin
- copy the folder to your SD Card and boot your printer when the card is inserted
If you still get this error, try to remove the same script on line 476 in
ini\stm32f1.ini
Tried this today on a new VEHO F446 board. I had no issues compiling the firmware but when I copy it to the update directory and rename it, it freezes at BURN:LOG_TRONXY.YPC.
You need to define your project printer in /Marlin/TronxyMachine.h
You need to define your project printer in /Marlin/TronxyMachine.h
I did that. Defined the machine as VEHO 800 2E. Everything is shaded except for the correct machine.
After compiling with Platformio the F4xx-SIM480x320, the final result is this below. I do not know how solve this issue. Can you help me please?
Usage: arm-none-eabi-objcopy [option(s)] in-file [out-file] Copies a binary file, possibly transforming it in the process The options are: -I --input-target Assume input file is in format
-O --output-target Create an output file in format
-B --binary-architecture Set output arch, when input is arch-less
-F --target Set both input and output format to
--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
-U --disable-deterministic-archives
Disable -D behavior (default)
-j --only-section Only copy section into the output
--add-gnu-debuglink= Add section .gnu_debuglink linking to
-R --remove-section Remove section from the output
--remove-relocations Remove relocations from section
-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 Do not copy symbol
--strip-unneeded-symbol
Do not copy symbol 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 Do not strip symbol
--keep-file-symbols Do not strip file symbol(s)
--localize-hidden Turn all ELF hidden symbols into locals
-L --localize-symbol Force symbol to be marked as a local
--globalize-symbol Force symbol to be marked as a global
-G --keep-global-symbol Localize all symbols except
-W --weaken-symbol Force symbol 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[=] Only copy N out of every bytes
--interleave-width Set N for --interleave
-b --byte Select byte in every interleaved block
--gap-fill Fill gaps between sections with
--pad-to Pad the last section up to address
--set-start Set the start address to
{--change-start|--adjust-start}
Add to the start address
{--change-addresses|--adjust-vma}
Add to LMA, VMA and start addresses
{--change-section-address|--adjust-section-vma} {=|+|-}
Change LMA and VMA of section by
--change-section-lma {=|+|-}
Change the LMA of section by
--change-section-vma {=|+|-}
Change the VMA of section by
{--[no-]change-warnings|--[no-]adjust-warnings}
Warn if a named section does not exist
--set-section-flags =
Set section 's properties to
--set-section-alignment =
Set section 's alignment to bytes
--add-section = Add section found in to output
--update-section =
Update contents of section with
contents found in
--dump-section = Dump the contents of section into
--rename-section =[,] Rename section to
--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= Reverse bytes at a time, in output sections with content
--redefine-sym = Redefine symbol name to
--redefine-syms --redefine-sym for all symbol pairs
listed in
--srec-len Restrict the length of generated Srecords
--srec-forceS3 Restrict the type of generated Srecords to S3
--strip-symbols -N for all symbols listed in
--strip-unneeded-symbols
--strip-unneeded-symbol for all symbols listed
in
--keep-symbols -K for all symbols listed in
--localize-symbols -L for all symbols listed in
--globalize-symbols --globalize-symbol for all in
--keep-global-symbols -G for all symbols listed in
--weaken-symbols -W for all symbols listed in
--add-symbol =[:][,] Add a symbol
--alt-machine-code Use the target's '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 Add to start of every symbol name
--prefix-sections Add to start of every section name
--prefix-alloc-sections
Add to start of every allocatable
section name
--file-alignment Set PE file alignment to
--heap [,] Set PE reserve/commit heap to /