인프런 커뮤니티 질문&답변
다른 보드에 포팅 메일 관련
해결된 질문
작성
·
171
답변 2
1
홍영기
지식공유자
홍민기님!
원인을 찾은 것 같습니다.
'task.c' 의 다음 내용을 확인해 주세요
void USER_THREADS( void )
{
/* Setup the hardware for use with the Beagleboard. */
//prvSetupHardware();
#ifdef CMSIS_OS
osThreadDef(defaultTask, TaskMain, osPriorityNormal, 0, 128);
defaultTaskHandle = osThreadCreate(osThread(defaultTask), NULL);
#else
/* Create one of the two tasks. */
xTaskCreate( (TaskFunction_t)TaskMain, /* Pointer to the function that implements the task. */
"TaskMain", /* Text name for the task. This is to facilitate debugging only. */
128, /* Stack depth - most small microcontrollers will use much less stack than this. */
NULL, /* We are not using the task parameter. */
TASK_MAIN_PRIO, /* This task will run at this priority */
&xHandleMain ); /* We are not using the task handle. */
#endif
}
소스코드 보시면 '128' 이 보일거에요.
128 -> 256 으로 변경해주세요.
14개의 프로젝트 소스 전체에 공통적으로 적용해주시면 됩니다.
첨부파일 > freeRTOS_tutorials_v1.4.zip(마지막 업데이트 2021-12-25 오후 02:03)
소스의 버그(BUG)라고 봐야합니다.
홍민기님 덕분에 버그를 하나 찾았네요. 정말 감사드리고 또한 불편하게 해드려 죄송합니다.
곧 위와같은 수정 내용을 적용한 freeRTOS_tutorials_v1.5.zip 버젼을 릴리스 합니다.






질문드리고 일이 바빠 공부를 못했네요. 이제야 늦게나마 댓글 답니다ㅎㅎ
선생님 덕분에 해결 됐습니다!
친절하게 잘 답변주셔서 감사드립니다 :)