PlatformIO Community

Randomly rebuilding all mbed libraries

Hi everyone,

Last night, I’ve created a new project on the disco_l475vg_iot01a board. When building my project without touching any file, PlatformIO sometimes recompiles everything. My platformio.ini last modified timestamp hasn’t changed and it’s still the default content:

[env:disco_l475vg_iot01a]
platform = ststm32
board = disco_l475vg_iot01a
framework = mbed

Here’s my system: MacBook Pro early 2011 (MacBookPro8,1) running macOS Mojave 10.14.6 with PlatformIO 4.0.3.

Here’s two consecutive launches of a pio run:

 …/Projets/190916-EssaiCarteDevelopementSTM32IoTNode  pio run
Processing disco_l475vg_iot01a (platform: ststm32; board: disco_l475vg_iot01a; framework: mbed)
-----------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/ststm32/disco_l475vg_iot01a.html
PLATFORM: ST STM32 5.6.0 > ST DISCO-L475VG-IOT01A
HARDWARE: STM32L475VGT6 80MHz, 128KB RAM, 1MB Flash
DEBUG: Current (stlink) On-board (stlink) External (blackmagic, jlink)
PACKAGES: toolchain-gccarmnoneeabi 1.70201.0 (7.2.1), framework-mbed 5.51304.190826 (5.13.4)
Collecting mbed sources...
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 4 compatible libraries
Scanning dependencies...
No dependencies
Checking size .pio/build/disco_l475vg_iot01a/firmware.elf
Memory Usage -> http://bit.ly/pio-memory-usage
DATA:    [          ]   3.2% (used 4168 bytes from 131072 bytes)
PROGRAM: [          ]   4.6% (used 48460 bytes from 1048576 bytes)
=============================================== [SUCCESS] Took 11.29 seconds ===============================================
 …/Projets/190916-EssaiCarteDevelopementSTM32IoTNode  pio run
