Hi
I’m trying to build the system (OS etc) and when I do the make from the /firmware/modules directory, I get an error on system-part2 that it won’t fit into the SRAM
make clean all PLATFORM=electron
…
Building target: …/…/…/build/target/system-part2/platform-10-m/system-part2.elf
Invoking: ARM GCC C++ Linker
mkdir -p …/…/…/build/target/system-part2/platform-10-m/
arm-none-eabi-g++ -DSTM32_DEVICE -DSTM32F2XX -DPLATFORM_THREADING=1 -DPLATFORM_ID=10 -DPLATFORM_NAME=electron -DUSBD_VID_SPARK=0x2B04 -DUSBD_PID_DFU=0xD00A -DUSBD_PID_CDC=0xC00A -g3 -gdwarf-2 -Os -mcpu=cortex-m3 -mthumb -DPRODUCT_ID=10 -DPRODUCT_FIRMWARE_VERSION=65535 -DUSE_STDPERIPH_DRIVER -DDFU_BUILD_ENABLE -fno-builtin -DSYSTEM_VERSION_STRING=0.6.2 -DRELEASE_BUILD -Werror -I…/…/…/modules/electron/system-part2/inc -I…/…/…/modules/shared/stm32f2xx/inc -I…/…/…/communication/src -I…/…/…/services/inc -I…/…/…/platform/shared/inc -I…/…/…/platform/MCU/STM32F2xx/STM32_USB_Host_Driver/inc -I…/…/…/platform/MCU/STM32F2xx/STM32_StdPeriph_Driver/inc -I…/…/…/platform/MCU/STM32F2xx/STM32_USB_OTG_Driver/inc -I…/…/…/platform/MCU/STM32F2xx/STM32_USB_Device_Driver/inc -I…/…/…/platform/MCU/STM32F2xx/SPARK_Firmware_Driver/inc -I…/…/…/platform/MCU/shared/STM32/inc -I…/…/…/platform/MCU/STM32F2xx/CMSIS/Include -I…/…/…/platform/MCU/STM32F2xx/CMSIS/Device/ST/Include -I…/…/…/dynalib/inc -I…/…/…/rt-dynalib/inc -I…/…/…/modules/shared/stm32f2xx/inc -I. -MD -MP -MF …/…/…/build/target/system-part2/platform-10-m/system-part2.elf.d -ffunction-sections -fdata-sections -Wall -Wno-switch -Wno-error=deprecated-declarations -fmessage-length=0 -fno-strict-aliasing -DSPARK=1 -DPARTICLE=1 -DSTART_DFU_FLASHER_SERIAL_SPEED=14400 -DSTART_YMODEM_FLASHER_SERIAL_SPEED=28800 -fno-builtin-malloc -fno-builtin-free -fno-builtin-realloc -DUSER_FIRMWARE_IMAGE_SIZE=0x20000 -DUSER_FIRMWARE_IMAGE_LOCATION=0x8080000 -DMODULAR_FIRMWARE=1 -DMODULE_VERSION=108 -DMODULE_FUNCTION=4 -DMODULE_INDEX=1 -DMODULE_DEPENDENCY=4,3,108 -D_WINSOCK_H -D_GNU_SOURCE …/…/…/build/target/system-part2/platform-10-m/…/…/…/modules/electron/system-part2/src/module_system_part1.o …/…/…/build/target/system-part2/platform-10-m/…/…/…/modules/electron/system-part2/src/init_dynalib.o …/…/…/build/target/system-part2/platform-10-m/…/…/…/modules/electron/system-part2/src/module_info.o …/…/…/build/target/system-part2/platform-10-m/…/…/…/modules/electron/system-part2/src/import_rt.o …/…/…/build/target/system-part2/platform-10-m/…/…/…/modules/electron/system-part2/src/newlib.o --output …/…/…/build/target/system-part2/platform-10-m/system-part2.elf -nostartfiles -Xlinker --gc-sections -L…/…/…/build/arm/linker/stm32f2xx -L…/…/…/build/arm/linker/stm32f2xx -L…/…/…/build/target/communication/platform-10-m-prod-10/ -L…/…/…/build/target/hal-dynalib/platform-10-m/ -L…/…/…/build/target/services/platform-10-m/ -L…/…/…/build/target/platform/platform-10-m/ -L…/…/…/build/arm/linker -Wl,–whole-archive -lcommunication -lhal-dynalib -lservices -lplatform -Wl,–no-whole-archive --specs=nano.specs -lnosys -T…/…/…/modules/electron/system-part2/linker.ld -L…/…/…/modules/electron/system-part3 -L…/…/…/modules/electron/system-part1 -Wl,–defsym,PLATFORM_DFU=0x8020000 -Wl,-Map,…/…/…/build/target/system-part2/platform-10-m/system-part2.map
/home/tinyspud/Desktop/gcc-arm-none-eabi-5_4-2016q3/bin/…/lib/gcc/arm-none-eabi/5.4.1/…/…/…/…/arm-none-eabi/bin/ld: …/…/…/build/target/system-part2/platform-10-m/system-part2.elf section .bss' will not fit in region
SRAM’
/home/tinyspud/Desktop/gcc-arm-none-eabi-5_4-2016q3/bin/…/lib/gcc/arm-none-eabi/5.4.1/…/…/…/…/arm-none-eabi/bin/ld: static RAM use exceeds allocated space
/home/tinyspud/Desktop/gcc-arm-none-eabi-5_4-2016q3/bin/…/lib/gcc/arm-none-eabi/5.4.1/…/…/…/…/arm-none-eabi/bin/ld: region `SRAM’ overflowed by 20 bytes
collect2: error: ld returned 1 exit status
…/…/…/build/module.mk:222: recipe for target ‘…/…/…/build/target/system-part2/platform-10-m/system-part2.elf’ failed
I’m going from the branch release/stable