Skip to content
0:00 / 0:00

#linker-scripts#arm-cortex-m#memory-map

Bare Metal Embedded C Lecture 4: Writing Linker Scripts and Section Placement

Fastbit Embedded Brain Academy

50K subscribers • 5 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • Presented by Kiran Nayak, founder of Fastbit Embedded Brain Academy
  • Linked in the descriptionniekiran/baremetalembedded

Advanced. Deep dive for people who know the field.

121K views6 years ago1 recommendation

Systems programmingEmbedded systemsMemory managementCompilers and interpreters

Kiran Nayak explains how to write GNU linker scripts from scratch and place code sections in flash and SRAM.

🚀🔥 The Ultimate Embedded & Firmware Engineering Bundle 🔥🚀 Build job-ready embedded and firmware skills with 14+ practical courses covering Embedded C, STM32, FreeRTOS, Zephyr RTOS, IoT, bootloaders, embedded state machines, Linux device drivers, Embedded Rust, and real-world projects. Follow a complete career-building roadmap with source code and Q&A support—designed to help students, job seekers, and working professionals start or advance their careers in embedded and firmware engineering. 🎯 Unlock all videos instantly with a massive bundle discount: fastbitlab.com/bundle Enrol for the full course : udemy.com/course/embedded-system-programming-on-arm-cortex-m… In this lecture you'll learn , writing GNU linker script from scratch , section placement, linker script commands ,syntax and linker script symbols 🚀 Want to dive deeper into Embedded Systems? 🎓 Join our self-paced course with lifetime access on Udemy and start learning at your own pace! 📚 Explore all our Embedded Systems courses Follow the numbered list to learn in the recommended order — from beginner to advanced. Embedded C and bare metal peripheral driver development 1. Microcontroller Embedded C Programming: absolute beginners (Bestselling course on 'Embedded C' Topic) udemy.com/course/microcontroller-embedded-c-programming/?ref… 2. Embedded Systems Programming on ARM Cortex-M3/M4 Processor udemy.com/course/embedded-system-programming-on-arm-cortex-m… 3. Mastering Microcontroller with Embedded Driver Development (MCU1)(One of the most popular and bestselling course on 'Microcontrollers' Topic) udemy.com/course/mastering-microcontroller-with-peripheral-d… Advanced Microcontroller programming and RTOS 4. Mastering Microcontroller : TIMERS,PWM,CAN,RTC,LOW POWER and STM32 device HAL APIs (MCU2) udemy.com/course/microcontroller-programming-stm32-timers-pw… 5. Mastering RTOS: Hands on with FreeRTOS, Arduino and STM32Fx (Bestselling course on 'RTOS' Topic) udemy.com/course/mastering-rtos-hands-on-with-freertos-ardui… 6. Mastering Microcontroller: STM32-LTDC, LCD-TFT, LVGL(MCU3) udemy.com/course/mastering-microcontroller-stm32-ltdc-lcd-tf… State machines, Bootloader, DMA 7. Embedded System Design using UML State Machines udemy.com/course/embedded-system-design-using-uml-state-mach… 8. Mastering Microcontroller DMA programming for Beginners (Highest rated course on Embedded Systems ) udemy.com/course/microcontroller-dma-programming-fundamental… 9. STM32Fx ARM Cortex Mx Cus

Why it's here

1 person recommends this

What people say. Recommended as an excellent, detailed explanation of linker scripts and memory section placement for embedded systems.

u/cabhinavin r/embedded • Recommends

Resource for learning build process for ARM (not mine, just sharing) [video \- Build Process [video \- Makefile and analyzing relocatable obj file [video \- Writing startup file [video \- Writing linker script and section placement [video \- Linking and analyzing memory map file

u/BlackSiborgin r/embedded • Mentions

Linker Script Sections and Placement in (SRAM/FLASH) I'm teaching myself GCC for the STM32G070xx (Cortex M0+) by following this tutorial. Tutorial Diagram describing the linker sections and their placement in FLASH and SRAM Are the .text, .rodata, .data, and .bss standard for all targets? I haven't been able to find a similar diagram in neither the reference manual or programming manual. This is the only information I've been able to find regarding the memory map: https://preview.redd.it/xvhrjxe7t3d51.png?width=388&format=png&auto=webp&s=bd98b09870c921d7656969c51d7fc2ed6f57f6de https://preview.redd.it/zkrhdze7t3d51.png?width=393&format=png&auto=webp&s=e9a802012fab690bb2484520f0c3e88…