Processing disco_l475vg_iot01a (platform: ststm32; board: disco_l475vg_iot01a; framework: mbed)
-----------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/ststm32/disco_l475vg_iot01a.html
PLATFORM: ST STM32 5.6.0 > ST DISCO-L475VG-IOT01A
HARDWARE: STM32L475VGT6 80MHz, 128KB RAM, 1MB Flash
DEBUG: Current (stlink) On-board (stlink) External (blackmagic, jlink)
PACKAGES: toolchain-gccarmnoneeabi 1.70201.0 (7.2.1), framework-mbed 5.51304.190826 (5.13.4)
Collecting mbed sources...
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 4 compatible libraries
Scanning dependencies...
No dependencies
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/drivers/AnalogIn.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/drivers/BusIn.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/drivers/BusInOut.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/drivers/BusOut.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/drivers/CAN.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/drivers/Ethernet.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/drivers/FlashIAP.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/drivers/I2C.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/drivers/I2CSlave.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/drivers/InterruptIn.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/drivers/InterruptManager.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/drivers/MbedCRC.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/drivers/QSPI.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/drivers/RawSerial.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/drivers/ResetReason.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/drivers/SPI.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/drivers/SPISlave.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/drivers/Serial.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/drivers/SerialBase.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/drivers/TableCRC.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/drivers/Ticker.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/drivers/Timeout.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/drivers/Timer.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/drivers/TimerEvent.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/drivers/UARTSerial.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/drivers/Watchdog.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/events/EventQueue.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/events/equeue/equeue.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/events/equeue/equeue_mbed.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/events/equeue/equeue_posix.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/events/mbed_shared_queues.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/hal/LowPowerTickerWrapper.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/hal/mbed_critical_section_api.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/hal/mbed_flash_api.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/hal/mbed_gpio.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/hal/mbed_itm_api.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/hal/mbed_lp_ticker_api.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/hal/mbed_lp_ticker_wrapper.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/hal/mbed_pinmap_common.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/hal/mbed_pinmap_default.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/hal/mbed_ticker_api.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/hal/mbed_us_ticker_api.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/hal/mpu/mbed_mpu_v7m.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/hal/mpu/mbed_mpu_v8m.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/platform/ATCmdParser.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/platform/CThunkBase.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/platform/CallChain.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/platform/FileBase.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/platform/FileHandle.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/platform/FilePath.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/platform/FileSystemHandle.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/platform/LocalFileSystem.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/platform/Stream.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/platform/TARGET_CORTEX_M/TOOLCHAIN_GCC/except.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/platform/TARGET_CORTEX_M/mbed_fault_handler.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/platform/internal/mbed_atomic_impl.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/platform/mbed_alloc_wrappers.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/platform/mbed_application.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/platform/mbed_assert.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/platform/mbed_board.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/platform/mbed_critical.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/platform/mbed_error.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/platform/mbed_error_hist.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/platform/mbed_interface.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/platform/mbed_mem_trace.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/platform/mbed_mktime.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/platform/mbed_mpu_mgmt.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/platform/mbed_poll.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/platform/mbed_retarget.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/platform/mbed_rtc_time.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/platform/mbed_sdk_boot.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/platform/mbed_semihost_api.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/platform/mbed_sleep_manager.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/platform/mbed_stats.o
/Users/gildev/.platformio/packages/framework-mbed/platform/mbed_sleep_manager.c: In function 'sleep_manager_can_deep_sleep_test_check':
/Users/gildev/.platformio/packages/framework-mbed/platform/mbed_sleep_manager.c:202:9: warning: implicit declaration of function 'wait_ns' [-Wimplicit-function-declaration]
         wait_ns(100000); // 100 us
         ^~~~~~~
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/platform/mbed_wait_api_no_rtos.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/platform/mbed_wait_api_rtos.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L475xG/TARGET_DISCO_L475VG_IOT01A/PeripheralPins.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L475xG/TARGET_DISCO_L475VG_IOT01A/system_clock.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L475xG/device/TOOLCHAIN_GCC_ARM/startup_stm32l475xx.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/analogin_device.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/analogout_device.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_adc.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_adc_ex.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_can.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_can_legacy.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_comp.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_cortex.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_crc.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_crc_ex.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_cryp.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_cryp_ex.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_dac.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_dac_ex.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_dcmi.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_dfsdm.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_dfsdm_ex.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_dma.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_dma2d.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_dma_ex.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_dsi.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_firewall.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_flash.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_flash_ex.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_flash_ramfunc.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_gfxmmu.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_gpio.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_hash.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_hash_ex.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_hcd.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_i2c.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_i2c_ex.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_irda.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_iwdg.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_lcd.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_lptim.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_ltdc.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_ltdc_ex.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_nand.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_nor.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_opamp.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_opamp_ex.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_ospi.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_pcd.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_pcd_ex.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_pwr.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_pwr_ex.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_qspi.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_rcc.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_rcc_ex.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_rng.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_rtc.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_rtc_ex.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_sai.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_sai_ex.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_sd.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_sd_ex.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_smartcard.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_smartcard_ex.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_smbus.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_spi.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_spi_ex.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_sram.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_swpmi.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_tim.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_tim_ex.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_tsc.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_uart.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_uart_ex.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_usart.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_usart_ex.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_wwdg.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_ll_adc.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_ll_comp.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_ll_crc.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_ll_crs.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_ll_dac.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_ll_dma.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_ll_dma2d.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_ll_exti.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_ll_fmc.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_ll_gpio.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_ll_i2c.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_ll_lptim.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_ll_lpuart.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_ll_opamp.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_ll_pwr.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_ll_rcc.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_ll_rng.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_ll_rtc.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_ll_sdmmc.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_ll_spi.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_ll_swpmi.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_ll_tim.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_ll_usart.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_ll_usb.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_ll_utils.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/device/system_stm32l4xx.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/flash_api.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/gpio_irq_device.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/pwmout_device.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/serial_device.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/TARGET_STM32L4/spi_api.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/analogin_api.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/analogout_api.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/can_api.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/gpio_api.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/gpio_irq_api.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/hal_tick_overrides.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/i2c_api.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/lp_ticker.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/mbed_crc_api.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/mbed_overrides.o
/Users/gildev/.platformio/packages/framework-mbed/targets/TARGET_STM/lp_ticker.c: In function 'lp_ticker_set_interrupt':
/Users/gildev/.platformio/packages/framework-mbed/targets/TARGET_STM/lp_ticker.c:282:50: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
             if (LP_TIMER_WRAP(last_read_counter  + i) == timestamp) {
                               ~~~~~~~~~~~~~~~~~~~^~~
/Users/gildev/.platformio/packages/framework-mbed/targets/TARGET_STM/lp_ticker.c:51:29: note: in definition of macro 'LP_TIMER_WRAP'
 #define LP_TIMER_WRAP(val) (val & 0xFFFF)
                             ^~~
/Users/gildev/.platformio/packages/framework-mbed/targets/TARGET_STM/lp_ticker.c:283:53: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
                 timestamp = LP_TIMER_WRAP(timestamp + LP_TIMER_SAFE_GUARD);
                                                     ^
/Users/gildev/.platformio/packages/framework-mbed/targets/TARGET_STM/lp_ticker.c:51:29: note: in definition of macro 'LP_TIMER_WRAP'
 #define LP_TIMER_WRAP(val) (val & 0xFFFF)
                             ^~~
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/pinmap.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/port_api.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/pwmout_api.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/qspi_api.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/reset_reason.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/rtc_api.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/serial_api.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/sleep.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/stm_spi_api.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/trng_api.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/us_ticker.o
Compiling .pio/build/disco_l475vg_iot01a/FrameworkMbed/targets/TARGET_STM/watchdog_api.o
Compiling .pio/build/disco_l475vg_iot01a/src/main.o
Generating LD script .pio/build/disco_l475vg_iot01a/STM32L475XX.ld.link_script.ld
Linking .pio/build/disco_l475vg_iot01a/firmware.elf
Checking size .pio/build/disco_l475vg_iot01a/firmware.elf
Memory Usage -> http://bit.ly/pio-memory-usage
DATA:    [          ]   3.2% (used 4168 bytes from 131072 bytes)
PROGRAM: [          ]   4.6% (used 48460 bytes from 1048576 bytes)
=============================================== [SUCCESS] Took 74.48 seconds ===============================================

I’ve seen similar threads but I think causes are different… Any ideas on why this is happening? Thanks!

I had a similar issues, and ever since I updated to Python 3.7 (which took a bit of effort losing the the old 2.7) it been behaving perfectly…

Thanks for you answer. I have Python 3.7.4 installed alongside my 2.7.16. Is there a way to know the Python version PlatformIO is using?

Up! Any idea please?

What does a python --version at the PIO terminal give you? i.e. I’m still running 2.7, so get this…

image

@GilDev did you fix it? I have the same problem…