Sysprogs forums › Forums › VisualGDB › Toolchain failure after the NRF5x Ver 2.0 update
Tagged: Test Log
- This topic has 7 replies, 3 voices, and was last updated 8 years, 10 months ago by support.
-
AuthorPosts
-
December 27, 2015 at 15:06 #7408TNParticipant
<span style=”color: #333333;”><span style=”font-family: Georgia, Times New Roman, Bitstream Charter, Times, serif;”><span style=”font-size: medium;”>Toolchain test failure, ” The command line is too long”</span></span></span>
TN
December 27, 2015 at 18:42 #7409TNParticipantTool arguments: -x c++ -dM -v -E – -ggdb -ffunction-sections -fno-exceptions -fno-rtti -O2 -mcpu=cortex-m0 -mthumb -mabi=aapcs -mfloat-abi=soft -DNDEBUG -DRELEASE -DARM_MATH_CM0 -DNRF51 -DS110 -DnRF51422_XXAC -DBOARD_PCA10028 -DBSP_UART_SUPPORT -DBLE_STACK_SUPPORT_REQD -DSOFTDEVICE_PRESENT -DSWI_DISABLE0 -DSOFTDEVICE_PRESENT -DSWI_DISABLE0 -I. -IC:\Users\TEN2ndPC\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF51/components/softdevice/S110/headers -IC:\Users\TEN2ndPC\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF51/components/toolchain -IC:\Users\TEN2ndPC\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF51/components/toolchain/gcc -IC:\Users\TEN2ndPC\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF51/components/device -IC:\Users\TEN2ndPC\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF51/components/softdevice/common/softdevice_handler -IC:\Users\TEN2ndPC\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF51/components/drivers_nrf/ble_flash -IC:\Users\TEN2ndPC\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF51/components/drivers_nrf/clock -IC:\Users\TEN2ndPC\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF51/components/drivers_nrf/common -IC:\Users\TEN2ndPC\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF51/components/drivers_nrf/config -IC:\Users\TEN2ndPC\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF51/components/drivers_nrf/delay -IC:\Users\TEN2ndPC\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF51/components/drivers_nrf/gpiote -IC:\Users\TEN2ndPC\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF51/components/drivers_nrf/hal -IC:\Users\TEN2ndPC\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF51/components/drivers_nrf/lpcomp -IC:\Users\TEN2ndPC\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF51/components/drivers_nrf/nrf_soc_nosd -IC:\Users\TEN2ndPC\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF51/components/drivers_nrf/ppi -IC:\Users\TEN2ndPC\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF51/components/drivers_nrf/pstorage -IC:\Users\TEN2ndPC\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF51/components/drivers_nrf/pstorage/config -IC:\Users\TEN2ndPC\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF51/components/drivers_nrf/qdec -IC:\Users\TEN2ndPC\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF51/components/drivers_nrf/radio_config -IC:\Users\TEN2ndPC\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF51/components/drivers_nrf/rng -IC:\Users\TEN2ndPC\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF51/components/drivers_nrf/rtc -IC:\Users\TEN2ndPC\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF51/components/drivers_nrf/sdio -IC:\Users\TEN2ndPC\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF51/components/drivers_nrf/sdio/config -IC:\Users\TEN2ndPC\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF51/components/drivers_nrf/spi_master -IC:\Users\TEN2ndPC\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF51/components/drivers_nrf/spi_slave -IC:\Users\TEN2ndPC\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF51/components/drivers_nrf/swi -IC:\Users\TEN2ndPC\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF51/components/drivers_nrf/timer -IC:\Users\TEN2ndPC\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF51/components/drivers_nrf/twi_master -IC:\Users\TEN2ndPC\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF51/components/drivers_nrf/twi_master/deprecated -IC:\Users\TEN2ndPC\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF51/components/drivers_nrf/twi_master/deprecated/config -IC:\Users\TEN2ndPC\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF51/components/drivers_nrf/uart -IC:\Users\TEN2ndPC\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF51/components/drivers_nrf/wdt -IC:\Users\TEN2ndPC\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF51/components/libraries/util -IC:\Users\TEN2ndPC\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF51/examples/bsp -IC:\Users\TEN2ndPC\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF51/components/libraries/bootloader_dfu -IC:\Users\TEN2ndPC\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF51/components/libraries/bootloader_dfu/ble_transport -IC:\Users\TEN2ndPC\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF51/components/libraries/bootloader_dfu/experimental -IC:\Users\TEN2ndPC\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF51/components/libraries/bootloader_dfu/hci_transport -IC:\Users\TEN2ndPC\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF51/components/libraries/button -IC:\Users\TEN2ndPC\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF51/components/libraries/crc16 -IC:\Users\TEN2ndPC\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF51/components/libraries/experimental_section_vars -IC:\Users\TEN2ndPC\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF51/components/libraries/fds -IC:\Users\TEN2ndPC\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF51/components/libraries/fifo -IC:\Users\TEN2ndPC\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF51/components/libraries/fstorage -IC:\Users\TEN2ndPC\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF51/components/libraries/gpiote -IC:\Users\TEN2ndPC\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF51/components/libraries/hci -IC:\Users\TEN2ndPC\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF51/components/libraries/hci/config -IC:\Users\TEN2ndPC\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF51/components/libraries/ic_info -IC:\Users\TEN2ndPC\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF51/components/libraries/led_softblink -IC:\Users\TEN2ndPC\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF51/components/libraries/low_power_pwm -IC:\Users\TEN2ndPC\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF51/components/libraries/mailbox -IC:\Users\TEN2ndPC\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF51/components/libraries/pwm -IC:\Users\TEN2ndPC\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF51/components/libraries/scheduler -IC:\Users\TEN2ndPC\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF51/components/libraries/sensorsim -IC:\Users\TEN2ndPC\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF51/components/libraries/sha256 -IC:\Users\TEN2ndPC\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF51/components/libraries/simple_timer -IC:\Users\TEN2ndPC\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF51/components/libraries/slip -IC:\Users\TEN2ndPC\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF51/components/libraries/timer -IC:\Users\TEN2ndPC\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF51/components/libraries/trace -IC:\Users\TEN2ndPC\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF51/components/libraries/twi -IC:\Users\TEN2ndPC\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF51/components/libraries/uart -IC:\Users\TEN2ndPC\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF51/components/libraries/util -IC:\Users\TEN2ndPC\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF51/components/softdevice/common/softdevice_handler -IC:\Users\TEN2ndPC\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF51/components/ble/common -IC:\Users\TEN2ndPC\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF51/ble_advertising -IC:\Users\TEN2ndPC\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x/nRF51/ble_services/ble_tps
The command line is too long.December 27, 2015 at 21:21 #7410mlowerParticipantSame thing happens for me. Every time I change VisualGDB project properties I get “the commandline is too long” popup window. Clicking ‘ignore’ allows me to skip the error and so far my nRF51 projects compile fine.
December 28, 2015 at 01:00 #7411TNParticipantMy project compiled fine before but not anymore, not sure if it’s related to the new Nordic NRF5x BSP?
Getting this error “macro “APP_TIMER_APPSH_INIT” passed 4 arguments, but takes just 3″ now.December 28, 2015 at 16:24 #7412mlowerParticipantThat’s because there was an SDK update. BSP 2.0 is bundled with SDK 10.0. Previous was using SDK 9.0. Among other things app_timer stuff was changed. You have to correct all timer declarations in you code. My project wasn’t compiling at first after the change too. Apart from timer init you have replace all app_timer_id variables with APP_TIMER_CREATE macro and define timer scheduler handler.
- This reply was modified 8 years, 11 months ago by mlower.
December 29, 2015 at 03:42 #7415supportKeymasterHi,
We have added a workaround to the “Command line too long” problem in this build: http://sysprogs.com/files/tmp/VisualGDB-5.1.0.617.msi
Let us know if this works.
December 29, 2015 at 12:02 #7418TNParticipantIt works, no problem.
January 5, 2016 at 05:14 #7427supportKeymasterCool. If you encounter any further problems, let us know.
-
AuthorPosts
- You must be logged in to reply to this topic.