Analog.com Analog Dialogue Wiki English 简体中文 日本語
EngineerZone
EngineerZone
  • Log In
  • Site
  • Search
  • User
  • Forums

    Popular Forums

    • RF and Microwave
    • Power Management
    • Video
    • FPGA Reference Designs
    • Precision ADCs
    • Linux Software Drivers
    • SigmaDSP Processors & SigmaStudio Dev. Tool

    Product Forums

    • A2B
    • Amplifiers
    • Analog Microcontrollers
    • Clock and Timing
    • Data Converters
    • Direct Digital Synthesis (DDS)
    • Energy Monitoring and Metering
    • Interface and Isolation
    • MEMS Inertial Sensors
    • Processors and DSP
    • Switches/Multiplexers
    • Temperature Sensors
    • Voltage References
    View All

    Application Forums

    • Audio
    • Automated Test Equipment (ATE)
    • Condition-Based Monitoring
    • Depth, Perception & Ranging Technologies
    • Embedded Vision Sensing Library
    • Motor Control Hardware Platforms
    • Optical Sensing
    • Precision Technology Signal Chains Library
    • Video
    • Wireless Sensor Networks Reference Library

    Design Center Forums

    • ACE Evaluation Software
    • ADEF System Platforms
    • Design Tools and Calculators
    • FPGA Reference Designs
    • Linux Software Drivers
    • Microcontroller no-OS Drivers
    • Reference Designs
    • Signal Chain Power (SCP)
    • Software Interface Tools
    • System Demonstration Platform (SDP) Support
  • Learn

    Highlighted Webinar

    Maximize the Benefits of High Bandwidth Current Sense Amplifiers for Space Constrained Applications

    Recent Discussions

    • Pluto is not receiving data
    • ADALM-pluto sampling frequency
    • ADALM PLUTO SDR
    • Bad FIT image format and MSD mounting errors in firmware built for Sidekiq Z2
    • set the sample rate to 30MHz or the maximum that usb2.0 allows

    Places

    • ADI Education Home
    • ADI Webinars
    • StudentZone (Analog Dialogue)
    • Video Annex
    • Virtual Classroom

    Latest Webinars

    • Maximize the Benefits of High Bandwidth Current Sense Amplifiers for Space Constrained Applications
    • Design Efficient Power Solutions for Battery-powered Applications
    • Shunt-based Energy Metering in High-Power Applications
    • Isolating GigaSpeed: Unlocking Data Integrity for USB and HDMI Communication
    • Extend Battery Life and Maximize Performance - Let Supervisors Do The Work
    View All Webinars
  • Community Hub

    Challenge Yourself!

      KCC's Quizzes AQQ244 about Wafer Processing Yield puzzle
    View All

    Places

    • Community Help
    • Logic Lounge
    • The Weekly Brew

    Resources

    • EZ Code of Conduct
    • Getting Started Guide
    • ADI: Words Matter
    • Community Help Videos
    View All
  • Blogs

    Highlighted Blogs

    Join the Analog Devices IEEE Radar Challenge

     

    Seeing is Believing but Smart Surveillance Cameras Let You Speak and Listen Too!

    Latest Blogs

    • We are Celebrating a Milestone on EngineerZone: Meet Our 100K Member!
    • How to Raise the Resolution of an Optical Motor Encoder without Changing the Disk
    • The Changing Nature of Logistics and Retail Automation
    • Variable Speed Drive 101
    • How to Optimize Voltage Regulators for Powering an Audio Amplifier
    Read All Blogs

    ADI Blogs

    • EZ Spotlight
    • The Engineering Mind
  • Partners

    Electronic Design Services - PartnerZone

    • Boston Engineering
    • Calian, Advanced Technologies
    • Colorado Engineering Inc. (DBA CAES AT&E)
    • Clockworks Signal Processing
    • Epiq Solutions
    • Fidus
    • PalmSens
    • Richardson RFPD
    • Tri-Star Design, Inc.
    • VadaTech
    • Vanteon
    • X-Microwave
    View All
FreeRTOS
  • Processors and DSP
  • Software and Development Tools
  • FreeRTOS
  • Cancel
FreeRTOS
Documents How to add FreeRTOS source files in your newly created FreeRTOS CCES project
  • Q&A
  • Files
  • Docs/FAQs
  • Members
  • Tags
  • More
  • Cancel
  • Documents
  • -FreeRTOS: FAQ
    • Analog Devices announces FreeRTOS for Analog Devices Processors, 1.2.0 release
    • Analog Devices FreeRTOS Product: Introduction
    • How to add FreeRTOS source files in your newly created FreeRTOS CCES project
    • How to Run LwIP on FreeRTOS for ADSP-SC589-MINI
    • How to Run MCAPI on FreeRTOS for SC5XX
    • How to Use the LwIP DnsClient FreeRTOS example with the CCES v2.9.0 or later

You are currently reviewing an older revision of this page.

  • History View current version

How to add FreeRTOS source files in your newly created FreeRTOS CCES project

When creating a new FreeRTOS CCES project, the FreeRTOS source files located in “$Your FreeRTOS Path$/FreeRTOSv10.0.0/FreeRTOS/Source/” should also be added into your project, otherwise linker will report below errors:

[Error li1021]  The following symbols referenced in processor 'P0' could not be resolved:

        'pvPortMalloc [_pvPortMalloc]' referenced from 'system\FreeRTOS\Source\event_groups.doj'

        'pvPortMalloc [_pvPortMalloc]' referenced from 'system\FreeRTOS\Source\queue.doj'

        'pvPortMalloc [_pvPortMalloc]' referenced from 'system\FreeRTOS\Source\stream_buffer.doj'

        'pvPortMalloc [_pvPortMalloc]' referenced from 'system\FreeRTOS\Source\tasks.doj'

        'pvPortMalloc [_pvPortMalloc]' referenced from 'system\FreeRTOS\Source\timers.doj'

        'pxPortInitialiseStack [_pxPortInitialiseStack]' referenced from 'system\FreeRTOS\Source\tasks.doj'

        'ulPortSetInterruptMask [_ulPortSetInterruptMask]' referenced from 'system\FreeRTOS\Source\event_groups.doj'

        'ulPortSetInterruptMask [_ulPortSetInterruptMask]' referenced from 'system\FreeRTOS\Source\queue.doj'

        'ulPortSetInterruptMask [_ulPortSetInterruptMask]' referenced from 'system\FreeRTOS\Source\stream_buffer.doj'

        'ulPortSetInterruptMask [_ulPortSetInterruptMask]' referenced from 'system\FreeRTOS\Source\tasks.doj'

        'vApplicationGetIdleTaskMemory [_vApplicationGetIdleTaskMemory]' referenced from 'system\FreeRTOS\Source\tasks.doj'

        'vApplicationGetTimerTaskMemory [_vApplicationGetTimerTaskMemory]' referenced from 'system\FreeRTOS\Source\timers.doj'

        'vApplicationStackOverflowHook [_vApplicationStackOverflowHook]' referenced from 'system\FreeRTOS\Source\tasks.doj'

        'vAssertCalled [_vAssertCalled]' referenced from 'system\FreeRTOS\Source\event_groups.doj'

        'vAssertCalled [_vAssertCalled]' referenced from 'system\FreeRTOS\Source\queue.doj'

        'vAssertCalled [_vAssertCalled]' referenced from 'system\FreeRTOS\Source\stream_buffer.doj'

        'vAssertCalled [_vAssertCalled]' referenced from 'system\FreeRTOS\Source\tasks.doj'

        'vAssertCalled [_vAssertCalled]' referenced from 'system\FreeRTOS\Source\timers.doj'

        'vPortClearInterruptMask [_vPortClearInterruptMask]' referenced from 'system\FreeRTOS\Source\event_groups.doj'

        'vPortClearInterruptMask [_vPortClearInterruptMask]' referenced from 'system\FreeRTOS\Source\queue.doj'

        'vPortClearInterruptMask [_vPortClearInterruptMask]' referenced from 'system\FreeRTOS\Source\stream_buffer.doj'

        'vPortClearInterruptMask [_vPortClearInterruptMask]' referenced from 'system\FreeRTOS\Source\tasks.doj'

        'vPortEndScheduler [_vPortEndScheduler]' referenced from 'system\FreeRTOS\Source\tasks.doj'

        'vPortEnterCritical [_vPortEnterCritical]' referenced from 'system\FreeRTOS\Source\event_groups.doj'

        'vPortEnterCritical [_vPortEnterCritical]' referenced from 'system\FreeRTOS\Source\queue.doj'

        'vPortEnterCritical [_vPortEnterCritical]' referenced from 'system\FreeRTOS\Source\stream_buffer.doj'

        'vPortEnterCritical [_vPortEnterCritical]' referenced from 'system\FreeRTOS\Source\tasks.doj'

        'vPortEnterCritical [_vPortEnterCritical]' referenced from 'system\FreeRTOS\Source\timers.doj'

        'vPortExitCritical [_vPortExitCritical]' referenced from 'system\FreeRTOS\Source\event_groups.doj'

        'vPortExitCritical [_vPortExitCritical]' referenced from 'system\FreeRTOS\Source\queue.doj'

        'vPortExitCritical [_vPortExitCritical]' referenced from 'system\FreeRTOS\Source\stream_buffer.doj'

        'vPortExitCritical [_vPortExitCritical]' referenced from 'system\FreeRTOS\Source\tasks.doj'

        'vPortExitCritical [_vPortExitCritical]' referenced from 'system\FreeRTOS\Source\timers.doj'

        'vPortFree [_vPortFree]' referenced from 'system\FreeRTOS\Source\event_groups.doj'

        'vPortFree [_vPortFree]' referenced from 'system\FreeRTOS\Source\queue.doj'

        'vPortFree [_vPortFree]' referenced from 'system\FreeRTOS\Source\stream_buffer.doj'

        'vPortFree [_vPortFree]' referenced from 'system\FreeRTOS\Source\tasks.doj'

        'vPortFree [_vPortFree]' referenced from 'system\FreeRTOS\Source\timers.doj'

        'vPortValidateInterruptPriority [_vPortValidateInterruptPriority]' referenced from 'system\FreeRTOS\Source\queue.doj'

        'vPortValidateInterruptPriority [_vPortValidateInterruptPriority]' referenced from 'system\FreeRTOS\Source\tasks.doj'

        'xPortStartScheduler [_xPortStartScheduler]' referenced from 'system\FreeRTOS\Source\tasks.doj'

 

Linker finished with 1 error

cc3089: fatal error: Link failed (code:1)

make[1]: *** [CHT4089_BF702_Monitor.dxe] Error 1

make: *** [all] Error 2

To fix above errors, please add below FreeRTOS source files in screenshot as following steps:

And for Sharc project, here is example to add below FreeRTOS source files:

  1. Create FreeRTOS virtual folder:

             a. Right-click on system folder -> New -> Folder

             b. Fill in folder name “FreeRTOS” in Folder name -> Click Advanced -> choose “Folder is not located in the file system (Virtual Folder)” -> click Finish button

       2. Create portable and MemMang virtual folder

       3. Add heap_4.c file into MemMang folder:

            a. Right-click on MemMang folder -> New -> File

            b. Select “Link to file in the file system” -> Browse and fill in the path of heap_4.c file under your FreeRTOS($Your FreeRTOS Path$/FreeRTOSv10.0.0/FreeRTOS/Source/portable/MemMang/heap_4.c)

       4. Add the remaining files in FreeRTOS folder as shown in the screenshot

       5. Rebuild the project

Social
Quick Links
  • About ADI
  • ADI Signals+
  • Analog Dialogue
  • Careers
  • Contact us
  • Investor Relations
  • News Room
  • Quality & Reliability
  • Sales & Distribution
  • Incubators
Languages
  • English
  • 简体中文
  • 日本語
myAnalog

Interested in the latest news and articles about ADI products, design tools, training and events?

Go to myAnalog
Analog Logo
©1995 - 2023 Analog Devices, Inc. All Rights Reserved
沪ICP备09046653号-1
  • Sitemap
  • Legal
  • Privacy & Security
  • Privacy Settings
  • Cookie Settings