Compiling not working

the usb is not happy but I get this error.

Arduino: 1.8.19 (Linux), Board: "Proffieboard V2, Serial + Mass Storage + WebUSB, SDCARD (SPI), 80 MHz, Smallest Code"

arduino-builder -dump-prefs -logger=machine -hardware /usr/share/arduino/hardware -hardware /home/max/.arduino15/packages -tools /usr/share/arduino/hardware/tools/avr -tools /home/max/.arduino15/packages -libraries /home/max/Arduino/libraries -fqbn=proffieboard:stm32l4:ProffieboardV2-L433CC:usb=cdc_msc_webusb,dosfs=sdspi,speed=80,opt=os -vid-pid=1209_6668 -ide-version=10819 -build-path /tmp/arduino_build_202161 -warnings=none -build-cache /tmp/arduino_cache_943614 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arm-none-eabi-gcc.path=/home/max/.arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update -prefs=runtime.tools.arm-none-eabi-gcc-9-2020-q2-update.path=/home/max/.arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update -verbose /home/max/ProffieOS/ProffieOS.ino
arduino-builder -compile -logger=machine -hardware /usr/share/arduino/hardware -hardware /home/max/.arduino15/packages -tools /usr/share/arduino/hardware/tools/avr -tools /home/max/.arduino15/packages -libraries /home/max/Arduino/libraries -fqbn=proffieboard:stm32l4:ProffieboardV2-L433CC:usb=cdc_msc_webusb,dosfs=sdspi,speed=80,opt=os -vid-pid=1209_6668 -ide-version=10819 -build-path /tmp/arduino_build_202161 -warnings=none -build-cache /tmp/arduino_cache_943614 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arm-none-eabi-gcc.path=/home/max/.arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update -prefs=runtime.tools.arm-none-eabi-gcc-9-2020-q2-update.path=/home/max/.arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update -verbose /home/max/ProffieOS/ProffieOS.ino
Using board 'ProffieboardV2-L433CC' from platform in folder: /home/max/.arduino15/packages/proffieboard/hardware/stm32l4/3.6.0
Using core 'stm32l4' from platform in folder: /home/max/.arduino15/packages/proffieboard/hardware/stm32l4/3.6.0
Detecting libraries used...
"/home/max/.arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib -fno-rtti -fno-exceptions  -flto -fdevirtualize-at-ltrans -w -x c++ -E -CC -D_SYSTEM_CORE_CLOCK_=80000000L -DARDUINO=10819 -DARDUINO_STM32L4_BUTTERLY -DARDUINO_ARCH_STM32L4  -DSTM32L433xx -DPROFFIEBOARD_VERSION=2 -D__FPU_PRESENT=1 -march=armv7e-m -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mabi=aapcs -mslow-flash-data -fsingle-precision-constant -felide-constructors -ffast-math -DUSB_VID=0x1209 -DUSB_PID=0x6668 -DUSB_DID=0xffff '-DUSB_MANUFACTURER="hubbe.net"' '-DUSB_PRODUCT="Proffieboard"' '-DUSB_TYPE=USB_TYPE_CDC_MSC_WEBUSB' -DDOSFS_SDCARD=1 -DDOSFS_SFLASH=0 "-I/home/max/.arduino15/packages/proffieboard/hardware/stm32l4/3.6.0/system/CMSIS/Include" "-I/home/max/.arduino15/packages/proffieboard/hardware/stm32l4/3.6.0/system/CMSIS/Device/ST/STM32L4xx/Include" "-I/home/max/.arduino15/packages/proffieboard/hardware/stm32l4/3.6.0/system/STM32L4xx/Include" "-I/home/max/.arduino15/packages/proffieboard/hardware/stm32l4/3.6.0/cores/stm32l4" "-I/home/max/.arduino15/packages/proffieboard/hardware/stm32l4/3.6.0/variants/STM32L433CC-ProffieboardV2" "/tmp/arduino_build_202161/sketch/ProffieOS.ino.cpp" -o "/dev/null"
"/home/max/.arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib -fno-rtti -fno-exceptions  -flto -fdevirtualize-at-ltrans -w -x c++ -E -CC -D_SYSTEM_CORE_CLOCK_=80000000L -DARDUINO=10819 -DARDUINO_STM32L4_BUTTERLY -DARDUINO_ARCH_STM32L4  -DSTM32L433xx -DPROFFIEBOARD_VERSION=2 -D__FPU_PRESENT=1 -march=armv7e-m -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mabi=aapcs -mslow-flash-data -fsingle-precision-constant -felide-constructors -ffast-math -DUSB_VID=0x1209 -DUSB_PID=0x6668 -DUSB_DID=0xffff '-DUSB_MANUFACTURER="hubbe.net"' '-DUSB_PRODUCT="Proffieboard"' '-DUSB_TYPE=USB_TYPE_CDC_MSC_WEBUSB' -DDOSFS_SDCARD=1 -DDOSFS_SFLASH=0 "-I/home/max/.arduino15/packages/proffieboard/hardware/stm32l4/3.6.0/system/CMSIS/Include" "-I/home/max/.arduino15/packages/proffieboard/hardware/stm32l4/3.6.0/system/CMSIS/Device/ST/STM32L4xx/Include" "-I/home/max/.arduino15/packages/proffieboard/hardware/stm32l4/3.6.0/system/STM32L4xx/Include" "-I/home/max/.arduino15/packages/proffieboard/hardware/stm32l4/3.6.0/cores/stm32l4" "-I/home/max/.arduino15/packages/proffieboard/hardware/stm32l4/3.6.0/variants/STM32L433CC-ProffieboardV2" "-I/home/max/.arduino15/packages/proffieboard/hardware/stm32l4/3.6.0/libraries/Wire/src" "/tmp/arduino_build_202161/sketch/ProffieOS.ino.cpp" -o "/dev/null"
Using cached library dependencies for file: /home/max/.arduino15/packages/proffieboard/hardware/stm32l4/3.6.0/libraries/Wire/src/Wire.cpp
Generating function prototypes...
"/home/max/.arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib -fno-rtti -fno-exceptions  -flto -fdevirtualize-at-ltrans -w -x c++ -E -CC -D_SYSTEM_CORE_CLOCK_=80000000L -DARDUINO=10819 -DARDUINO_STM32L4_BUTTERLY -DARDUINO_ARCH_STM32L4  -DSTM32L433xx -DPROFFIEBOARD_VERSION=2 -D__FPU_PRESENT=1 -march=armv7e-m -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mabi=aapcs -mslow-flash-data -fsingle-precision-constant -felide-constructors -ffast-math -DUSB_VID=0x1209 -DUSB_PID=0x6668 -DUSB_DID=0xffff '-DUSB_MANUFACTURER="hubbe.net"' '-DUSB_PRODUCT="Proffieboard"' '-DUSB_TYPE=USB_TYPE_CDC_MSC_WEBUSB' -DDOSFS_SDCARD=1 -DDOSFS_SFLASH=0 "-I/home/max/.arduino15/packages/proffieboard/hardware/stm32l4/3.6.0/system/CMSIS/Include" "-I/home/max/.arduino15/packages/proffieboard/hardware/stm32l4/3.6.0/system/CMSIS/Device/ST/STM32L4xx/Include" "-I/home/max/.arduino15/packages/proffieboard/hardware/stm32l4/3.6.0/system/STM32L4xx/Include" "-I/home/max/.arduino15/packages/proffieboard/hardware/stm32l4/3.6.0/cores/stm32l4" "-I/home/max/.arduino15/packages/proffieboard/hardware/stm32l4/3.6.0/variants/STM32L433CC-ProffieboardV2" "-I/home/max/.arduino15/packages/proffieboard/hardware/stm32l4/3.6.0/libraries/Wire/src" "/tmp/arduino_build_202161/sketch/ProffieOS.ino.cpp" -o "/tmp/arduino_build_202161/preproc/ctags_target_for_gcc_minus_e.cpp"
"/usr/bin/arduino-ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "/tmp/arduino_build_202161/preproc/ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"/home/max/.arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib -fno-rtti -fno-exceptions -MMD -flto -fdevirtualize-at-ltrans -D_SYSTEM_CORE_CLOCK_=80000000L -DARDUINO=10819 -DARDUINO_STM32L4_BUTTERLY -DARDUINO_ARCH_STM32L4  -DSTM32L433xx -DPROFFIEBOARD_VERSION=2 -D__FPU_PRESENT=1 -march=armv7e-m -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mabi=aapcs -mslow-flash-data -fsingle-precision-constant -felide-constructors -ffast-math -DUSB_VID=0x1209 -DUSB_PID=0x6668 -DUSB_DID=0xffff '-DUSB_MANUFACTURER="hubbe.net"' '-DUSB_PRODUCT="Proffieboard"' '-DUSB_TYPE=USB_TYPE_CDC_MSC_WEBUSB' -DDOSFS_SDCARD=1 -DDOSFS_SFLASH=0 "-I/home/max/.arduino15/packages/proffieboard/hardware/stm32l4/3.6.0/system/CMSIS/Include" "-I/home/max/.arduino15/packages/proffieboard/hardware/stm32l4/3.6.0/system/CMSIS/Device/ST/STM32L4xx/Include" "-I/home/max/.arduino15/packages/proffieboard/hardware/stm32l4/3.6.0/system/STM32L4xx/Include" "-I/home/max/.arduino15/packages/proffieboard/hardware/stm32l4/3.6.0/cores/stm32l4" "-I/home/max/.arduino15/packages/proffieboard/hardware/stm32l4/3.6.0/variants/STM32L433CC-ProffieboardV2" "-I/home/max/.arduino15/packages/proffieboard/hardware/stm32l4/3.6.0/libraries/Wire/src" "/tmp/arduino_build_202161/sketch/ProffieOS.ino.cpp" -o "/tmp/arduino_build_202161/sketch/ProffieOS.ino.cpp.o"
Compiling libraries...
Compiling library "Wire"
Using previously compiled file: /tmp/arduino_build_202161/libraries/Wire/Wire.cpp.o
Compiling core...
Using previously compiled file: /tmp/arduino_build_202161/core/variant.cpp.o
Using precompiled core
Linking everything together...
"/home/max/.arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update/bin/arm-none-eabi-gcc"  "-L/tmp/arduino_build_202161" -g -Os -Wl,--gc-sections  -DSTM32L433xx -DPROFFIEBOARD_VERSION=2 -D__FPU_PRESENT=1 -march=armv7e-m -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mabi=aapcs -mslow-flash-data -fsingle-precision-constant -felide-constructors -ffast-math -DUSB_VID=0x1209 -DUSB_PID=0x6668 -DUSB_DID=0xffff '-DUSB_MANUFACTURER="hubbe.net"' '-DUSB_PRODUCT="Proffieboard"' '-DUSB_TYPE=USB_TYPE_CDC_MSC_WEBUSB' -DDOSFS_SDCARD=1 -DDOSFS_SFLASH=0 "-T/home/max/.arduino15/packages/proffieboard/hardware/stm32l4/3.6.0/variants/STM32L433CC-ProffieboardV2/linker_scripts/STM32L433CC_FLASH.ld" "-Wl,-Map,/tmp/arduino_build_202161/ProffieOS.ino.map" --specs=nano.specs -mcpu=cortex-m4 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align  -flto -fuse-linker-plugin -fdevirtualize-at-ltrans -o "/tmp/arduino_build_202161/ProffieOS.ino.elf" "/tmp/arduino_build_202161/sketch/ProffieOS.ino.cpp.o" "/tmp/arduino_build_202161/libraries/Wire/Wire.cpp.o" "/tmp/arduino_build_202161/core/variant.cpp.o" -Wl,--start-group "/tmp/arduino_build_202161/../arduino_cache_943614/core/core_proffieboard_stm32l4_ProffieboardV2-L433CC_usb_cdc_msc_webusb,dosfs_sdspi,speed_80,opt_os_3b78a1788169779306d1c6f95b0cf5ba.a"  -Wl,--end-group "-L/home/max/.arduino15/packages/proffieboard/hardware/stm32l4/3.6.0/system/STM32L4xx/Lib" "-L/home/max/.arduino15/packages/proffieboard/hardware/stm32l4/3.6.0/system/CMSIS/Lib" -lstm32l433 -larm_cortexM4lf_math -lc -lm
/home/max/.arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld:/home/max/.arduino15/packages/proffieboard/hardware/stm32l4/3.6.0/variants/STM32L433CC-ProffieboardV2/linker_scripts/STM32L433CC_FLASH.ld:224: warning: memory region `SRAM2' not declared
/home/max/.arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld: warning: changing start of section .bss by 16 bytes
/home/max/.arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld: warning: changing start of section .bss by 16 bytes
/home/max/.arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld: /tmp/arduino_build_202161/ProffieOS.ino.elf section `.text' will not fit in region `FLASH'
/home/max/.arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld: warning: changing start of section .bss by 16 bytes
/home/max/.arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld: warning: changing start of section .bss by 16 bytes
/home/max/.arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld: warning: changing start of section .bss by 16 bytes
/home/max/.arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld: region `FLASH' overflowed by 3448 bytes
collect2: error: ld returned 1 exit status
Using library Wire at version 1.0 in folder: /home/max/.arduino15/packages/proffieboard/hardware/stm32l4/3.6.0/libraries/Wire 
exit status 1
Error compiling for board Proffieboard V2.

solution: it was a FLASH issue, reduced the size and it’s working now.