A empty project crashed which generated by STM32CubeMX 6.0.1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-09-19 8:06 PM
I used STM32CubeMX 6.0.1 to create a project with features as FreeRTOS, HAL( Systick based on TIM1), USBHost, UART, SPI, I2C, I2S and GPIO etc. The empty framework project compiled by EWARM v8.30.1.17148, reporting nodefinition of CPU_SR_ALLOC(), CPU_CRITICAL_ENTER(), CPU_CRITICAL_EXIT(), OSIntEnter() and OSIntExit. After define these macros to empty, the project linked OK. when I debug the program, it crashed in HAL_Init() - the first line of main(), caused by enabling interrupt.
All of used hardware, like object board, J-link, IDE and other tools are qualified and verifyed.
Please help to find out wrong settings and correct !
Labels:
- Labels:
-
DEBUG
-
STM32Cube MCU Packages
This discussion is locked. Please start a new topic to ask your question.
0 REPLIES 0
