Modern Embedded Recipes
첫 bare-metal 프로그램 작성 — Linker·Startup·main의 최소 구성
LED toggle — 최소한의 startup·main·loop.
· 4분 읽기
recipes bare-metal
Tech articles, book reviews, and presentations.
페이지 70 / 73
LED toggle — 최소한의 startup·main·loop.
Cortex-A 부팅 단계. BootROM → SPL → U-Boot → Linux. Secure boot, FIT image, A/B.
Embedded 빌드 시스템 — toolchain file·target_link_options.
메모리 사용·심볼 위치·dead code 추적.
-O0/-O1/-O2/-O3/-Os/-Og — 옵션별 차이와 디버깅 가능성.
Stack/heap/static — 누가 어디 사는가.
crt0·.data 복사·.bss 클리어·ctors·atexit.
Reset_Handler·vector table·__libc_init_array·main 진입.
LMA vs VMA·KEEP·AT>·overlay·custom section.
MEMORY·SECTIONS·alignment·기본 layout.