2015-09-26 55 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

相关问题