2015-09-26 28 views
1

我正在嘗試使用mbed第一次使用OS X(mbed.org)的開發。我使用ST Microelectronics STM32F401 Nucleo板,並試圖按照「獲取開始「指南。我按照「第一個應用程序」中的說明使用STM32F401解決與Yotta丟失的模塊錯誤

http://docs.mbed.com/docs/getting-started-mbed-os/en/latest/FirstProjectmbedOS/

事情似乎要去找,直到添加依賴的步驟。

我檢查了yotta_modules目錄以查看是否存在所需的模塊。他們不顯示爲現有的。

$ yotta install mbed-drivers 
info: dependency mbed-drivers is already present in module.json 
info: get versions for mbed-hal-st-stm32f401re 
info: get versions for cmsis-core-st-stm32f401xe 
error: Failed to satisfy dependencies of  /Users/xxx/Documents/blinky/yotta_modules/mbed-hal-st-stm32f4: 
error: mbed-hal-st-stm32f401re does not exist in the modules registry. Check that the name is correct, and that it has been published. 
error: Failed to satisfy dependencies of /Users/xxx/Documents/blinky/yotta_modules/cmsis-core-stm32f4: 
error: cmsis-core-st-stm32f401xe does not exist in the modules registry. Check that the name is correct, and that it has been published. 

我看了看被安裝了哪些模塊,這是我所得到的

$ ls yotta_modules/ 
cmsis-core  core-util  mbed-hal-st  minar-platform 
cmsis-core-st  dlmalloc  mbed-hal-st-stm32cubef4 ualloc 
cmsis-core-stm32f4 mbed-drivers  mbed-hal-st-stm32f4 uvisor-lib 
compiler-polyfill mbed-hal  minar 

任何想法,我怎麼去獲得丟失的模塊?

回答

2

目標STM32F401不包含發佈的所有模塊,因爲您可能已經注意到某些模塊丟失了。因爲它還沒有正式支持的目標(http://www.mbed.com/en/development/hardware/boards/

有這個拉請求添加缺少的cmsis-core模塊:https://github.com/ARMmbed/cmsis-core-stm32f4/pull/9。爲了能夠使用它,您可以克隆共享的這些存儲庫並使用yotta鏈接(請在yotta文檔頁面中查看此處的命令描述)。您可以在本地鏈接該模塊。

+0

更新,F401RE模塊已更新,現在應該可用。 – c0170

相關問題