0
\$\begingroup\$

I just inherited a project that is based on the NXP SDK samples, (not quite sure which one). It is currently being built with µVision 4; but I would like to convert the build system to use avr-gcc or similar.

Code Excerpts

This is the first few lines of one of the .uvopt files.

<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<ProjectOpt xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="project_opt.xsd">

  <SchemaVersion>1.0</SchemaVersion>

  <Header>### uVision Project, (C) Keil Software</Header>

This is the first few lines of one of the .uvproj files.

<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<Project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="project_proj.xsd">

  <SchemaVersion>1.1</SchemaVersion>

  <Header>### uVision Project, (C) Keil Software</Header>

This is the first few lines of one of the .scvd files.

<?xml version="1.0" encoding="utf-8"?>

<component_viewer schemaVersion="0.1" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="Component_Viewer.xsd">

This is part of a comment block in of one of the source files.

 * Copyright(C) 2015 NXP Semiconductors N.V.
 * All rights reserved.
 *
 * $Rev: 1.0 $

Research

Keil forums:

NXP Product page:

Other similar questions:

\$\endgroup\$
1
\$\begingroup\$

It appears that the QN9020 has a Cortex-M processor core. It is certainly possible to develop software for a Cortex-M using a gcc cross-compiler running under Linux. I've done this for other NXP ARM processors many times.

It appears that the QN9020 "mini DK" development boards have a dedicated J-Link interface so you should be able to use any generic SWD debugging interface. The J-Link is a good one.

So, it looks like it is possible to develop your code under Linux. Having said that, there may be a significant amount of effort involved in creating all of the support libraries and include files for your particular device. It would be a great learning experience....good luck!

\$\endgroup\$
  • \$\begingroup\$ What libraries do you think I'll need? \$\endgroup\$ – Lucas Ramage Jun 23 at 23:26
  • \$\begingroup\$ At the very least I think you will need a Hardware Abstraction Layer...some header files that define the addresses and datatypes of the hardware registers in the peripherals...UART, timers, etc. Beyond that it will depend on what kind of applications you want to create. \$\endgroup\$ – Elliot Alderson Jun 24 at 1:09
  • \$\begingroup\$ The application is already developed, but a majority of the files contain a comment stating they are copyrighted as part of the SDK, as mentioned previously. But I need to be able to compile it without using either µVision 4 or Windows. \$\endgroup\$ – Lucas Ramage Jun 24 at 1:56
  • \$\begingroup\$ Now you have a legal question. You will need to go somewhere else for advice on that. \$\endgroup\$ – Elliot Alderson Jun 24 at 10:38
  • \$\begingroup\$ Sorry for the misunderstanding, the only reason I mentioned the copyright headers is because it contains a license which states that it is part of some sample. I should update the post with an example to make it clearer. To rephrase my previous comment, I simply need to compile the project; It already does what it needs to do. \$\endgroup\$ – Lucas Ramage Jun 24 at 12:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.