mbed-cli incompatible with mbedmicro/mbed
See original GitHub issueHi,
for deforking Morpheus and porting uVisor I am trying to get the blinky example to compile on top of mbedmicro/mbed. The first problem I ran into was that mbed-cli
is expecting the directory βtoolsβ rather than βworkspace_toolsβ. I was able to fix that using a symbolic link:
milmer01@localhost:~/mbed/defork-blinky$ tree -L 2
.
βββ main.cpp
βββ mbed-os
βΒ Β βββ CONTRIBUTING.md
βΒ Β βββ docs
βΒ Β βββ libraries
βΒ Β βββ LICENSE
βΒ Β βββ MANIFEST.in
βΒ Β βββ README.md
βΒ Β βββ requirements.txt
βΒ Β βββ setup.py
βΒ Β βββ tools -> workspace_tools
βΒ Β βββ travis
βΒ Β βββ workspace_tools
βββ mbed-os.lib
with the symbolic link I get the following behaviour:
milmer01@localhost:~/mbed/defork-blinky$ mbed compile -m LPC1768 -t GCC_ARM -j 0 -c
[WARNING] Using default settings. Define your settings in the file "workspace_tools/private_settings.py" or in "./mbed_settings.py"
Building project . (LPC1768, GCC_ARM)
Compile: main.cpp
[ERROR] arm-none-eabi-g++: error: ./main.cpp: No such file or directory
arm-none-eabi-g++: fatal error: no input files
compilation terminated.
Q: Can you please back-port mbed-cli and re-apply the changes you did to the build tools?
I am using mbed-cli of version:
milmer01@localhost:~/mbed/defork-blinky$ mbed -h
usage: mbed [-h] ...
Command-line code management tool for ARM mbed OS - http://www.mbed.com
version 0.1.7
[...]
milmer01@localhost:~/mbed/defork-blinky$ md5sum `which mbed`
2dd8ccf6151c28904f5305928879868f /usr/bin/mbed
the verbose output of mbed-cli:
milmer01@localhost:~/mbed/defork-blinky$ mbed compile -m LPC1768 -t GCC_ARM -j 0 -c -v
[mbed] Working path "/home/milmer01/mbed/defork-blinky" (program)
[mbed] Exec "python /home/milmer01/mbed/defork-blinky/mbed-os/tools/make.py -t GCC_ARM -m LPC1768 --source . --build ./.build/LPC1768/GCC_ARM -v -j 0 -c"" in /home/milmer01/mbed/defork-blinky
[WARNING] Using default settings. Define your settings in the file "workspace_tools/private_settings.py" or in "./mbed_settings.py"
Building project . (LPC1768, GCC_ARM)
Compile: main.cpp
[DEBUG] Command: arm-none-eabi-g++ -std=gnu++98 -fno-rtti -c -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -fmessage-length=0 -fno-exceptions -fno-builtin -ffunction-sections -fdata-sections -MMD -fno-delete-null-pointer-checks -fomit-frame-pointer -mcpu=cortex-m3 -mthumb -O2 -DTOOLCHAIN_GCC_ARM -DTOOLCHAIN_GCC -DMBED_BUILD_TIMESTAMP=1463674698.06 -DARM_MATH_CM3 -DTARGET_LIKE_CORTEX_M3 -DTARGET_CORTEX_M -DTARGET_LIKE_MBED -DTARGET_LPC176X -DTARGET_NXP -DTARGET_LPC1768 -D__CORTEX_M3 -DTARGET_M3 -DTARGET_MBED_LPC1768 -D__MBED__=1 -I. -I./mbed-os -I./mbed-os/libraries -I./mbed-os/libraries/USBHost -I./mbed-os/libraries/USBHost/USBHost -I./mbed-os/libraries/USBHost/USBHostMSD -I./mbed-os/libraries/USBHost/USBHostMIDI -I./mbed-os/libraries/USBHost/USBHostSerial -I./mbed-os/libraries/USBHost/USBHost3GModule -I./mbed-os/libraries/USBHost/USBHostHID -I./mbed-os/libraries/USBHost/USBHostHub -I./mbed-os/libraries/fs -I./mbed-os/libraries/fs/sd -I./mbed-os/libraries/fs/fat -I./mbed-os/libraries/fs/fat/ChaN -I./mbed-os/libraries/USBDevice -I./mbed-os/libraries/USBDevice/USBDevice -I./mbed-os/libraries/USBDevice/USBHID -I./mbed-os/libraries/USBDevice/USBSerial -I./mbed-os/libraries/USBDevice/USBAudio -I./mbed-os/libraries/USBDevice/USBMIDI -I./mbed-os/libraries/USBDevice/USBMSD -I./mbed-os/libraries/net -I./mbed-os/libraries/net/eth -I./mbed-os/libraries/net/eth/EthernetInterface -I./mbed-os/libraries/net/eth/lwip-eth -I./mbed-os/libraries/net/eth/lwip-eth/arch -I./mbed-os/libraries/net/eth/lwip-eth/arch/TARGET_NXP -I./mbed-os/libraries/net/https -I./mbed-os/libraries/net/https/axTLS -I./mbed-os/libraries/net/https/axTLS/ssl -I./mbed-os/libraries/net/https/axTLS/crypto -I./mbed-os/libraries/net/lwip -I./mbed-os/libraries/net/lwip/lwip-sys -I./mbed-os/libraries/net/lwip/lwip-sys/arch -I./mbed-os/libraries/net/lwip/lwip -I./mbed-os/libraries/net/lwip/lwip/netif -I./mbed-os/libraries/net/lwip/lwip/netif/ppp -I./mbed-os/libraries/net/lwip/lwip/include -I./mbed-os/libraries/net/lwip/lwip/include/netif -I./mbed-os/libraries/net/lwip/lwip/include/ipv4 -I./mbed-os/libraries/net/lwip/lwip/include/ipv4/lwip -I./mbed-os/libraries/net/lwip/lwip/include/lwip -I./mbed-os/libraries/net/lwip/lwip/core -I./mbed-os/libraries/net/lwip/lwip/core/ipv4 -I./mbed-os/libraries/net/lwip/lwip/core/snmp -I./mbed-os/libraries/net/lwip/lwip/api -I./mbed-os/libraries/net/lwip/Socket -I./mbed-os/libraries/net/cellular -I./mbed-os/libraries/net/cellular/CellularModem -I./mbed-os/libraries/net/cellular/CellularModem/ip -I./mbed-os/libraries/net/cellular/CellularModem/ussd -I./mbed-os/libraries/net/cellular/CellularModem/core -I./mbed-os/libraries/net/cellular/CellularModem/link -I./mbed-os/libraries/net/cellular/CellularModem/at -I./mbed-os/libraries/net/cellular/CellularModem/sms -I./mbed-os/libraries/net/cellular/UbloxUSBModem -I./mbed-os/libraries/net/cellular/CellularUSBModem -I./mbed-os/libraries/net/cellular/CellularUSBModem/serial -I./mbed-os/libraries/net/cellular/CellularUSBModem/serial/usb -I./mbed-os/libraries/net/cellular/CellularUSBModem/serial/io -I./mbed-os/libraries/rpc -I./mbed-os/libraries/tests -I./mbed-os/libraries/tests/usb -I./mbed-os/libraries/tests/usb/device -I./mbed-os/libraries/tests/usb/device/keyboard -I./mbed-os/libraries/tests/usb/device/mouse_keyboard -I./mbed-os/libraries/tests/usb/device/audio -I./mbed-os/libraries/tests/usb/device/raw_hid -I./mbed-os/libraries/tests/usb/device/serial -I./mbed-os/libraries/tests/usb/device/midi -I./mbed-os/libraries/tests/usb/device/basic -I./mbed-os/libraries/tests/peripherals -I./mbed-os/libraries/tests/peripherals/MMA8451Q -I./mbed-os/libraries/tests/peripherals/TSI -I./mbed-os/libraries/tests/peripherals/AT30TSE75X -I./mbed-os/libraries/tests/peripherals/TMP102 -I./mbed-os/libraries/tests/peripherals/C12832 -I./mbed-os/libraries/tests/peripherals/MMA7660 -I./mbed-os/libraries/tests/peripherals/ADXL345 -I./mbed-os/libraries/tests/peripherals/AX12 -I./mbed-os/libraries/tests/peripherals/SRF08 -I./mbed-os/libraries/tests/net -I./mbed-os/libraries/tests/net/protocols -I./mbed-os/libraries/tests/net/protocols/HTTPClient_HelloWorld -I./mbed-os/libraries/tests/net/protocols/HTTPClient_HelloWorld/HTTPClient -I./mbed-os/libraries/tests/net/protocols/HTTPClient_HelloWorld/HTTPClient/data -I./mbed-os/libraries/tests/net/protocols/NTPClient_HelloWorld -I./mbed-os/libraries/tests/net/protocols/NTPClient_HelloWorld/NTPClient -I./mbed-os/libraries/tests/net/echo -I./mbed-os/libraries/tests/net/echo/tcp_client_loop -I./mbed-os/libraries/tests/net/echo/tcp_client -I./mbed-os/libraries/tests/net/echo/tcp_server -I./mbed-os/libraries/tests/net/echo/udp_server -I./mbed-os/libraries/tests/net/echo/udp_client -I./mbed-os/libraries/tests/net/echo/udp_link_layer -I./mbed-os/libraries/tests/net/helloworld -I./mbed-os/libraries/tests/net/helloworld/multicast_send -I./mbed-os/libraries/tests/net/helloworld/tcpclient -I./mbed-os/libraries/tests/net/helloworld/broadcast_receive -I./mbed-os/libraries/tests/net/helloworld/multicast_receive -I./mbed-os/libraries/tests/net/helloworld/udpclient -I./mbed-os/libraries/tests/net/helloworld/broadcast_send -I./mbed-os/libraries/tests/net/cellular -I./mbed-os/libraries/tests/net/cellular/http -I./mbed-os/libraries/tests/net/cellular/http/common -I./mbed-os/libraries/tests/net/cellular/http/common/HTTPClient -I./mbed-os/libraries/tests/net/cellular/http/common/HTTPClient/data -I./mbed-os/libraries/tests/net/cellular/http/ubloxusb -I./mbed-os/libraries/tests/net/cellular/sms -I./mbed-os/libraries/tests/net/cellular/sms/common -I./mbed-os/libraries/tests/net/cellular/sms/ubloxusb -I./mbed-os/libraries/tests/utest -I./mbed-os/libraries/tests/utest/semihost_fs -I./mbed-os/libraries/tests/utest/i2c_eeprom_asynch -I./mbed-os/libraries/tests/utest/serial_asynch -I./mbed-os/libraries/tests/utest/bus -I./mbed-os/libraries/tests/utest/testrunner -I./mbed-os/libraries/tests/utest/lp_ticker -I./mbed-os/libraries/tests/utest/basic -I./mbed-os/libraries/tests/utest/general -I./mbed-os/libraries/tests/utest/spi_asynch -I./mbed-os/libraries/tests/rtos -I./mbed-os/libraries/tests/rtos/cmsis -I./mbed-os/libraries/tests/rtos/cmsis/timer -I./mbed-os/libraries/tests/rtos/cmsis/signals -I./mbed-os/libraries/tests/rtos/cmsis/semaphore -I./mbed-os/libraries/tests/rtos/cmsis/mutex -I./mbed-os/libraries/tests/rtos/cmsis/mail -I./mbed-os/libraries/tests/rtos/cmsis/queue -I./mbed-os/libraries/tests/rtos/cmsis/basic -I./mbed-os/libraries/tests/rtos/cmsis/isr -I./mbed-os/libraries/tests/rtos/mbed -I./mbed-os/libraries/tests/rtos/mbed/timer -I./mbed-os/libraries/tests/rtos/mbed/signals -I./mbed-os/libraries/tests/rtos/mbed/semaphore -I./mbed-os/libraries/tests/rtos/mbed/mutex -I./mbed-os/libraries/tests/rtos/mbed/mail -I./mbed-os/libraries/tests/rtos/mbed/file -I./mbed-os/libraries/tests/rtos/mbed/queue -I./mbed-os/libraries/tests/rtos/mbed/basic -I./mbed-os/libraries/tests/rtos/mbed/isr -I./mbed-os/libraries/tests/export -I./mbed-os/libraries/tests/export/mcb1700 -I./mbed-os/libraries/tests/mbed -I./mbed-os/libraries/tests/mbed/i2c_master_slave -I./mbed-os/libraries/tests/mbed/analog_in -I./mbed-os/libraries/tests/mbed/spi -I./mbed-os/libraries/tests/mbed/portinout -I./mbed-os/libraries/tests/mbed/stdio -I./mbed-os/libraries/tests/mbed/sd -I./mbed-os/libraries/tests/mbed/stdio_benchmark -I./mbed-os/libraries/tests/mbed/sd_perf_stdio -I./mbed-os/libraries/tests/mbed/ticker_2 -I./mbed-os/libraries/tests/mbed/sleep_timeout -I./mbed-os/libraries/tests/mbed/vtor_reloc -I./mbed-os/libraries/tests/mbed/pwm -I./mbed-os/libraries/tests/mbed/cstring -I./mbed-os/libraries/tests/mbed/ticker_mfun -I./mbed-os/libraries/tests/mbed/i2c_mma7660 -I./mbed-os/libraries/tests/mbed/portout_portin -I./mbed-os/libraries/tests/mbed/spifi2 -I./mbed-os/libraries/tests/mbed/bus -I./mbed-os/libraries/tests/mbed/detect -I./mbed-os/libraries/tests/mbed/blinky -I./mbed-os/libraries/tests/mbed/fs -I./mbed-os/libraries/tests/mbed/call_before_main -I./mbed-os/libraries/tests/mbed/stl -I./mbed-os/libraries/tests/mbed/serial_nc_tx -I./mbed-os/libraries/tests/mbed/env -I./mbed-os/libraries/tests/mbed/i2c_eeprom -I./mbed-os/libraries/tests/mbed/can -I./mbed-os/libraries/tests/mbed/sd_perf_fatfs -I./mbed-os/libraries/tests/mbed/spi_master -I./mbed-os/libraries/tests/mbed/sleep -I./mbed-os/libraries/tests/mbed/i2c_TMP102 -I./mbed-os/libraries/tests/mbed/rpc -I./mbed-os/libraries/tests/mbed/sd_perf_fhandle -I./mbed-os/libraries/tests/mbed/portout -I./mbed-os/libraries/tests/mbed/i2c_master -I./mbed-os/libraries/tests/mbed/hello -I./mbed-os/libraries/tests/mbed/div -I./mbed-os/libraries/tests/mbed/digitalinout -I./mbed-os/libraries/tests/mbed/i2c_SRF08 -I./mbed-os/libraries/tests/mbed/cpp -I./mbed-os/libraries/tests/mbed/interruptin -I./mbed-os/libraries/tests/mbed/heap_and_stack -I./mbed-os/libraries/tests/mbed/pwm_led -I./mbed-os/libraries/tests/mbed/file -I./mbed-os/libraries/tests/mbed/interruptin_2 -I./mbed-os/libraries/tests/mbed/serial_interrupt_2 -I./mbed-os/libraries/tests/mbed/i2c_MMA8451Q -I./mbed-os/libraries/tests/mbed/dir_sd -I./mbed-os/libraries/tests/mbed/spi_C12832 -I./mbed-os/libraries/tests/mbed/reset -I./mbed-os/libraries/tests/mbed/dev_null -I./mbed-os/libraries/tests/mbed/time_us -I./mbed-os/libraries/tests/mbed/timeout -I./mbed-os/libraries/tests/mbed/spifi1 -I./mbed-os/libraries/tests/mbed/tsi -I./mbed-os/libraries/tests/mbed/dir -I./mbed-os/libraries/tests/mbed/can_loopback -I./mbed-os/libraries/tests/mbed/interrupt_chaining -I./mbed-os/libraries/tests/mbed/i2c_eeprom_line -I./mbed-os/libraries/tests/mbed/echo -I./mbed-os/libraries/tests/mbed/freopen -I./mbed-os/libraries/tests/mbed/bus_out -I./mbed-os/libraries/tests/mbed/modserial -I./mbed-os/libraries/tests/mbed/serial_nc_rx -I./mbed-os/libraries/tests/mbed/basic -I./mbed-os/libraries/tests/mbed/i2c_slave -I./mbed-os/libraries/tests/mbed/echo_flow_control -I./mbed-os/libraries/tests/mbed/serial_interrupt -I./mbed-os/libraries/tests/mbed/spi_ADXL345 -I./mbed-os/libraries/tests/mbed/spi_slave -I./mbed-os/libraries/tests/mbed/can_interrupt -I./mbed-os/libraries/tests/mbed/wfi -I./mbed-os/libraries/tests/mbed/semihost -I./mbed-os/libraries/tests/mbed/analog_pot -I./mbed-os/libraries/tests/mbed/ticker -I./mbed-os/libraries/tests/mbed/rtc -I./mbed-os/libraries/tests/mbed/pin_toggling -I./mbed-os/libraries/tests/mbed/i2c_at30tse75x -I./mbed-os/libraries/tests/mbed/digitalin_digitalout -I./mbed-os/libraries/tests/mbed/analog -I./mbed-os/libraries/tests/mbed/ticker_3 -I./mbed-os/libraries/tests/dsp -I./mbed-os/libraries/tests/dsp/cmsis -I./mbed-os/libraries/tests/dsp/cmsis/fir_f32 -I./mbed-os/libraries/tests/dsp/mbed -I./mbed-os/libraries/tests/dsp/mbed/fir_f32 -I./mbed-os/libraries/tests/benchmarks -I./mbed-os/libraries/tests/benchmarks/all -I./mbed-os/libraries/tests/benchmarks/cenv -I./mbed-os/libraries/tests/benchmarks/printf -I./mbed-os/libraries/tests/benchmarks/float_math -I./mbed-os/libraries/tests/benchmarks/mbed -I./mbed-os/libraries/tests/libs -I./mbed-os/libraries/tests/libs/SPIHalfDuplex -I./mbed-os/libraries/tests/libs/SerialHalfDuplex -I./mbed-os/libraries/rtos -I./mbed-os/libraries/rtos/rtx -I./mbed-os/libraries/rtos/rtx/TARGET_CORTEX_M -I./mbed-os/libraries/rtos/rtx/TARGET_CORTEX_M/TARGET_M3 -I./mbed-os/libraries/rtos/rtx/TARGET_CORTEX_M/TARGET_M3/TOOLCHAIN_GCC -I./mbed-os/libraries/rtos/rtos -I./mbed-os/libraries/mbed -I./mbed-os/libraries/mbed/targets -I./mbed-os/libraries/mbed/targets/cmsis -I./mbed-os/libraries/mbed/targets/cmsis/TOOLCHAIN_GCC -I./mbed-os/libraries/mbed/targets/cmsis/TARGET_NXP -I./mbed-os/libraries/mbed/targets/cmsis/TARGET_NXP/TARGET_LPC176X -I./mbed-os/libraries/mbed/targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_GCC_ARM -I./mbed-os/libraries/mbed/targets/hal -I./mbed-os/libraries/mbed/targets/hal/TARGET_NXP -I./mbed-os/libraries/mbed/targets/hal/TARGET_NXP/TARGET_LPC176X -I./mbed-os/libraries/mbed/targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_MBED_LPC1768 -I./mbed-os/libraries/mbed/common -I./mbed-os/libraries/mbed/hal -I./mbed-os/libraries/mbed/api -I./mbed-os/libraries/dsp -I./mbed-os/libraries/dsp/cmsis_dsp -I./mbed-os/libraries/dsp/cmsis_dsp/FilteringFunctions -I./mbed-os/libraries/dsp/cmsis_dsp/ComplexMathFunctions -I./mbed-os/libraries/dsp/cmsis_dsp/BasicMathFunctions -I./mbed-os/libraries/dsp/cmsis_dsp/StatisticsFunctions -I./mbed-os/libraries/dsp/cmsis_dsp/ControllerFunctions -I./mbed-os/libraries/dsp/cmsis_dsp/CommonTables -I./mbed-os/libraries/dsp/cmsis_dsp/FastMathFunctions -I./mbed-os/libraries/dsp/cmsis_dsp/MatrixFunctions -I./mbed-os/libraries/dsp/cmsis_dsp/SupportFunctions -I./mbed-os/libraries/dsp/cmsis_dsp/TransformFunctions -I./mbed-os/libraries/dsp/dsp -I./mbed-os/libraries/doc -I./mbed-os/libraries/doc/net -I./mbed-os/libraries/uvisor -I./mbed-os/libraries/uvisor/targets -I./mbed-os/libraries/uvisor/src -I./mbed-os/libraries/uvisor/inc -I./mbed-os/libraries/uvisor/inc/uvisor -I./mbed-os/libraries/uvisor/inc/uvisor/api -I./mbed-os/libraries/uvisor/inc/uvisor/api/inc -I./mbed-os/libraries/uvisor/importer -I./mbed-os/travis -I./mbed-os/workspace_tools -I./mbed-os/workspace_tools/dev -I./mbed-os/workspace_tools/host_tests -I./mbed-os/workspace_tools/host_tests/example -I./mbed-os/workspace_tools/host_tests/host_tests_plugins -I./mbed-os/workspace_tools/ci_templates -I./mbed-os/workspace_tools/ci_templates/tests_build -I./mbed-os/workspace_tools/ci_templates/library_build -I./mbed-os/workspace_tools/data -I./mbed-os/workspace_tools/data/rpc -I./mbed-os/workspace_tools/toolchains -I./mbed-os/workspace_tools/export -I./mbed-os/workspace_tools/bootloaders -I./mbed-os/workspace_tools/bootloaders/MTS_MDOT_F411RE -I./mbed-os/workspace_tools/bootloaders/MTS_DRAGONFLY_F411RE -I./mbed-os/workspace_tools/buildbot -I./mbed-os/workspace_tools/compliance -I./mbed-os/docs -I. -I./mbed-os -I./mbed-os/libraries -I./mbed-os/libraries/USBHost -I./mbed-os/libraries/USBHost/USBHost -I./mbed-os/libraries/USBHost/USBHostMSD -I./mbed-os/libraries/USBHost/USBHostMIDI -I./mbed-os/libraries/USBHost/USBHostSerial -I./mbed-os/libraries/USBHost/USBHost3GModule -I./mbed-os/libraries/USBHost/USBHostHID -I./mbed-os/libraries/USBHost/USBHostHub -I./mbed-os/libraries/fs -I./mbed-os/libraries/fs/sd -I./mbed-os/libraries/fs/fat -I./mbed-os/libraries/fs/fat/ChaN -I./mbed-os/libraries/USBDevice -I./mbed-os/libraries/USBDevice/USBDevice -I./mbed-os/libraries/USBDevice/USBHID -I./mbed-os/libraries/USBDevice/USBSerial -I./mbed-os/libraries/USBDevice/USBAudio -I./mbed-os/libraries/USBDevice/USBMIDI -I./mbed-os/libraries/USBDevice/USBMSD -I./mbed-os/libraries/net -I./mbed-os/libraries/net/eth -I./mbed-os/libraries/net/eth/EthernetInterface -I./mbed-os/libraries/net/eth/lwip-eth -I./mbed-os/libraries/net/eth/lwip-eth/arch -I./mbed-os/libraries/net/eth/lwip-eth/arch/TARGET_NXP -I./mbed-os/libraries/net/https -I./mbed-os/libraries/net/https/axTLS -I./mbed-os/libraries/net/https/axTLS/ssl -I./mbed-os/libraries/net/https/axTLS/crypto -I./mbed-os/libraries/net/lwip -I./mbed-os/libraries/net/lwip/lwip-sys -I./mbed-os/libraries/net/lwip/lwip-sys/arch -I./mbed-os/libraries/net/lwip/lwip -I./mbed-os/libraries/net/lwip/lwip/netif -I./mbed-os/libraries/net/lwip/lwip/netif/ppp -I./mbed-os/libraries/net/lwip/lwip/include -I./mbed-os/libraries/net/lwip/lwip/include/netif -I./mbed-os/libraries/net/lwip/lwip/include/ipv4 -I./mbed-os/libraries/net/lwip/lwip/include/ipv4/lwip -I./mbed-os/libraries/net/lwip/lwip/include/lwip -I./mbed-os/libraries/net/lwip/lwip/core -I./mbed-os/libraries/net/lwip/lwip/core/ipv4 -I./mbed-os/libraries/net/lwip/lwip/core/snmp -I./mbed-os/libraries/net/lwip/lwip/api -I./mbed-os/libraries/net/lwip/Socket -I./mbed-os/libraries/net/cellular -I./mbed-os/libraries/net/cellular/CellularModem -I./mbed-os/libraries/net/cellular/CellularModem/ip -I./mbed-os/libraries/net/cellular/CellularModem/ussd -I./mbed-os/libraries/net/cellular/CellularModem/core -I./mbed-os/libraries/net/cellular/CellularModem/link -I./mbed-os/libraries/net/cellular/CellularModem/at -I./mbed-os/libraries/net/cellular/CellularModem/sms -I./mbed-os/libraries/net/cellular/UbloxUSBModem -I./mbed-os/libraries/net/cellular/CellularUSBModem -I./mbed-os/libraries/net/cellular/CellularUSBModem/serial -I./mbed-os/libraries/net/cellular/CellularUSBModem/serial/usb -I./mbed-os/libraries/net/cellular/CellularUSBModem/serial/io -I./mbed-os/libraries/rpc -I./mbed-os/libraries/tests -I./mbed-os/libraries/tests/usb -I./mbed-os/libraries/tests/usb/device -I./mbed-os/libraries/tests/usb/device/keyboard -I./mbed-os/libraries/tests/usb/device/mouse_keyboard -I./mbed-os/libraries/tests/usb/device/audio -I./mbed-os/libraries/tests/usb/device/raw_hid -I./mbed-os/libraries/tests/usb/device/serial -I./mbed-os/libraries/tests/usb/device/midi -I./mbed-os/libraries/tests/usb/device/basic -I./mbed-os/libraries/tests/peripherals -I./mbed-os/libraries/tests/peripherals/MMA8451Q -I./mbed-os/libraries/tests/peripherals/TSI -I./mbed-os/libraries/tests/peripherals/AT30TSE75X -I./mbed-os/libraries/tests/peripherals/TMP102 -I./mbed-os/libraries/tests/peripherals/C12832 -I./mbed-os/libraries/tests/peripherals/MMA7660 -I./mbed-os/libraries/tests/peripherals/ADXL345 -I./mbed-os/libraries/tests/peripherals/AX12 -I./mbed-os/libraries/tests/peripherals/SRF08 -I./mbed-os/libraries/tests/net -I./mbed-os/libraries/tests/net/protocols -I./mbed-os/libraries/tests/net/protocols/HTTPClient_HelloWorld -I./mbed-os/libraries/tests/net/protocols/HTTPClient_HelloWorld/HTTPClient -I./mbed-os/libraries/tests/net/protocols/HTTPClient_HelloWorld/HTTPClient/data -I./mbed-os/libraries/tests/net/protocols/NTPClient_HelloWorld -I./mbed-os/libraries/tests/net/protocols/NTPClient_HelloWorld/NTPClient -I./mbed-os/libraries/tests/net/echo -I./mbed-os/libraries/tests/net/echo/tcp_client_loop -I./mbed-os/libraries/tests/net/echo/tcp_client -I./mbed-os/libraries/tests/net/echo/tcp_server -I./mbed-os/libraries/tests/net/echo/udp_server -I./mbed-os/libraries/tests/net/echo/udp_client -I./mbed-os/libraries/tests/net/echo/udp_link_layer -I./mbed-os/libraries/tests/net/helloworld -I./mbed-os/libraries/tests/net/helloworld/multicast_send -I./mbed-os/libraries/tests/net/helloworld/tcpclient -I./mbed-os/libraries/tests/net/helloworld/broadcast_receive -I./mbed-os/libraries/tests/net/helloworld/multicast_receive -I./mbed-os/libraries/tests/net/helloworld/udpclient -I./mbed-os/libraries/tests/net/helloworld/broadcast_send -I./mbed-os/libraries/tests/net/cellular -I./mbed-os/libraries/tests/net/cellular/http -I./mbed-os/libraries/tests/net/cellular/http/common -I./mbed-os/libraries/tests/net/cellular/http/common/HTTPClient -I./mbed-os/libraries/tests/net/cellular/http/common/HTTPClient/data -I./mbed-os/libraries/tests/net/cellular/http/ubloxusb -I./mbed-os/libraries/tests/net/cellular/sms -I./mbed-os/libraries/tests/net/cellular/sms/common -I./mbed-os/libraries/tests/net/cellular/sms/ubloxusb -I./mbed-os/libraries/tests/utest -I./mbed-os/libraries/tests/utest/semihost_fs -I./mbed-os/libraries/tests/utest/i2c_eeprom_asynch -I./mbed-os/libraries/tests/utest/serial_asynch -I./mbed-os/libraries/tests/utest/bus -I./mbed-os/libraries/tests/utest/testrunner -I./mbed-os/libraries/tests/utest/lp_ticker -I./mbed-os/libraries/tests/utest/basic -I./mbed-os/libraries/tests/utest/general -I./mbed-os/libraries/tests/utest/spi_asynch -I./mbed-os/libraries/tests/rtos -I./mbed-os/libraries/tests/rtos/cmsis -I./mbed-os/libraries/tests/rtos/cmsis/timer -I./mbed-os/libraries/tests/rtos/cmsis/signals -I./mbed-os/libraries/tests/rtos/cmsis/semaphore -I./mbed-os/libraries/tests/rtos/cmsis/mutex -I./mbed-os/libraries/tests/rtos/cmsis/mail -I./mbed-os/libraries/tests/rtos/cmsis/queue -I./mbed-os/libraries/tests/rtos/cmsis/basic -I./mbed-os/libraries/tests/rtos/cmsis/isr -I./mbed-os/libraries/tests/rtos/mbed -I./mbed-os/libraries/tests/rtos/mbed/timer -I./mbed-os/libraries/tests/rtos/mbed/signals -I./mbed-os/libraries/tests/rtos/mbed/semaphore -I./mbed-os/libraries/tests/rtos/mbed/mutex -I./mbed-os/libraries/tests/rtos/mbed/mail -I./mbed-os/libraries/tests/rtos/mbed/file -I./mbed-os/libraries/tests/rtos/mbed/queue -I./mbed-os/libraries/tests/rtos/mbed/basic -I./mbed-os/libraries/tests/rtos/mbed/isr -I./mbed-os/libraries/tests/export -I./mbed-os/libraries/tests/export/mcb1700 -I./mbed-os/libraries/tests/mbed -I./mbed-os/libraries/tests/mbed/i2c_master_slave -I./mbed-os/libraries/tests/mbed/analog_in -I./mbed-os/libraries/tests/mbed/spi -I./mbed-os/libraries/tests/mbed/portinout -I./mbed-os/libraries/tests/mbed/stdio -I./mbed-os/libraries/tests/mbed/sd -I./mbed-os/libraries/tests/mbed/stdio_benchmark -I./mbed-os/libraries/tests/mbed/sd_perf_stdio -I./mbed-os/libraries/tests/mbed/ticker_2 -I./mbed-os/libraries/tests/mbed/sleep_timeout -I./mbed-os/libraries/tests/mbed/vtor_reloc -I./mbed-os/libraries/tests/mbed/pwm -I./mbed-os/libraries/tests/mbed/cstring -I./mbed-os/libraries/tests/mbed/ticker_mfun -I./mbed-os/libraries/tests/mbed/i2c_mma7660 -I./mbed-os/libraries/tests/mbed/portout_portin -I./mbed-os/libraries/tests/mbed/spifi2 -I./mbed-os/libraries/tests/mbed/bus -I./mbed-os/libraries/tests/mbed/detect -I./mbed-os/libraries/tests/mbed/blinky -I./mbed-os/libraries/tests/mbed/fs -I./mbed-os/libraries/tests/mbed/call_before_main -I./mbed-os/libraries/tests/mbed/stl -I./mbed-os/libraries/tests/mbed/serial_nc_tx -I./mbed-os/libraries/tests/mbed/env -I./mbed-os/libraries/tests/mbed/i2c_eeprom -I./mbed-os/libraries/tests/mbed/can -I./mbed-os/libraries/tests/mbed/sd_perf_fatfs -I./mbed-os/libraries/tests/mbed/spi_master -I./mbed-os/libraries/tests/mbed/sleep -I./mbed-os/libraries/tests/mbed/i2c_TMP102 -I./mbed-os/libraries/tests/mbed/rpc -I./mbed-os/libraries/tests/mbed/sd_perf_fhandle -I./mbed-os/libraries/tests/mbed/portout -I./mbed-os/libraries/tests/mbed/i2c_master -I./mbed-os/libraries/tests/mbed/hello -I./mbed-os/libraries/tests/mbed/div -I./mbed-os/libraries/tests/mbed/digitalinout -I./mbed-os/libraries/tests/mbed/i2c_SRF08 -I./mbed-os/libraries/tests/mbed/cpp -I./mbed-os/libraries/tests/mbed/interruptin -I./mbed-os/libraries/tests/mbed/heap_and_stack -I./mbed-os/libraries/tests/mbed/pwm_led -I./mbed-os/libraries/tests/mbed/file -I./mbed-os/libraries/tests/mbed/interruptin_2 -I./mbed-os/libraries/tests/mbed/serial_interrupt_2 -I./mbed-os/libraries/tests/mbed/i2c_MMA8451Q -I./mbed-os/libraries/tests/mbed/dir_sd -I./mbed-os/libraries/tests/mbed/spi_C12832 -I./mbed-os/libraries/tests/mbed/reset -I./mbed-os/libraries/tests/mbed/dev_null -I./mbed-os/libraries/tests/mbed/time_us -I./mbed-os/libraries/tests/mbed/timeout -I./mbed-os/libraries/tests/mbed/spifi1 -I./mbed-os/libraries/tests/mbed/tsi -I./mbed-os/libraries/tests/mbed/dir -I./mbed-os/libraries/tests/mbed/can_loopback -I./mbed-os/libraries/tests/mbed/interrupt_chaining -I./mbed-os/libraries/tests/mbed/i2c_eeprom_line -I./mbed-os/libraries/tests/mbed/echo -I./mbed-os/libraries/tests/mbed/freopen -I./mbed-os/libraries/tests/mbed/bus_out -I./mbed-os/libraries/tests/mbed/modserial -I./mbed-os/libraries/tests/mbed/serial_nc_rx -I./mbed-os/libraries/tests/mbed/basic -I./mbed-os/libraries/tests/mbed/i2c_slave -I./mbed-os/libraries/tests/mbed/echo_flow_control -I./mbed-os/libraries/tests/mbed/serial_interrupt -I./mbed-os/libraries/tests/mbed/spi_ADXL345 -I./mbed-os/libraries/tests/mbed/spi_slave -I./mbed-os/libraries/tests/mbed/can_interrupt -I./mbed-os/libraries/tests/mbed/wfi -I./mbed-os/libraries/tests/mbed/semihost -I./mbed-os/libraries/tests/mbed/analog_pot -I./mbed-os/libraries/tests/mbed/ticker -I./mbed-os/libraries/tests/mbed/rtc -I./mbed-os/libraries/tests/mbed/pin_toggling -I./mbed-os/libraries/tests/mbed/i2c_at30tse75x -I./mbed-os/libraries/tests/mbed/digitalin_digitalout -I./mbed-os/libraries/tests/mbed/analog -I./mbed-os/libraries/tests/mbed/ticker_3 -I./mbed-os/libraries/tests/dsp -I./mbed-os/libraries/tests/dsp/cmsis -I./mbed-os/libraries/tests/dsp/cmsis/fir_f32 -I./mbed-os/libraries/tests/dsp/mbed -I./mbed-os/libraries/tests/dsp/mbed/fir_f32 -I./mbed-os/libraries/tests/benchmarks -I./mbed-os/libraries/tests/benchmarks/all -I./mbed-os/libraries/tests/benchmarks/cenv -I./mbed-os/libraries/tests/benchmarks/printf -I./mbed-os/libraries/tests/benchmarks/float_math -I./mbed-os/libraries/tests/benchmarks/mbed -I./mbed-os/libraries/tests/libs -I./mbed-os/libraries/tests/libs/SPIHalfDuplex -I./mbed-os/libraries/tests/libs/SerialHalfDuplex -I./mbed-os/libraries/rtos -I./mbed-os/libraries/rtos/rtx -I./mbed-os/libraries/rtos/rtx/TARGET_CORTEX_M -I./mbed-os/libraries/rtos/rtx/TARGET_CORTEX_M/TARGET_M3 -I./mbed-os/libraries/rtos/rtx/TARGET_CORTEX_M/TARGET_M3/TOOLCHAIN_GCC -I./mbed-os/libraries/rtos/rtos -I./mbed-os/libraries/mbed -I./mbed-os/libraries/mbed/targets -I./mbed-os/libraries/mbed/targets/cmsis -I./mbed-os/libraries/mbed/targets/cmsis/TOOLCHAIN_GCC -I./mbed-os/libraries/mbed/targets/cmsis/TARGET_NXP -I./mbed-os/libraries/mbed/targets/cmsis/TARGET_NXP/TARGET_LPC176X -I./mbed-os/libraries/mbed/targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_GCC_ARM -I./mbed-os/libraries/mbed/targets/hal -I./mbed-os/libraries/mbed/targets/hal/TARGET_NXP -I./mbed-os/libraries/mbed/targets/hal/TARGET_NXP/TARGET_LPC176X -I./mbed-os/libraries/mbed/targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_MBED_LPC1768 -I./mbed-os/libraries/mbed/common -I./mbed-os/libraries/mbed/hal -I./mbed-os/libraries/mbed/api -I./mbed-os/libraries/dsp -I./mbed-os/libraries/dsp/cmsis_dsp -I./mbed-os/libraries/dsp/cmsis_dsp/FilteringFunctions -I./mbed-os/libraries/dsp/cmsis_dsp/ComplexMathFunctions -I./mbed-os/libraries/dsp/cmsis_dsp/BasicMathFunctions -I./mbed-os/libraries/dsp/cmsis_dsp/StatisticsFunctions -I./mbed-os/libraries/dsp/cmsis_dsp/ControllerFunctions -I./mbed-os/libraries/dsp/cmsis_dsp/CommonTables -I./mbed-os/libraries/dsp/cmsis_dsp/FastMathFunctions -I./mbed-os/libraries/dsp/cmsis_dsp/MatrixFunctions -I./mbed-os/libraries/dsp/cmsis_dsp/SupportFunctions -I./mbed-os/libraries/dsp/cmsis_dsp/TransformFunctions -I./mbed-os/libraries/dsp/dsp -I./mbed-os/libraries/doc -I./mbed-os/libraries/doc/net -I./mbed-os/libraries/uvisor -I./mbed-os/libraries/uvisor/targets -I./mbed-os/libraries/uvisor/src -I./mbed-os/libraries/uvisor/inc -I./mbed-os/libraries/uvisor/inc/uvisor -I./mbed-os/libraries/uvisor/inc/uvisor/api -I./mbed-os/libraries/uvisor/inc/uvisor/api/inc -I./mbed-os/libraries/uvisor/importer -I./mbed-os/travis -I./mbed-os/workspace_tools -I./mbed-os/workspace_tools/dev -I./mbed-os/workspace_tools/host_tests -I./mbed-os/workspace_tools/host_tests/example -I./mbed-os/workspace_tools/host_tests/host_tests_plugins -I./mbed-os/workspace_tools/ci_templates -I./mbed-os/workspace_tools/ci_templates/tests_build -I./mbed-os/workspace_tools/ci_templates/library_build -I./mbed-os/workspace_tools/data -I./mbed-os/workspace_tools/data/rpc -I./mbed-os/workspace_tools/toolchains -I./mbed-os/workspace_tools/export -I./mbed-os/workspace_tools/bootloaders -I./mbed-os/workspace_tools/bootloaders/MTS_MDOT_F411RE -I./mbed-os/workspace_tools/bootloaders/MTS_DRAGONFLY_F411RE -I./mbed-os/workspace_tools/buildbot -I./mbed-os/workspace_tools/compliance -I./mbed-os/docs -I/home/milmer01/mbed/defork-blinky/mbed-os/libraries/tests/mbed/env -o ./.build/LPC1768/GCC_ARM/./main.o ./main.cpp
[DEBUG] Return: 1
[DEBUG] Output: arm-none-eabi-g++: error: ./main.cpp: No such file or directory
[DEBUG] Output: arm-none-eabi-g++: fatal error: no input files
[DEBUG] Output: compilation terminated.
Traceback (most recent call last):
File "/home/milmer01/mbed/defork-blinky/mbed-os/tools/make.py", line 251, in <module>
jobs=options.jobs)
File "/home/milmer01/mbed/defork-blinky/mbed-os/workspace_tools/build_api.py", line 182, in build_project
raise e
ToolException: arm-none-eabi-g++: error: ./main.cpp: No such file or directory
arm-none-eabi-g++: fatal error: no input files
compilation terminated.
milmer01@localhost:~/mbed/defork-blinky$ mbed compile -m LPC1768 -t GCC_ARM -j 0 -c
[WARNING] Using default settings. Define your settings in the file "workspace_tools/private_settings.py" or in "./mbed_settings.py"
Building project . (LPC1768, GCC_ARM)
Compile: main.cpp
[ERROR] arm-none-eabi-g++: error: ./main.cpp: No such file or directory
arm-none-eabi-g++: fatal error: no input files
compilation terminated.
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Troubleshoot - Build tools | Mbed OS 6 Documentation
Mbed CLI attempts to automatically install missing Python dependencies. If Mbed CLI doesn't have the necessary permissions, installation fails and Mbed CLI ......
Read more >Enviroment configuration - Husarion
mbed -cli is a package name of Arm Mbed CLI, a command-line tool that enables use of Mbed build system, GIT/Mercurial-based version control,...
Read more >Solved: Fail to run mbed-os-example-bluetooth-mesh-gateway...
I think you updated the mbed-os library to latest one (v6.x) due to which you see errors. The reason being that with mbed-os...
Read more >Working with FRDM Boards and ARM mbed - Blog
Since the FRDM board has two microcontrollers, (debugger microcontroller and the target microcontroller) it can get confusing to understand whatΒ ...
Read more >mbed-cli doesn't work with python3 on Ubuntu 18.04 #836
Using mbed-cli is now giving warning and sometimes weird failures failing to link the application because of some incompatible python code.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@screamerbg As a work-around I was able linking the new mbed-os tools repository into the mbed-micro tree - which fixes the tool problem by running:
This will become available later this week after the tools deforking