'/RepRapFirmware-RADDS.elf': No such file
-
Hello I am trying to compile RRF because I need to swap the 3rd heater pin and the heated bed pin as my heated bed mosfet on radds died. I made the change in the pins.h file but I am having trouble getting the final firmware file. Everything compiles but the last command is…
[[language]] arm-none-eabi-gcc "-LC:\\Eclipse\\Firmware\\CoreNG\\RADDS" -Os -Wl,--gc-sections -Wl,--fatal-warnings -mcpu=cortex-m3 "-TC:\\Eclipse\\Firmware\\CoreNG\\variants\\RADDS\\linker_scripts\\gcc\\flash.ld" -Wl,-Map,/RepRapFirmware-RADDS.map -o RepRapFirmware-RADDS.elf -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -Wl,--start-group "C:\\Eclipse\\Firmware\\CoreNG\\RADDS\\cores\\arduino\\syscalls.o" "src\\Fan.o" "src\\FilamentSensors\\Duet3DFilamentSensor.o" "src\\FilamentSensors\\FilamentSensor.o" "src\\FilamentSensors\\SimpleFilamentSensor.o" "src\\GCodes\\GCodeBuffer.o" "src\\GCodes\\GCodeInput.o" "src\\GCodes\\GCodeMachineState.o" "src\\GCodes\\GCodeQueue.o" "src\\GCodes\\GCodes.o" "src\\GCodes\\GCodes2.o" "src\\GCodes\\RestorePoint.o" "src\\Heating\\FOPDT.o" "src\\Heating\\Heat.o" "src\\Heating\\Pid.o" "src\\Heating\\Sensors\\CpuTemperatureSensor.o" "src\\Heating\\Sensors\\CurrentLoopTemperatureSensor.o" "src\\Heating\\Sensors\\RtdSensor31865.o" "src\\Heating\\Sensors\\SpiTemperatureSensor.o" "src\\Heating\\Sensors\\TemperatureSensor.o" "src\\Heating\\Sensors\\Thermistor.o" "src\\Heating\\Sensors\\ThermocoupleSensor31855.o" "src\\Heating\\Sensors\\ThermocoupleSensor31856.o" "src\\Heating\\Sensors\\TmcDriverTemperatureSensor.o" "src\\Heating\\TemperatureError.o" "src\\Libraries\\Fatfs\\ccsbcs.o" "src\\Libraries\\Fatfs\\diskio.o" "src\\Libraries\\Fatfs\\fattime_rtc.o" "src\\Libraries\\Fatfs\\ff.o" "src\\Libraries\\General\\StringRef.o" "src\\Libraries\\Math\\Isqrt.o" "src\\Libraries\\sha1\\sha1.o" "src\\Movement\\BedProbing\\Grid.o" "src\\Movement\\BedProbing\\RandomProbePointSet.o" "src\\Movement\\DDA.o" "src\\Movement\\DriveMovement.o" "src\\Movement\\Kinematics\\CartesianKinematics.o" "src\\Movement\\Kinematics\\CoreBaseKinematics.o" "src\\Movement\\Kinematics\\CoreXYKinematics.o" "src\\Movement\\Kinematics\\CoreXYUKinematics.o" "src\\Movement\\Kinematics\\CoreXZKinematics.o" "src\\Movement\\Kinematics\\Kinematics.o" "src\\Movement\\Kinematics\\LinearDeltaKinematics.o" "src\\Movement\\Kinematics\\ScaraKinematics.o" "src\\Movement\\Kinematics\\ZLeadscrewKinematics.o" "src\\Movement\\Move.o" "src\\OutputMemory.o" "src\\Platform.o" "src\\PortControl.o" "src\\PrintMonitor.o" "src\\RADDS\\Network.o" "src\\RepRap.o" "src\\RepRapFirmware.o" "src\\Roland.o" "src\\Scanner.o" "src\\SoftTimer.o" "src\\Storage\\CRC32.o" "src\\Storage\\FileStore.o" "src\\Storage\\MassStorage.o" "src\\Tools\\Filament.o" "src\\Tools\\Tool.o" "src\\ZProbeProgrammer.o" -lCoreNG -Wl,--end-group -lm -gcc arm-none-eabi-objcopy -O binary /RepRapFirmware-RADDS.elf /RepRapFirmware-RADDS.bin arm-none-eabi-objcopy: '/RepRapFirmware-RADDS.elf': No such file
I do get a .elf file but im not sure how to get the actual firmware .bin file. I've tried changing the extension to .bin instead of .elf but the file is double the size of the latest 1.19 RRF binary. What do I do? Thanks!
-
Also, even tho it seems to compile, I get these errors…
[[language]] Description Resource Path Location Type Function 'ARRAY_SIZE' could not be resolved Pins_RADDS.h /RepRapFirmware/src/RADDS line 158 Semantic Error Symbol 'NoPin' could not be resolved Pins_RADDS.h /RepRapFirmware/src/RADDS line 70 Semantic Error Symbol 'NoPin' could not be resolved Pins_RADDS.h /RepRapFirmware/src/RADDS line 70 Semantic Error Symbol 'NoPin' could not be resolved Pins_RADDS.h /RepRapFirmware/src/RADDS line 70 Semantic Error Symbol 'NoPin' could not be resolved Pins_RADDS.h /RepRapFirmware/src/RADDS line 70 Semantic Error Symbol 'NoPin' could not be resolved Pins_RADDS.h /RepRapFirmware/src/RADDS line 129 Semantic Error Symbol 'NoPin' could not be resolved Pins_RADDS.h /RepRapFirmware/src/RADDS line 129 Semantic Error Type 'Pin' could not be resolved Pins_RADDS.h /RepRapFirmware/src/RADDS line 52 Semantic Error Type 'Pin' could not be resolved Pins_RADDS.h /RepRapFirmware/src/RADDS line 54 Semantic Error Type 'Pin' could not be resolved Pins_RADDS.h /RepRapFirmware/src/RADDS line 55 Semantic Error Type 'Pin' could not be resolved Pins_RADDS.h /RepRapFirmware/src/RADDS line 70 Semantic Error Type 'Pin' could not be resolved Pins_RADDS.h /RepRapFirmware/src/RADDS line 79 Semantic Error Type 'Pin' could not be resolved Pins_RADDS.h /RepRapFirmware/src/RADDS line 86 Semantic Error Type 'Pin' could not be resolved Pins_RADDS.h /RepRapFirmware/src/RADDS line 102 Semantic Error Type 'Pin' could not be resolved Pins_RADDS.h /RepRapFirmware/src/RADDS line 105 Semantic Error Type 'Pin' could not be resolved Pins_RADDS.h /RepRapFirmware/src/RADDS line 110 Semantic Error Type 'Pin' could not be resolved Pins_RADDS.h /RepRapFirmware/src/RADDS line 114 Semantic Error Type 'Pin' could not be resolved Pins_RADDS.h /RepRapFirmware/src/RADDS line 118 Semantic Error Type 'Pin' could not be resolved Pins_RADDS.h /RepRapFirmware/src/RADDS line 124 Semantic Error Type 'Pin' could not be resolved Pins_RADDS.h /RepRapFirmware/src/RADDS line 128 Semantic Error Type 'Pin' could not be resolved Pins_RADDS.h /RepRapFirmware/src/RADDS line 129 Semantic Error Type 'Pin' could not be resolved Pins_RADDS.h /RepRapFirmware/src/RADDS line 130 Semantic Error Type 'Pin' could not be resolved Pins_RADDS.h /RepRapFirmware/src/RADDS line 151 Semantic Error Type 'size_t' could not be resolved Pins_RADDS.h /RepRapFirmware/src/RADDS line 6 Semantic Error Type 'size_t' could not be resolved Pins_RADDS.h /RepRapFirmware/src/RADDS line 21 Semantic Error Type 'size_t' could not be resolved Pins_RADDS.h /RepRapFirmware/src/RADDS line 29 Semantic Error Type 'size_t' could not be resolved Pins_RADDS.h /RepRapFirmware/src/RADDS line 35 Semantic Error Type 'size_t' could not be resolved Pins_RADDS.h /RepRapFirmware/src/RADDS line 36 Semantic Error Type 'size_t' could not be resolved Pins_RADDS.h /RepRapFirmware/src/RADDS line 40 Semantic Error Type 'size_t' could not be resolved Pins_RADDS.h /RepRapFirmware/src/RADDS line 41 Semantic Error Type 'size_t' could not be resolved Pins_RADDS.h /RepRapFirmware/src/RADDS line 42 Semantic Error Type 'size_t' could not be resolved Pins_RADDS.h /RepRapFirmware/src/RADDS line 44 Semantic Error Type 'size_t' could not be resolved Pins_RADDS.h /RepRapFirmware/src/RADDS line 99 Semantic Error Type 'size_t' could not be resolved Pins_RADDS.h /RepRapFirmware/src/RADDS line 117 Semantic Error Type 'size_t' could not be resolved Pins_RADDS.h /RepRapFirmware/src/RADDS line 127 Semantic Error Type 'uint32_t' could not be resolved Pins_RADDS.h /RepRapFirmware/src/RADDS line 161 Semantic Error Type 'uint32_t' could not be resolved Pins_RADDS.h /RepRapFirmware/src/RADDS line 162 Semantic Error
-
I updated the .cproject file recently to change the name of the generated file to RepRapFirmware-RADDS for the RADDS build instead of just RepRapFirmware. It looks like you haven't picked up that change.
Eclipse often gives a heap of semantic errors, usually when you have just changed the active build configuration. They usually go away when you compile or re-index.