rrfbuild's People
Forkers
jaysuk anhardt ghent360 arkadiuszraj a937983423 gerogefu craftyham kluoyun dishevg sergeyturnaev hyeywen hmgrf852016 loonik1 mlawcs alphabetf cameronyrrfbuild's Issues
Compilation issues
This is not necesary a bug report.
Lets start with environment unification.
Background:
I have created a printer control board based on STM32F429 mpu. And had idea to port there RRF.
I started with variant definition for STM32dunio but failed miserably with compilation. So I have decided to do clean cloning of repos (fresh copy) and follow your prescription regarding building STM32/ESP8266 firmware. (and this combination only).
So to start things up I can reuse this very specific line:
make -j2 firmware CORE=STM32F4 NETWORK=ESP8266WIFI BUILD=Release TMC22XX=true OUTPUT_NAME=firmware STARTUP_DELAY=
Albeit I am doing it on my arm development machine (RockPi 4B), still there is some kind of cross compilation involved. Armbian / Ubuntu 18 LTS anyway. Compiler I am using: arm-none-eabi-g++ (15:6.3.1+svn253039-1build1) 6.3.1 20170620. Four years old. May be subject to update but....
Some strange errors I see.
Basic C++11 syntax error.
In file included from CoreSTM32F4/cores/arduino/Core.h:199:0,
from CoreSTM32F4/cores/arduino/USBSerial.cpp:25:
CoreSTM32F4/cores/arduino/AnalogIn.h:27:40: error: 'AnalogCallback_t' declared with an exception specification
typedef void (*AnalogCallback_t)(void) noexcept;
This is somethig backed up in the C++11 standard in 15.4 thus this construction is invalid. Removal of no except clause in several typdefs across the core lib (but also RRF main code) fixes issue.
My question is - if this is C++17 you are using, why I still see this kind of errors? Shoundln't those be corrected?
Missing decaration of std::atomic_uint8_t
This may be an issue with my version of stdlibc++:
Package: libstdc++-arm-none-eabi-newlib
Version: 15:6.3.1+svn253039-1+10
Built-Using: gcc-arm-none-eabi (= 15:6.3.1+svn253039-1)
I did workaround by replacing definition with templated version. Works. But had to remoe static assert...
This is the most complicated issue, as it touches base of the OO programisng :
In file included from RepRapFirmware/src/Endstops/EndstopDefs.h:11:0,
from RepRapFirmware/src/Endstops/EndstopsManager.h:12,
from RepRapFirmware/src/Platform.h:38,
from RepRapFirmware/src/RepRapFirmware.cpp:165:
./RRFLibraries/src/General/NamedEnum.h:110:20: error: enclosing class of constexpr non-static member function 'EndStopType::RawType EndStopType::RawValue() const' is not a literal type
constexpr RawType RawValue() const noexcept { return v; } /* return the raw enum value, which we can switch on */ \
^
RepRapFirmware/src/Endstops/EndstopDefs.h:57:1: note: in expansion of macro 'NamedEnum'
NamedEnum
^~~~~~~~~
RepRapFirmware/src/Endstops/EndstopDefs.h:58:3: note: 'EndStopType' is not literal because:
( EndStopType, unsigned int,
^
./RRFLibraries/src/General/NamedEnum.h:87:7: note: in definition of macro 'NamedEnum'
class _typename { \
^~~~~~~~~
RepRapFirmware/src/Endstops/EndstopDefs.h:58:3: note: 'EndStopType' is not an aggregate, does not have a trivial default constructor, and has no constexpr constructor that is not a copy or move constructor
( EndStopType, unsigned int,
^
At this point compilation of RepRapFirmware stops. No remedy here.
And here I started to have doubts if Your makefile scripts are taylored to very specific environment only and simply do not work in my comp. Thus what revisions of compilers, libs are needed to compile RRF? Ultimate goal is to update STM32duino with new variant and have the rest untouched.
Full compilation log:
op@hijax:/media/nvme/git/RRF/RRFBuild$ ./BuildAll.sh
Release STM32F4 ESP8266WIFI
Building RepRapFirmware for STM32F4 based boards:
- MAKE_DIR: CoreSTM32F4/makefiles
- Build: Debug
- Linker Script used: ./CoreSTM32F4/variants/BIGTREE_SKR_PRO_1v1/ldscript.ld
- Networking: ESP8266 WIFI
- Smart Drivers: TMC22XX
rm -rf ./build/
Building RepRapFirmware for STM32F4 based boards:
- MAKE_DIR: CoreSTM32F4/makefiles
- Build: Release
- Linker Script used: ./CoreSTM32F4/variants/BIGTREE_SKR_PRO_1v1/ldscript.ld
- Networking: ESP8266 WIFI
- Smart Drivers: TMC22XX
[CoreSTM32F4/cores/arduino/wiring_shift.c]
[CoreSTM32F4/cores/arduino/board.c]
[CoreSTM32F4/cores/arduino/pins_arduino.c]
[CoreSTM32F4/cores/arduino/itoa.c]
[CoreSTM32F4/cores/arduino/wiring_analog.c]
[CoreSTM32F4/cores/arduino/hooks.c]
[CoreSTM32F4/cores/arduino/wiring_time.c]
[CoreSTM32F4/cores/arduino/avr/dtostrf.c]
[CoreSTM32F4/cores/arduino/stm32/spi_com.c]
[CoreSTM32F4/cores/arduino/stm32/stm32_def.c]
[CoreSTM32F4/cores/arduino/stm32/hw_config.c]
[CoreSTM32F4/cores/arduino/stm32/uart.c]
[CoreSTM32F4/cores/arduino/stm32/twi.c]
[CoreSTM32F4/cores/arduino/stm32/stm32_eeprom.c]
[CoreSTM32F4/cores/arduino/stm32/clock.c]
[CoreSTM32F4/cores/arduino/stm32/bootloader.c]
[CoreSTM32F4/cores/arduino/stm32/dwt.c]
[CoreSTM32F4/cores/arduino/stm32/rtc.c]
[CoreSTM32F4/cores/arduino/stm32/system_stm32yyxx.c]
[CoreSTM32F4/cores/arduino/stm32/low_power.c]
[CoreSTM32F4/cores/arduino/stm32/PortNames.c]
[CoreSTM32F4/cores/arduino/stm32/pinmap.c]
[CoreSTM32F4/cores/arduino/stm32/core_callback.c]
[CoreSTM32F4/cores/arduino/stm32/timer.c]
[CoreSTM32F4/cores/arduino/stm32/LL/stm32yyxx_ll_opamp.c]
[CoreSTM32F4/cores/arduino/stm32/LL/stm32yyxx_ll_dma2d.c]
[CoreSTM32F4/cores/arduino/stm32/LL/stm32yyxx_ll_hrtim.c]
[CoreSTM32F4/cores/arduino/stm32/LL/stm32yyxx_ll_rtc.c]
[CoreSTM32F4/cores/arduino/stm32/LL/stm32yyxx_ll_pwr.c]
[CoreSTM32F4/cores/arduino/stm32/LL/stm32yyxx_ll_pka.c]
[CoreSTM32F4/cores/arduino/stm32/LL/stm32yyxx_ll_i2c.c]
[CoreSTM32F4/cores/arduino/stm32/LL/stm32yyxx_ll_sdmmc.c]
[CoreSTM32F4/cores/arduino/stm32/LL/stm32yyxx_ll_mdma.c]
[CoreSTM32F4/cores/arduino/stm32/LL/stm32yyxx_ll_fmc.c]
[CoreSTM32F4/cores/arduino/stm32/LL/stm32yyxx_ll_rcc.c]
[CoreSTM32F4/cores/arduino/stm32/LL/stm32yyxx_ll_fmac.c]
[CoreSTM32F4/cores/arduino/stm32/LL/stm32yyxx_ll_dac.c]
[CoreSTM32F4/cores/arduino/stm32/LL/stm32yyxx_ll_cordic.c]
[CoreSTM32F4/cores/arduino/stm32/LL/stm32yyxx_ll_delayblock.c]
[CoreSTM32F4/cores/arduino/stm32/LL/stm32yyxx_ll_crc.c]
[CoreSTM32F4/cores/arduino/stm32/LL/stm32yyxx_ll_crs.c]
[CoreSTM32F4/cores/arduino/stm32/LL/stm32yyxx_ll_lpuart.c]
[CoreSTM32F4/cores/arduino/stm32/LL/stm32yyxx_ll_usart.c]
[CoreSTM32F4/cores/arduino/stm32/LL/stm32yyxx_ll_utils.c]
[CoreSTM32F4/cores/arduino/stm32/LL/stm32yyxx_ll_ucpd.c]
[CoreSTM32F4/cores/arduino/stm32/LL/stm32yyxx_ll_bdma.c]
[CoreSTM32F4/cores/arduino/stm32/LL/stm32yyxx_ll_tim.c]
[CoreSTM32F4/cores/arduino/stm32/LL/stm32yyxx_ll_swpmi.c]
[CoreSTM32F4/cores/arduino/stm32/LL/stm32yyxx_ll_adc.c]
[CoreSTM32F4/cores/arduino/stm32/LL/stm32yyxx_ll_lptim.c]
[CoreSTM32F4/cores/arduino/stm32/LL/stm32yyxx_ll_spi.c]
[CoreSTM32F4/cores/arduino/stm32/LL/stm32yyxx_ll_gpio.c]
[CoreSTM32F4/cores/arduino/stm32/LL/stm32yyxx_ll_comp.c]
[CoreSTM32F4/cores/arduino/stm32/LL/stm32yyxx_ll_exti.c]
[CoreSTM32F4/cores/arduino/stm32/LL/stm32yyxx_ll_fsmc.c]
[CoreSTM32F4/cores/arduino/stm32/LL/stm32yyxx_ll_usb.c]
[CoreSTM32F4/cores/arduino/stm32/LL/stm32yyxx_ll_rng.c]
[CoreSTM32F4/cores/arduino/stm32/LL/stm32yyxx_ll_dma.c]
[CoreSTM32F4/cores/arduino/stm32/usb/usb_device_ioreq.c]
[CoreSTM32F4/cores/arduino/stm32/usb/usbd_conf.c]
[CoreSTM32F4/cores/arduino/stm32/usb/usbd_if.c]
[CoreSTM32F4/cores/arduino/stm32/usb/usbd_ep_conf.c]
[CoreSTM32F4/cores/arduino/stm32/usb/usbd_desc.c]
[CoreSTM32F4/cores/arduino/stm32/usb/usb_device_core.c]
[CoreSTM32F4/cores/arduino/stm32/usb/usb_device_ctlreq.c]
[CoreSTM32F4/cores/arduino/stm32/usb/cdc/usbd_cdc_if.c]
[CoreSTM32F4/cores/arduino/stm32/usb/cdc/cdc_queue.c]
[CoreSTM32F4/cores/arduino/stm32/usb/cdc/usbd_cdc.c]
[CoreSTM32F4/system/STM32F4xx/system_stm32f4xx.c]
[CoreSTM32F4/system/Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_desc_template.c]
[CoreSTM32F4/system/Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c]
[CoreSTM32F4/system/Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c]
[CoreSTM32F4/system/Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c]
[CoreSTM32F4/system/Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_conf_template.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_rtc.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_crc.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_sram.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_i2s.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_mmc.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_i2c.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dfsdm.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_fmpi2c.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cryp.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma2d.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_sai.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cryp_ex.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_timebase_rtc_wakeup_template.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_fmc.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_wwdg.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_ltdc_ex.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ramfunc.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_rcc.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_iwdg.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_i2c_ex.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_smbus.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dsi.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_smartcard.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_crc.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_spdifrx.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usart.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_fmpi2c_ex.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dac.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_adc.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_can.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rtc.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_nor.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_qspi.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_hash_ex.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_utils.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_timebase_rtc_alarm_template.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_i2c.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_lptim.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_hash.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ex.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_eth.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dac_ex.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_rng.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_sd.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pccard.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_sai_ex.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_sdmmc.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_ltdc.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_dma2d.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dcmi.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rtc_ex.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr_ex.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_spi.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_sdram.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_gpio.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_i2s_ex.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_lptim.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_usart.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_exti.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_hcd.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_irda.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_pwr.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_fsmc.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_timebase_tim_template.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_msp_template.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dcmi_ex.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cec.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rng.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_nand.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_dma.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_spi.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_tim.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_dac.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.c]
[CoreSTM32F4/system/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.c]
[CoreSTM32F4/variants/BIGTREE_SKR_PRO_1v1/PeripheralPins.c]
CORE [CoreSTM32F4/cores/arduino/USBSerial.cpp]
CORE [CoreSTM32F4/cores/arduino/new.cpp]
CORE [CoreSTM32F4/cores/arduino/WMath.cpp]
CORE [CoreSTM32F4/cores/arduino/Print.cpp]
CORE [CoreSTM32F4/cores/arduino/watchdog.cpp]
CORE [CoreSTM32F4/cores/arduino/AnalogOut.cpp]
CORE [CoreSTM32F4/cores/arduino/Tone.cpp]
CORE [CoreSTM32F4/cores/arduino/Reset.cpp]
CORE [CoreSTM32F4/cores/arduino/WInterrupts.cpp]
CORE [CoreSTM32F4/cores/arduino/wiring_pulse.cpp]
CORE [CoreSTM32F4/cores/arduino/Stream.cpp]
CORE [CoreSTM32F4/cores/arduino/syscalls.cpp]
CORE [CoreSTM32F4/cores/arduino/abi.cpp]
CORE [CoreSTM32F4/cores/arduino/wiring_digital.cpp]
CORE [CoreSTM32F4/cores/arduino/WSerial.cpp]
CORE [CoreSTM32F4/cores/arduino/Core.cpp]
CORE [CoreSTM32F4/cores/arduino/RingBuffer.cpp]
CORE [CoreSTM32F4/cores/arduino/HardwareTimer.cpp]
CORE [CoreSTM32F4/cores/arduino/AnalogIn.cpp]
CORE [CoreSTM32F4/cores/arduino/main.cpp]
CORE [CoreSTM32F4/cores/arduino/HardwareSerial.cpp]
CORE [CoreSTM32F4/cores/arduino/stm32/interrupt.cpp]
CORE [CoreSTM32F4/cores/arduino/stm32/analog.cpp]
CORE [CoreSTM32F4/variants/BIGTREE_SKR_PRO_1v1/variant.cpp]
CORE [CoreSTM32F4/libraries/ConfigurableUART/ConfigurableUART.cpp]
CORE [CoreSTM32F4/libraries/SharedSPI/HardwareSPI.cpp]
CORE [CoreSTM32F4/libraries/SharedSPI/SPI.cpp]
CORE [CoreSTM32F4/libraries/SharedSPI/SoftwareSPI.cpp]
CORE [CoreSTM32F4/libraries/PWM/HardwarePWM.cpp]
CORE [CoreSTM32F4/libraries/PWM/HybridPWM.cpp]
CORE [CoreSTM32F4/libraries/PWM/SoftwarePWM.cpp]
CORE [CoreSTM32F4/libraries/SDIO/HardwareSDIO.cpp]
CORE [CoreSTM32F4/libraries/CRC32/HardwareCRC32.cpp]
[CoreSTM32F4/cores/arduino/stm32/startup_stm32yyxx.S]
[FreeRTOS/src/queue.c]
[FreeRTOS/src/croutine.c]
[FreeRTOS/src/list.c]
[FreeRTOS/src/stream_buffer.c]
[FreeRTOS/src/event_groups.c]
[FreeRTOS/src/tasks.c]
[FreeRTOS/src/timers.c]
[FreeRTOS/src/portable/GCC/ARM_CM4F/port.c]
RRFL [RRFLibraries/src/General/NamedEnum.cpp]
RRFL [RRFLibraries/src/General/IPAddress.cpp]
RRFL [RRFLibraries/src/General/SafeVsnprintf.cpp]
RRFL [RRFLibraries/src/General/StringRef.cpp]
RRFL [RRFLibraries/src/General/StringFunctions.cpp]
RRFL [RRFLibraries/src/General/Strnlen.cpp]
RRFL [RRFLibraries/src/General/StringBuffer.cpp]
RRFL [RRFLibraries/src/General/IP4String.cpp]
RRFL [RRFLibraries/src/General/SafeStrtod.cpp]
RRFL [RRFLibraries/src/General/NumericConverter.cpp]
RRFL [RRFLibraries/src/Math/DeviationAccumulator.cpp]
RRFL [RRFLibraries/src/Math/Deviation.cpp]
RRFL [RRFLibraries/src/Math/Isqrt.cpp]
RRFL [RRFLibraries/src/RTOSIface/RTOSIface.cpp]
[RepRapFirmware/src/libc/memmove.c]
[RepRapFirmware/src/libc/memcmp.c]
[RepRapFirmware/src/libc/memcpy.c]
[RepRapFirmware/src/libc/nano-mallocr.c]
[RepRapFirmware/src/libc/memset.c]
[RepRapFirmware/src/libcpp/eh_alloc.cpp]
[RepRapFirmware/src/libc/strptime.cpp]
[RepRapFirmware/src/libcpp/vterminate.cc]
[RepRapFirmware/src/Libraries/sha1/sha1.c]
[RepRapFirmware/src/targets/common/FatFS/ff.c]
[RepRapFirmware/src/targets/common/FatFS/ffunicode.c]
[RepRapFirmware/src/RepRapFirmware.cpp]
[RepRapFirmware/src/Roland.cpp]
In file included from RepRapFirmware/src/Endstops/EndstopDefs.h:11:0,
from RepRapFirmware/src/Endstops/EndstopsManager.h:12,
from RepRapFirmware/src/Platform.h:38,
from RepRapFirmware/src/RepRapFirmware.cpp:165:
./RRFLibraries/src/General/NamedEnum.h:110:20: error: enclosing class of constexpr non-static member function 'EndStopType::RawType EndStopType::RawValue() const' is not a literal type
constexpr RawType RawValue() const noexcept { return v; } /* return the raw enum value, which we can switch on */ \
^
RepRapFirmware/src/Endstops/EndstopDefs.h:57:1: note: in expansion of macro 'NamedEnum'
NamedEnum
^~~~~~~~~
RepRapFirmware/src/Endstops/EndstopDefs.h:58:3: note: 'EndStopType' is not literal because:
( EndStopType, unsigned int,
^
./RRFLibraries/src/General/NamedEnum.h:87:7: note: in definition of macro 'NamedEnum'
class _typename { \
^~~~~~~~~
RepRapFirmware/src/Endstops/EndstopDefs.h:58:3: note: 'EndStopType' is not an aggregate, does not have a trivial default constructor, and has no constexpr constructor that is not a copy or move constructor
( EndStopType, unsigned int,
^
./RRFLibraries/src/General/NamedEnum.h:87:7: note: in definition of macro 'NamedEnum'
class _typename { \
^~~~~~~~~
./RRFLibraries/src/General/NamedEnum.h:111:21: error: enclosing class of constexpr non-static member function 'EndStopType::BaseType EndStopType::ToBaseType() const' is not a literal type
constexpr BaseType ToBaseType() const noexcept { return static_cast<BaseType>(v); } /* convert to integral base type */ \
^
RepRapFirmware/src/Endstops/EndstopDefs.h:57:1: note: in expansion of macro 'NamedEnum'
NamedEnum
^~~~~~~~~
./RRFLibraries/src/General/NamedEnum.h:110:20: error: enclosing class of constexpr non-static member function 'PanelDueUpdater::FlashState::RawType PanelDueUpdater::FlashState::RawValue() const' is not a literal type
constexpr RawType RawValue() const noexcept { return v; } /* return the raw enum value, which we can switch on */ \
^
./RepRapFirmware/src/Comms/PanelDueUpdater.h:48:2: note: in expansion of macro 'NamedEnum'
NamedEnum(FlashState, uint8_t,
^~~~~~~~~
./RepRapFirmware/src/Comms/PanelDueUpdater.h:48:12: note: 'PanelDueUpdater::FlashState' is not literal because:
NamedEnum(FlashState, uint8_t,
^
./RRFLibraries/src/General/NamedEnum.h:87:7: note: in definition of macro 'NamedEnum'
class _typename { \
^~~~~~~~~
./RepRapFirmware/src/Comms/PanelDueUpdater.h:48:12: note: 'PanelDueUpdater::FlashState' is not an aggregate, does not have a trivial default constructor, and has no constexpr constructor that is not a copy or move constructor
NamedEnum(FlashState, uint8_t,
^
./RRFLibraries/src/General/NamedEnum.h:87:7: note: in definition of macro 'NamedEnum'
class _typename { \
^~~~~~~~~
./RRFLibraries/src/General/NamedEnum.h:111:21: error: enclosing class of constexpr non-static member function 'PanelDueUpdater::FlashState::BaseType PanelDueUpdater::FlashState::ToBaseType() const' is not a literal type
constexpr BaseType ToBaseType() const noexcept { return static_cast<BaseType>(v); } /* convert to integral base type */ \
^
./RepRapFirmware/src/Comms/PanelDueUpdater.h:48:2: note: in expansion of macro 'NamedEnum'
NamedEnum(FlashState, uint8_t,
^~~~~~~~~
cc1plus: warning: unrecognized command line option '-Wno-register'
CoreSTM32F4/makefiles/makefile:163: recipe for target 'build/./RepRapFirmware/src/RepRapFirmware.o' failed
make: *** [build/./RepRapFirmware/src/RepRapFirmware.o] Error 1
make: *** Waiting for unfinished jobs....
op@hijax:/media/nvme/git/RRF/RRFBuild$
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.