Hi,
I’m trying to switch to fork of mbed.
Defining in platformio.ini
[env:nucleo_f429zi]
platform = ststm32
board = nucleo_f429zi
framework = mbed
platform_packages = framework-mbed @ https://github.com/EmbeddedPlanet/mbed-os.git#feature-hal-spec-sai
looks like solution. While Clean PIO pulls repository and trying to deal with custom framework.
But I have error while Build:
> Executing task in folder nucleo-f429_adar: platformio run <
Processing nucleo_f429zi (platform: ststm32; board: nucleo_f429zi; framework: mbed)
------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/ststm32/nucleo_f429zi.html
PLATFORM: ST STM32 6.1.0 > ST Nucleo F429ZI
HARDWARE: STM32F429ZIT6 180MHz, 256KB RAM, 2MB Flash
DEBUG: Current (stlink) On-board (stlink) External (blackmagic, jlink)
PACKAGES:
- framework-mbed daf6b329
- toolchain-gccarmnoneeabi 1.70201.0 (7.2.1)
warning: Calling missing SConscript without error is deprecated.
Transition by adding must_exist=0 to SConscript calls.
Missing SConscript '/home/shtirlich/.platformio/packages/framework-mbed@src-289d2467bb098b61a3eff2311493280d/platformio/platformio-build.py'
File "/home/shtirlich/.platformio/platforms/ststm32/builder/frameworks/mbed.py", line 37, in <module>
I’v inspected “original” and pulled mbed folders and I see that first one have platformio sub-folder. Official mbed repo GitHub - ARMmbed/mbed-os: Arm Mbed OS is a platform operating system designed for the internet of things doesn’t , as fork I would like to use.
Manually copying it I’m able to build my project, but switching mbed commit will brake magic = )
So, what is a official way for switching to custom mbed os commits, @ivankravets ?