FreeRTOS
FreeRTOS - 2. 태스크와 메모리
.stack \- 2ffe8 (stack growth : 맨 마지막 주소부터 아래로 사용) .heap (동적메모리) --> configSUPPORT_DYNAMIC_ALLOCATION 1 .bss \- 90b8 (정적메모리) --> configSUPPORT_STATIC_ALLOCATION 1 .data \- 74 .text 태스크 스택은 heap이 될 수도 있고 bss가 될 수도 있다. 메모리 단편화를 방지하기 위해 런타임에 태스크를 실행하지 않고 부팅하자마자, main.c에서 극 초반에 태스크를 생성

FreeRTOS - 1. 태스크 생성과 운용
전자공학부 임베디드운영체제 A+ 컴퓨터공학부 운영체제 A+ 이젠 RTOS 공부다! osKernelStart(); // 멀티태스크 시작 함수 생성된 태스크의 스케줄링을 시작하는 함수 xTaskCreate() 태스크 하나를 생성 /* 함수 원형 */ BaseType_t xTaskCreate(TaskFunction_t pxTaskCode, const char * const pcName,/*lint !e971 Unqualified char types are allowed for strings and single characters only. */ const configSTACK_DEPTH_TYPE usStackDepth, void * const pvParameters, UBaseType_t uxPriority,..