Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial project build error with board "u-blox EVK-ODIN-W2" #6

Open
semonec opened this issue Oct 21, 2017 · 0 comments
Open

Initial project build error with board "u-blox EVK-ODIN-W2" #6

semonec opened this issue Oct 21, 2017 · 0 comments

Comments

@semonec
Copy link

semonec commented Oct 21, 2017

Hello, I'm a new comer this platformIO.
I have two boards, u-blox EVK-ODIN-W2, and NXP FRDM-K64F.

second one, FRDM-K64F easily build with PlatformIO IDE.
but the first one, u-blox EVK-ODIN-W2 couldn't build with initial empty project.

that build error message is below.

Executing task: platformio run <

[Sun Oct 22 01:07:30 2017] Processing ublox_evk_odin_w2 (platform: ststm32; board: ublox_evk_odin_w2; framework: mbed)

Verbose mode can be enabled via -v, --verbose option
Collected 22 compatible libraries
Looking for dependencies...
No dependencies
Compiling .pioenvs/ublox_evk_odin_w2/FrameworkMbedCore/drivers/AnalogIn.o
Compiling .pioenvs/ublox_evk_odin_w2/FrameworkMbedCore/drivers/BusIn.o
Compiling .pioenvs/ublox_evk_odin_w2/FrameworkMbedCore/drivers/BusInOut.o
Compiling .pioenvs/ublox_evk_odin_w2/FrameworkMbedCore/drivers/BusOut.o
Compiling .pioenvs/ublox_evk_odin_w2/FrameworkMbedCore/drivers/CAN.o
Compiling .pioenvs/ublox_evk_odin_w2/FrameworkMbedCore/drivers/Ethernet.o
Compiling .pioenvs/ublox_evk_odin_w2/FrameworkMbedCore/drivers/FlashIAP.o
Compiling .pioenvs/ublox_evk_odin_w2/FrameworkMbedCore/drivers/I2C.o
Compiling .pioenvs/ublox_evk_odin_w2/FrameworkMbedCore/drivers/I2CSlave.o
Compiling .pioenvs/ublox_evk_odin_w2/FrameworkMbedCore/drivers/InterruptIn.o
Compiling .pioenvs/ublox_evk_odin_w2/FrameworkMbedCore/drivers/InterruptManager.o
Compiling .pioenvs/ublox_evk_odin_w2/FrameworkMbedCore/drivers/RawSerial.o
Compiling .pioenvs/ublox_evk_odin_w2/FrameworkMbedCore/drivers/SPI.o
Compiling .pioenvs/ublox_evk_odin_w2/FrameworkMbedCore/drivers/SPISlave.o
Compiling .pioenvs/ublox_evk_odin_w2/FrameworkMbedCore/drivers/Serial.o
Compiling .pioenvs/ublox_evk_odin_w2/FrameworkMbedCore/drivers/SerialBase.o
Compiling .pioenvs/ublox_evk_odin_w2/FrameworkMbedCore/drivers/Ticker.o
Compiling .pioenvs/ublox_evk_odin_w2/FrameworkMbedCore/drivers/Timeout.o
Compiling .pioenvs/ublox_evk_odin_w2/FrameworkMbedCore/drivers/Timer.o
Compiling .pioenvs/ublox_evk_odin_w2/FrameworkMbedCore/drivers/TimerEvent.o
Compiling .pioenvs/ublox_evk_odin_w2/FrameworkMbedCore/drivers/UARTSerial.o
Compiling .pioenvs/ublox_evk_odin_w2/FrameworkMbedCore/hal/mbed_flash_api.o
Compiling .pioenvs/ublox_evk_odin_w2/FrameworkMbedCore/hal/mbed_gpio.o
Compiling .pioenvs/ublox_evk_odin_w2/FrameworkMbedCore/hal/mbed_lp_ticker_api.o
Compiling .pioenvs/ublox_evk_odin_w2/FrameworkMbedCore/hal/mbed_pinmap_common.o
Compiling .pioenvs/ublox_evk_odin_w2/FrameworkMbedCore/hal/mbed_sleep_manager.o
Compiling .pioenvs/ublox_evk_odin_w2/FrameworkMbedCore/hal/mbed_ticker_api.o
Compiling .pioenvs/ublox_evk_odin_w2/FrameworkMbedCore/hal/mbed_us_ticker_api.o
Compiling .pioenvs/ublox_evk_odin_w2/FrameworkMbedCore/platform/ATCmdParser.o
Compiling .pioenvs/ublox_evk_odin_w2/FrameworkMbedCore/platform/CallChain.o
Compiling .pioenvs/ublox_evk_odin_w2/FrameworkMbedCore/platform/FileBase.o
Compiling .pioenvs/ublox_evk_odin_w2/FrameworkMbedCore/platform/FileHandle.o
Compiling .pioenvs/ublox_evk_odin_w2/FrameworkMbedCore/platform/FilePath.o
Compiling .pioenvs/ublox_evk_odin_w2/FrameworkMbedCore/platform/FileSystemHandle.o
Compiling .pioenvs/ublox_evk_odin_w2/FrameworkMbedCore/platform/LocalFileSystem.o
Compiling .pioenvs/ublox_evk_odin_w2/FrameworkMbedCore/platform/Stream.o
Compiling .pioenvs/ublox_evk_odin_w2/FrameworkMbedCore/platform/mbed_alloc_wrappers.o
Compiling .pioenvs/ublox_evk_odin_w2/FrameworkMbedCore/platform/mbed_application.o
Compiling .pioenvs/ublox_evk_odin_w2/FrameworkMbedCore/platform/mbed_assert.o
Compiling .pioenvs/ublox_evk_odin_w2/FrameworkMbedCore/platform/mbed_board.o
Compiling .pioenvs/ublox_evk_odin_w2/FrameworkMbedCore/platform/mbed_critical.o
Compiling .pioenvs/ublox_evk_odin_w2/FrameworkMbedCore/platform/mbed_error.o
Compiling .pioenvs/ublox_evk_odin_w2/FrameworkMbedCore/platform/mbed_interface.o
Compiling .pioenvs/ublox_evk_odin_w2/FrameworkMbedCore/platform/mbed_mem_trace.o
Compiling .pioenvs/ublox_evk_odin_w2/FrameworkMbedCore/platform/mbed_mktime.o
/Users/---/.platformio/packages/framework-mbed/platform/mbed_critical.c: In function 'core_util_critical_section_exit':
/Users/---/.platformio/packages/framework-mbed/platform/mbed_critical.c:86:14: warning: unused variable 'interrupts_disabled' [-Wunused-variable]
bool interrupts_disabled = !core_util_are_interrupts_enabled(); /* get the current interrupt disabled state */
^~~~~~~~~~~~~~~~~~~
Compiling .pioenvs/ublox_evk_odin_w2/FrameworkMbedCore/platform/mbed_poll.o
Compiling .pioenvs/ublox_evk_odin_w2/FrameworkMbedCore/platform/mbed_retarget.o
Compiling .pioenvs/ublox_evk_odin_w2/FrameworkMbedCore/platform/mbed_rtc_time.o
Compiling .pioenvs/ublox_evk_odin_w2/FrameworkMbedCore/platform/mbed_sdk_boot.o
Compiling .pioenvs/ublox_evk_odin_w2/FrameworkMbedCore/platform/mbed_semihost_api.o
Compiling .pioenvs/ublox_evk_odin_w2/FrameworkMbedCore/platform/mbed_stats.o
Compiling .pioenvs/ublox_evk_odin_w2/FrameworkMbedCore/platform/mbed_wait_api_no_rtos.o
Compiling .pioenvs/ublox_evk_odin_w2/FrameworkMbedCore/platform/mbed_wait_api_rtos.o
Compiling .pioenvs/ublox_evk_odin_w2/FrameworkMbedCore/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F439xI/TARGET_UBLOX_EVK_ODIN_W2/PeripheralPins.o
Compiling .pioenvs/ublox_evk_odin_w2/FrameworkMbedCore/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F439xI/TARGET_UBLOX_EVK_ODIN_W2/sdk/wifi_emac/wifi_emac_api.o
Compiling .pioenvs/ublox_evk_odin_w2/FrameworkMbedCore/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F439xI/TARGET_UBLOX_EVK_ODIN_W2/system_clock.o
In file included from /Users/---/.platformio/packages/framework-mbed/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F439xI/TARGET_UBLOX_EVK_ODIN_W2/sdk/wifi_emac/wifi_emac_api.cpp:4:0:
/Users/---/.platformio/packages/framework-mbed/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F439xI/TARGET_UBLOX_EVK_ODIN_W2/sdk/ublox-odin-w2-drivers/cb_main.h:28:25: fatal error: mbed_events.h: No such file or directory
#include "mbed_events.h"
^
compilation terminated.
Compiling .pioenvs/ublox_evk_odin_w2/FrameworkMbedCore/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F439xI/device/TOOLCHAIN_GCC_ARM/startup_stm32f439xx.o
Compiling .pioenvs/ublox_evk_odin_w2/FrameworkMbedCore/targets/TARGET_STM/TARGET_STM32F4/analogin_api.o
Compiling .pioenvs/ublox_evk_odin_w2/FrameworkMbedCore/targets/TARGET_STM/TARGET_STM32F4/analogout_device.o
*** [.pioenvs/ublox_evk_odin_w2/FrameworkMbedCore/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F439xI/TARGET_UBLOX_EVK_ODIN_W2/sdk/wifi_emac/wifi_emac_api.o] Error 1
/Users/---/.platformio/packages/framework-mbed/targets/TARGET_STM/TARGET_STM32F4/analogin_api.c: In function 'analogin_init':
/Users/---/.platformio/packages/framework-mbed/targets/TARGET_STM/TARGET_STM32F4/analogin_api.c:55:14: warning: comparison is always true due to limited range of data type [-Wtype-limits]
if ((pin < 0xF0) || (pin >= 0x100)) {
^
/Users/---/.platformio/packages/framework-mbed/targets/TARGET_STM/TARGET_STM32F4/analogin_api.c:55:30: warning: comparison is always false due to limited range of data type [-Wtype-limits]
if ((pin < 0xF0) || (pin >= 0x100)) {
^~
======================================================================= [ERROR] Took 3.07 seconds =======================================================================
The terminal process terminated with exit code: 1

Terminal will be reused by tasks, press any key to close it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant