element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Freedom development platform
  • Products
  • Dev Tools
  • Freedom development platform
  • More
  • Cancel
Freedom development platform
Documents To Build MQX RTOS libraries required for MQX project execution using FRDM-K64F Board
  • Blog
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Freedom development platform to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Engagement
  • Author Author: bheemarao
  • Date Created: 11 May 2015 9:32 AM Date Created
  • Last Updated Last Updated: 8 Oct 2021 8:27 AM
  • Views 631 views
  • Likes 1 like
  • Comments 0 comments
Related
Recommended

To Build MQX RTOS libraries required for MQX project execution using FRDM-K64F Board

This section describes the steps required to configure KDS to build, run, and debug MQXTm RTOS demo applications and necessary driver libraries provided in the KSDK framework.

There are 3 libraries required to build for any new MQX project creation and execution:

Platform Library for MQX, MQX Library, MQX Standard Library.


Before building and debugging any demo applications, all libraries must be built.

To build the library for a device, follow these instructions:

 

1) Platform Library for MQX, ‘libksdk_platform_mqx.a’

 

We need to build a MQX platform library before we proceed.

 

Right click on project explorer and select import as shown below:

image

 

Select existing project into workspace as shown below

image

Next browse to the installed KSDK folder as shown below:

image

 

The folder path in my case is   “C:\Freescale\KSDK_1.1.0\lib\ksdk_mqx_lib\kds\K64F12”

Proceed further by clicking finish

image

Now select the project from project explorer and build the library as shown below:

image

You can see the project build progress as shown below:

image


You can see the generated library file “libksdk_platform_mqx.a” under console window as shown below:

image

The path it is generated is “C:\Freescale\KSDK_1.1.0\lib\ksdk_mqx_lib\kds\K64F12\Debug”


image

Note: remember this path which has to be provided for any new MQX project creation.

 

2) MQX Library, ‘lib_mqx.a’


Follow the similar steps as above the path while importing for lib_mqx is

“C:\Freescale\KSDK_1.1.0\rtos\mqx\mqx\build\kds\mqx_frdmk64f”

 

image

 

image

Build the project “mqx_frdmk64f”

image

 

The library generated file is “lib_mqx.a” which is stored in path

“C:\Freescale\KSDK_1.1.0\rtos\mqx\lib\frdmk64f.kds\debug\mqx”

 

3) MQX Standard Library, ‘lib_mqx_stdlib.a’

 

Similarly import “mqx_stdlib_frdmk64f” project from the folder


“C:\Freescale\KSDK_1.1.0\rtos\mqx\mqx_stdlib\build\kds\mqx_stdlib_frdmk64f”

  And build it as shown below:

image

you will find the generated library “lib_mqx_stdlib.a” stored at location


"C:\Freescale\KSDK_1.1.0\rtos\mqx\lib\frdmk64f.kds\debug\mqx_stdlib"


Note: remember these paths to be included at the time of any new MQX project building and execution.


NOTE: For information about building KSDK and MQX libraries in KDS please see chapter ‘3 Building the MQX RTOS libraries’ of ‘Getting Started with Freescale MQXTm RTOS for Kinetis SDK and Kinetis Design Studio IDE’ located in MQX for KSDK installation path C:\Freescale\KSDK_1.1.0\rtos\mqx\doc\tools

  • mqx
  • rtos
  • frdm-k64f
  • libraries
  • Share
  • History
  • More
  • Cancel
  • Sign in to reply
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube