STM32CubeMX
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-07-19 1:33 PM
Posted on July 19, 2014 at 22:33
hi ,
i am currently evaluating STM32CubeMX for STM32F4 , great tool for getting started on New MCU.I have few question : 1.How can i define User Code block ? so when i make changes to existing project the STM32CubeMX generation process wont erase my code ? i notice that there are already Specific User code block place holder , but i have situation when i need to define my own. 2.what is the work flow to combine other RTOS with STM32CubeMX such as Keil CMSIS-RTOS-RTX ?I know that i can add RTX to existing a project using Mange Run-time-Environment (Keil IDE).Thanks ,
This discussion is locked. Please start a new topic to ask your question.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-07-20 4:39 AM
Posted on July 20, 2014 at 13:39
Hi,
1.) in all C-File generated by cube, you see comments like ''/* USER CODE BEGIN x */''and /* USER CODE END 0 */. x starts from 0 and increases. You can put your code between These blocks. When you recreate the Project, your code between These comments is saved and placed again in the same section.Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-07-21 4:44 AM
Posted on July 21, 2014 at 13:44 Hello, You must use the predefined User Blocks. It is not possible to add new blocks. STM32CubeMX current version does not support other RTOS than freeRTOS (natively or via an import mechanism). You will have to do this manually, directly in your project. Best Regards
