2025-08-26 10:23 PM - last edited on 2025-08-27 1:16 AM by mƎALLEm
在32位中,字的单位应该要*4吧?为什么这里直接是按字节赋值???坑死我了
Translation:
"In 32-bit, the word unit should be * 4, right? Why is it assigned directly by byte here? ? ?"
Edited by ST moderator to be inline with the community rules.
In next time please write in English as it's an international community. Thank you for your understanding.
2025-08-27 2:45 AM
Hello
What is the MCU part number you are using?
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2025-10-31 10:20 AM
Hello @dxgvbsdfgsd
The user must be aware that the macro is defined in words. In this case you should use it as a value in words and convert it to bytes when required. For example, in definition of defaultTask in main.c the stack size is multiplied by 4to convert it from words to bytes.
BR, Souhaib
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.