首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >用STM32F401解决Yotta缺少的模块错误

用STM32F401解决Yotta缺少的模块错误
EN

Stack Overflow用户
提问于 2015-09-26 18:47:20
回答 1查看 396关注 0票数 1

我第一次尝试使用mbed开发(mbed.org)使用OS。我正在使用ST微电子STM32F401核心板,并试图遵循“入门”指南。我遵循“你的第一份申请”中的说明

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

在添加依赖项的步骤之前,事情似乎一直在进行。

我检查了yotta_modules目录,以确定是否存在所需的模块。它们并不是存在的。

代码语言:javascript
复制
$ 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.

我看了一下安装了哪些模块,这就是我得到的

代码语言:javascript
复制
$ 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

你知道我怎么才能得到丢失的模块吗?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2015-09-28 09:48:30

目标STM32F401并不包含所有已发布的模块,因为您可能已经注意到一些模块丢失了。因为它尚未成为官方支持的目标(http://www.mbed.com/en/development/hardware/boards/)

有一个拉请求添加了缺少的cmsis核心模块:https://github.com/ARMmbed/cmsis-core-stm32f4/pull/9。为了能够使用它,您可以克隆那些共享的存储库,并使用yotta链接(查看yotta文档页面中的命令描述)。您可以在本地链接该模块。

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/32800762

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档