Hi
I am trying to build RRF 3.4-dev on a MAC M1.
I have managed to build CANlib, CoreN2G, FreeRTOS and RRFLibraries with no issues but when it comes to RepRapFirmware it seems to have issues - attaching partial console log below
Building file: ../src/Libraries/Fatfs/ff.c
Invoking: Cross GCC Compiler
arm-none-eabi-gcc -std=gnu99 -D__SAME70Q20B__ -DRTOS -DDUET3_MB6HC -DUSE_CAN0 -Dnoexcept= -I"/Users/minibp/Reprap3 original/CoreN2G-3.4-dev" -I"/Users/minibp/Reprap3 original/CoreN2G-3.4-dev/src" -I"/Users/minibp/Reprap3 original/CoreN2G-3.4-dev/src/SAM4S_4E_E70" -I"/Users/minibp/Reprap3 original/CoreN2G-3.4-dev/src/SAM4S_4E_E70/asf" -I"/Users/minibp/Reprap3 original/CoreN2G-3.4-dev/src/SAM4S_4E_E70/asf/sam/drivers" -I"/Users/minibp/Reprap3 original/CoreN2G-3.4-dev/src/SAM4S_4E_E70/asf/sam/utils" -I"/Users/minibp/Reprap3 original/CoreN2G-3.4-dev/src/SAM4S_4E_E70/asf/common/utils" -I"/Users/minibp/Reprap3 original/CoreN2G-3.4-dev/src/SAM4S_4E_E70/asf/sam/utils/preprocessor" -I"/Users/minibp/Reprap3 original/CoreN2G-3.4-dev/src/SAM4S_4E_E70/asf/sam/utils/header_files" -I"/Users/minibp/Reprap3 original/CoreN2G-3.4-dev/src/SAM4S_4E_E70/asf/sam/utils/cmsis/same70/include" -I"/Users/minibp/Reprap3 original/CoreN2G-3.4-dev/src/arm/CMSIS/5.4.0/CMSIS/Core/Include" -I"/Users/minibp/Reprap3 original/CoreN2G-3.4-dev/src/SAM4S_4E_E70/SAME70" -I"/Users/minibp/Reprap3 original/RepRapFirmware-3.4-dev/src/Networking/LwipEthernet/Lwip" -I"/Users/minibp/Reprap3 original/RepRapFirmware-3.4-dev/src/Networking/LwipEthernet/Lwip/src/include" -I"/Users/minibp/Reprap3 original/RRFLibraries-3.4-dev/src" -O2 -Wall -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard -mfp16-format=ieee -mno-unaligned-access -ffunction-sections -fdata-sections -nostdlib -Wundef -Wdouble-promotion -Werror=return-type -Werror=implicit -fsingle-precision-constant "-Wa,-ahl=ff.s" -MMD -MP -MF"src/Libraries/Fatfs/ff.d" -MT"src/Libraries/Fatfs/ff.o" -o "src/Libraries/Fatfs/ff.o" "../src/Libraries/Fatfs/ff.c"
../src/Networking/ESP8266WiFi/WiFiInterface.cpp: In member function 'virtual void WiFiInterface::Spin()':
../src/Networking/ESP8266WiFi/WiFiInterface.cpp:676:25: error: 'MinimumStatusResponseLength' was not declared in this scope
676 | if (rc >= (int32_t)MinimumStatusResponseLength)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/Networking/ESP8266WiFi/WiFiInterface.cpp: In member function 'virtual void WiFiInterface::Diagnostics(MessageType)':
../src/Networking/ESP8266WiFi/WiFiInterface.cpp:936:91: error: 'MinimumStatusResponseLength' was not declared in this scope
936 | if (SendCommand(NetworkCommand::networkGetStatus, 0, 0, nullptr, 0, status) >= (int32_t)MinimumStatusResponseLength)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/Networking/ESP8266WiFi/WiFiInterface.cpp: In member function 'void WiFiInterface::StartWiFi()':
../src/Networking/ESP8266WiFi/WiFiInterface.cpp:2045:27: error: 'WiFiBaudRate_ESP32' was not declared in this scope; did you mean 'WiFiBaudRate'?
2045 | SERIAL_WIFI_DEVICE.begin(WiFiBaudRate_ESP32); // initialise the UART, to receive debug info
| ^~~~~~~~~~~~~~~~~~
| WiFiBaudRate
Finished building: ../src/Movement/RawMove.cpp
Finished building: ../src/Movement/MoveSegment.cpp
Building file: ../src/Libraries/Fatfs/ffunicode.c
make[1]: *** [src/Networking/ESP8266WiFi/WiFiInterface.o] Error 1
Building file: ../src/InputMonitors/InputMonitor.cpp
Invoking: Cross GCC Compiler
make[1]: *** Waiting for unfinished jobs....
arm-none-eabi-gcc -std=gnu99 -D__SAME70Q20B__ -DRTOS -DDUET3_MB6HC -DUSE_CAN0 -Dnoexcept= -I"/Users/minibp/Reprap3 original/CoreN2G-3.4-dev" -I"/Users/minibp/Reprap3 original/CoreN2G-3.4-dev/src" -I"/Users/minibp/Reprap3 original/CoreN2G-3.4-dev/src/SAM4S_4E_E70" -I"/Users/minibp/Reprap3 original/CoreN2G-3.4-dev/src/SAM4S_4E_E70/asf" -I"/Users/minibp/Reprap3 original/CoreN2G-3.4-dev/src/SAM4S_4E_E70/asf/sam/drivers" -I"/Users/minibp/Reprap3 original/CoreN2G-3.4-dev/src/SAM4S_4E_E70/asf/sam/utils" -I"/Users/minibp/Reprap3 original/CoreN2G-3.4-dev/src/SAM4S_4E_E70/asf/common/utils" -I"/Users/minibp/Reprap3 original/CoreN2G-3.4-dev/src/SAM4S_4E_E70/asf/sam/utils/preprocessor" -I"/Users/minibp/Reprap3 original/CoreN2G-3.4-dev/src/SAM4S_4E_E70/asf/sam/utils/header_files" -I"/Users/minibp/Reprap3 original/CoreN2G-3.4-dev/src/SAM4S_4E_E70/asf/sam/utils/cmsis/same70/include" -I"/Users/minibp/Reprap3 original/CoreN2G-3.4-dev/src/arm/CMSIS/5.4.0/CMSIS/Core/Include" -I"/Users/minibp/Reprap3 original/CoreN2G-3.4-dev/src/SAM4S_4E_E70/SAME70" -I"/Users/minibp/Reprap3 original/RepRapFirmware-3.4-dev/src/Networking/LwipEthernet/Lwip" -I"/Users/minibp/Reprap3 original/RepRapFirmware-3.4-dev/src/Networking/LwipEthernet/Lwip/src/include" -I"/Users/minibp/Reprap3 original/RRFLibraries-3.4-dev/src" -O2 -Wall -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard -mfp16-format=ieee -mno-unaligned-access -ffunction-sections -fdata-sections -nostdlib -Wundef -Wdouble-promotion -Werror=return-type -Werror=implicit -fsingle-precision-constant "-Wa,-ahl=ffunicode.s" -MMD -MP -MF"src/Libraries/Fatfs/ffunicode.d" -MT"src/Libraries/Fatfs/ffunicode.o" -o "src/Libraries/Fatfs/ffunicode.o" "../src/Libraries/Fatfs/ffunicode.c"
Invoking: Cross G++ Compiler
arm-none-eabi-g++ -std=gnu++17 -D__SAME70Q20B__ -DRTOS -DDUET3_MB6HC -D_XOPEN_SOURCE -DUSE_CAN0 -I"/Users/minibp/Reprap3 original/CoreN2G-3.4-dev" -I"/Users/minibp/Reprap3 original/CoreN2G-3.4-dev/src" -I"/Users/minibp/Reprap3 original/CoreN2G-3.4-dev/src/SAM4S_4E_E70" -I"/Users/minibp/Reprap3 original/CoreN2G-3.4-dev/src/SAM4S_4E_E70/asf/common/utils" -I"/Users/minibp/Reprap3 original/CoreN2G-3.4-dev/src/SAM4S_4E_E70/asf/sam/utils/cmsis/same70/include" -I"/Users/minibp/Reprap3 original/CoreN2G-3.4-dev/src/arm/CMSIS/5.4.0/CMSIS/Core/Include" -I"/Users/minibp/Reprap3 original/CoreN2G-3.4-dev/src/SAM4S_4E_E70/SAME70" -I"/Users/minibp/Reprap3 original/CoreN2G-3.4-dev/src/SAM4S_4E_E70/asf" -I"/Users/minibp/Reprap3 original/CoreN2G-3.4-dev/src/SAM4S_4E_E70/asf/sam/utils" -I"/Users/minibp/Reprap3 original/CoreN2G-3.4-dev/src/SAM4S_4E_E70/asf/sam/utils/preprocessor" -I"/Users/minibp/Reprap3 original/CoreN2G-3.4-dev/src/SAM4S_4E_E70/asf/sam/utils/header_files" -I"/Users/minibp/Reprap3 original/CoreN2G-3.4-dev/src/SAM4S_4E_E70/asf/sam/drivers" -I"/Users/minibp/Reprap3 original/RepRapFirmware-3.4-dev/src" -I"/Users/minibp/Reprap3 original/RepRapFirmware-3.4-dev/src/Hardware/SAME70" -I"/Users/minibp/Reprap3 original/RepRapFirmware-3.4-dev/src/Networking" -I"/Users/minibp/Reprap3 original/RepRapFirmware-3.4-dev/src/Networking/LwipEthernet/Lwip" -I"/Users/minibp/Reprap3 original/RepRapFirmware-3.4-dev/src/Networking/LwipEthernet/Lwip/src/include" -I"/Users/minibp/Reprap3 original/DuetWiFiSocketServer-master/src/include" -I"/Users/minibp/Reprap3 original/FreeRTOS-3.4-dev/src/include" -I"/Users/minibp/Reprap3 original/FreeRTOS-3.4-dev/src/portable/GCC/ARM_CM7/r0p1" -I"/Users/minibp/Reprap3 original/RRFLibraries-3.4-dev/src" -I"/Users/minibp/Reprap3 original/CANlib-3.4-dev/src" -O2 -Wall -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfp16-format=ieee -mfloat-abi=hard -ffunction-sections -fdata-sections -fno-threadsafe-statics -fno-rtti -fexceptions -nostdlib -Wundef -Wdouble-promotion -Werror=return-type -Wsuggest-override -fsingle-precision-constant "-Wa,-ahl=InputMonitor.s" -fstack-usage -MMD -MP -MF"src/InputMonitors/InputMonitor.d" -MT"src/InputMonitors/InputMonitor.o" -o "src/InputMonitors/InputMonitor.o" "../src/InputMonitors/InputMonitor.cpp"
Finished building: ../src/Movement/ExtruderShaper.cpp
Finished building: ../src/Movement/StepTimer.cpp
Finished building: ../src/Movement/DriveMovement.cpp
Finished building: ../src/Libraries/sd_mmc/sd_mmc.cpp
Finished building: ../src/Libraries/sd_mmc/sd_mmc_spi.cpp
Finished building: ../src/Libraries/Fatfs/ffunicode.c
Finished building: ../src/Libraries/Fatfs/fattime_rtc.cpp
Finished building: ../src/Libraries/Fatfs/diskio.cpp
Finished building: ../src/Movement/AxisShaper.cpp
Finished building: ../src/Movement/DDARing.cpp
Finished building: ../src/Movement/Move.cpp
Finished building: ../src/InputMonitors/InputMonitor.cpp
Finished building: ../src/Movement/DDA.cpp
Finished building: ../src/Libraries/Fatfs/ff.c
make: *** [all] Error 2
"make -j15 all" terminated with exit code 2. Build might be incomplete.
20:14:41 Build Failed. 6 errors, 0 warnings. (took 1s.268ms)
Thanks for your help