Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
7 years, 10 months ago.
DAPLink firmware size exceeding for c027
Hi, I am trying to build DAPLink firmware. I got latest code from https://github.com/mbedmicro/DAPLink. It seems that code size of this image (37758 bytes) exceeds the maximum allowed size on latest platform. Can you please check ?
E:\DAPLink\projectfiles\uvision\lpc11u35_c027_if>python ..\..\..\tools\pre_build_script.py
- > Pre-build script start
- > Old git version file removed
- > Getting git SHA
- > Checking for local changes
- > Creating new git version file
- > Pre-build script completed compiling c027.c... compiling JTAG_DP.c... compiling crc16.c... compiling circ_buf.c... compiling crc32.c... compiling usbd_user_hid.c... compiling dap_vendor_command.c... compiling daplink.c... compiling error.c... compiling SW_DP.c... compiling info.c... compiling DAP.c... assembling SVC_Table.s... compiling flash_hal.c... compiling swd_host_ca.c... compiling RTX_Config.c... compiling validation.c... compiling main.c... compiling flash_intf.c... compiling target_flash.c... compiling flash_decoder.c... compiling file_stream.c... compiling util.c... compiling flash_manager.c... compiling swd_host.c... compiling iap_flash_intf.c... compiling intelhex.c... compiling flash_hal_stub.c... compiling read_uid.c... assembling startup_LPC11Uxx.s... compiling virtual_fs.c... compiling vfs_user.c... compiling gpio.c... compiling vfs_manager.c... compiling system_LPC11Uxx.c... compiling rt_Event.c... compiling usb_config.c... compiling uart.c... compiling HAL_CM1.c... compiling rt_List.c... compiling rt_Mailbox.c... compiling rt_MemBox.c... compiling rt_Robin.c... compiling rt_Mutex.c... compiling rt_Semaphore.c... compiling rt_Time.c... compiling usbd_LPC11Uxx.c... compiling rt_Task.c... compiling rt_Timer.c... compiling rt_System.c... compiling target.c... compiling target_reset.c... compiling settings_rom.c... compiling settings.c... compiling usbd_core_cdc.c... compiling usbd_core_hid.c... compiling usbd_core_msc.c... compiling usbd_cdc_acm.c... compiling usbd_hid.c... compiling usbd_user_cdc_acm.c... compiling usbd_core.c... compiling usbd_msc.c... linking... .\build\lpc11u35_c027_if.axf: error: L6050U: The code size of this image (37758 bytes) exceeds the maximum allowed for this version of the linker. Finished: 0 information, 0 warning, 0 error and 1 fatal error messages. ".\build\lpc11u35_c027_if.axf" - 1 Error(s), 0 Warning(s). Target not created. Build Time Elapsed: 00:00:02
Batch-Build summary: 0 succeeded, 1 failed, 0 skipped - Time Elapsed: 00:00:02