2018年5月25日 星期五

mbed-cli快速入门  Youku

Web Bluetooth meets ARM mbed OS  evothings.com

(VisualGDB) Importing mbed-cli Projects using Project Importer SDK  

 mbed-os-examples


mbed-cli github

Through Mbed CLI configuration

You can set the KEIL Arm Compiler location via the command:
$ mbed config -G ARM_PATH "C:\Keil_v5\ARM\ARMCC"
ARM_PATH=C:\Keil_v5\ARM\ARMCC
IAR_PATH=C:\Program Files (x86)\IAR Systems\Embedded Workbench 8.0\arm



 Arm Mbed CLI 

mbed CLI 实测流程


Tool Chain

GNU Arm Embedded Toolchain



mbed-cli Test (DISCO_F407VG)  2018/5/27

mbed-os-5.7.0 OK
mbed-os-5.7.3 OK
mbed-os-5.7.4 FAIL (LED Blink Fail!)

mbed-os-5.7.7 FAIL (LED Blink Fail!)


mbed-os-5.8.0 FAIL

mbed-os-5.8.5 FAIL


mbed-cli export error: (for 1.7.0 & 1.7.1NG, 1.6.0 OK)

Test with Python 2.7.11 &2.7.15 @2018/5/27

mbed-cli 1.7.0 test result:
PS C:\Users\Dennis\OneDrive\_work\mbed-cli\bbb> mbed export -i GCC_ARM -m DISCO_F407VG
[mbed] ERROR: Unknown Error: global name 'izip' is not defined
---
PS C:\Users\Dennis\OneDrive\_work\mbed-cli\bbb> mbed --version
1.7.0


PS C:\Users\Dennis\OneDrive\_work\mbed-cli\bbb> mbed export -i GCC_ARM -m DISCO_F407VG
Scan: .
PS C:\Users\Dennis\OneDrive\_work\mbed-cli\bbb> mbed --version
1.6.0


mbed HSE XTAL frequency adjustment:

system_clock.c:

void SetSysClock(void)


stm32f4xx_hal_conf.h:

#if !defined  (HSE_VALUE)
  //#define HSE_VALUE    ((uint32_t)8000000U) /*!< Value of the External oscillator in Hz */
  #define HSE_VALUE    ((uint32_t)16000000U) /*!< Value of the External oscillator in Hz */
#endif /* HSE_VALUE */