Closed classicrocker883 closed 1 year ago
do i understand correctly that you've (at first) tried compiling under windows? if thats the case, that'll not work since the makefile uses linux commands internally. You have to use linux (or WSL).
as for the part with removing -Wl,--no-warn-rwx-segment
, are you sure you've installed the latest gcc toolchain for arm-none-eabi?
could you run arm-none-eabi-gcc --version
and arm-none-eabi-g++ --version
and post here?
/usr/lib/gcc/arm-none-eabi/10.3.1/../../../arm-none-eabi/bin/ld: unrecognized option '--no-warn-rwx-segment'
arm-none-eabi-gcc (15:10.3-2021.07-4) 10.3.1 20210621 (release) arm-none-eabi-g++ (15:10.3-2021.07-4) 10.3.1 20210621 (release)
removing -Wl,--no-warn-rwx-segment
gives me a successful compile
I am having issue with BLTOUCH
enabled. it gives me an error of undefined reference to libServo::***
with different functions of the libServo class in Servo.h and Servo.cpp in HAL/STM32F1
I guess this was the issue with Alex's in the first beta, so maybe going back to his source code we can find some solutions.
this issue -Wl,--no-warn-rwx-segment remains, i have to remove it from the .mk file
arm-none-eabi-gcc (15:10.3-2021.07-4) 10.3.1 20210621 (release) arm-none-eabi-g++ (15:10.3-2021.07-4) 10.3.1 20210621 (release)
you're using a fairly old version of the arm-none-eabi toolchain. please take a look at https://github.com/shadow578/Marlin-H32/blob/aquila/.toolchain/README.md for instructions to set up a more recent one
BLTouch is currently not working, as also described in #15 .
I thought that there was a newer version! I've been trying to update automatically it without having to do all the manual BS, the voxelab official had the v10.xx linked and I just went with that. if I search Google for arm-none-eabi-g++ the v10 is one of the first choices, I wonder why it doesn't link to the newer version.
i am still receiving the -Wl,--no-warn-rwx-segment \
what I had to do to get the v12.2 of arm-none-eabi-g was add
deb http://archive.ubuntu.com/ubuntu lunar main universe
deb http://archive.ubuntu.com/ubuntu lunar-updates main universe
to the /etc/apt/sources.list** because im still on ubuntu LTS 22.04
i do not know how to install the tar.xz file by manually downloading it, i tried following the directions, there is no ./configure or make file. so do i just unzip it and put it wherever and just echo a path to it? anyway i was able to do it the automatic update way which is way preferred.
still getting that unrecognized option
Linking Firmware /usr/lib/gcc/arm-none-eabi/12.2.1/../../../arm-none-eabi/bin/ld: unrecognized option '--no-warn-rwx-segment' /usr/lib/gcc/arm-none-eabi/12.2.1/../../../arm-none-eabi/bin/ld: use the --help option for usage information collect2: error: ld returned 1 exit status make: *** [H32.mk:175: /home/andrew/Marlin-H32-3/Marlin/build/firmware. Elf] Error 1
after running
make -f H32.mk all
H32.mk:121: *** target pattern contains no `%'. Stop.
used VSCode in windows
after using the WSL remote connection (in Windows)
the make code almost finished but left me with this error
collect2: error: ld returned 1 exit status make: *** [H32.mk:175: /home/andrew/Marlin-H32/Marlin/build/firmware. Elf] Error 1
update: removing
-Wl,--no-warn-rwx-segment \
from the H32.mk file left me with a successful compile and a firmware.bin file in build/however, it still won't compile in normal VS code, without WSL remote connection.