Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem


Overlay Support for Library Archive(static library, .a file) on GNU-GCC

Posted by jitheeshts on August 17, 2016

I was working on customizing the linker script for including overlay mechanism. I have succeeded in creating a sample project which uses overlay mechanism. But now i need a library archive(.a file) to be a part of overlay module. How do we refer object files inside an archive in linker script syntax. Especially how to use archive file(.a) along with "EXCLUDE_FILE" and "OVERLAY SECTION" linker script directives?

We tried Exclude option as we are using for an object file. But it didn't work. And also how this .a file can be placed in an overlay section. I tried searching, but unfortunately none of them works for me.

The following link suggest something ,but it doesn't works for me.


Thanks & Regards Jitheesh Surendran

Overlay Support for Library Archive(static library, .a file) on GNU-GCC

Posted by rtel on August 17, 2016

This is not a FreeRTOS question and would be best posted to a forum specific to your compiler (or at least, linker). To ensure the quality of this resource to our users we prefer to keep strictly on topic.

[ Back to the top ]    [ About FreeRTOS ]    [ Privacy ]    [ Sitemap ]    [ ]

Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

FreeRTOS v10.2.1 is available for immediate download. MIT licensed, includes 64-bit RISC-V, NXP Cortex-M33 demo, Nuvoton Cortex-M23 demo & STM32H745 dual core (AMP) demo.

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


FreeRTOS and other embedded software careers at AWS.

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Cadence Tensilica Cortes

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers





STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS

Xilinx Microblaze and Zynq partner