STM32CubeMX hasn't create the app-x-cube-mems.h/.c file in IAR with .X-CUBE-MEMS1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-02-22 04:52 PM
Hi,
I operate the software refer a learn video. Use the .X-CUBE-MEMS1.
But I find the STM32CubeMX hasn't create the app-x-cube-mems.h/.c file .
Could anyone help ?
Attachment is the detail picture for this question
Version as below:
STM32CubeMX version: 5.6.0
IAR verision: 8.30.1
X-CUBE-MEMS1 version: 7.0.0
- Labels:
-
STM32CubeMX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-02-23 08:39 AM
I try use STM32CubeMX version: 5.3.0 with X-CUBE-MEMS1 version: 6.4.0, the x-cube-mems1.h\.c is succesful to create.
So, it is a bug for STM32CubeMX version: 5.6.0? @Eleon BORLINI
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-02-24 01:04 AM
Hello @FZheng
This will be internally checked.
Best Regards,
Khouloud
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-02-24 01:49 AM
@FZheng You need to select/choose a Device Application to obtain app-x-cube-mems.h/.c .
Best Regards ,
Khouloud
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-03-17 07:55 AM
@FZheng There are 2 possibilities to use the Additional Pack
- you choose the Board Component and you are free to develop the application on top of the APIs. In this case the app_x-cube-mems1.[ch] files are not generated
- you choose an Application. In this case an applicative code is generated in the app_x-cube-mems1.[ch] files and it is referenced in the main.c. However, in this way you have less freedom to regenerate the code in STM32CubeMX a second time. Either you put your code between /* USER BEGIN */ ... /* USER END */ sections, or it will be overridden when you press GENERATE CODE button a second time
Please ensure that all dependencies are satisfied before you generate the code. This means that a green checbox appears in all items in picture 1 and picture 2 of your attachments.
Best regards,
Luca