Giter Club home page Giter Club logo

Comments (5)

purdurnr avatar purdurnr commented on August 10, 2024

Using compiler pointed at Keil_v5.
Inside About uVision it indicates C Compiler: v6.18
So that matches the request in overview.

-- The ASM compiler identification is ARMClang
-- Found assembler: c:/Keil_v5/ARM/ARMCLANG/bin/armclang.exe

from nxp_sensor_sdk.

purdurnr avatar purdurnr commented on August 10, 2024

I tried to open the .cprj output in my Keil uVision5 tools. It loads, but has 12 errors with missing files.
All files are shown in Project Explorer and Manage project items. However, seems environment is not set correctly when imported.
I will wait until you have time to review after holiday.
Thanks for support.

from nxp_sensor_sdk.

RobertRostohar avatar RobertRostohar commented on August 10, 2024

It should build out of the box.

Succesfully links. Then fails with following:

Not sure what fails when link is successful. It looks as linking fails.

The missing Driver_I2C0 could indicate the wrong RTE_Device.h being used. That could be the case with older CMSIS-Toolbox. Are you using the latest version 1.4.0? Are you modifying the source code?

Please check the following:

  • clean checkout of the repo ('main' or 'develop' branch)
  • using CMSIS-Toolbox 1.4.0
  • using Arm Compiler 6.18 or later (I'm using 6.19)
  • using CMake 3.18.0 or higher (I'm using 3.24.1)
  • using Ninja 1.10.0 or higher (I'm using 1.11.0)
  • using all CMSIS-Packs specified in the .csolution.yml

Run:

cd examples\issdk\sensors\fxls8974cf\interrupt
csolution convert fxls8974cf_interrupt.csolution.yml
cbuild fxls8974cf_interrupt.debug+frdmk22f_a8974.cprj

There should not be any errors during csolution convert or cbuild.

If it still fails, we could check the generated .cprj and also .cbuild.yml files.

The .cprj can be also imported in Keil uVision. I believe that the latest uVision from MDK 5,38 is required to build the project successfully. I'm using MDK 5.38 and the imported project builds without errors.

from nxp_sensor_sdk.

purdurnr avatar purdurnr commented on August 10, 2024

Error was caused by environment variables being reset to older values within my Git-Bash terminal.
Once I updated to correct settings... worked out of the box.

from nxp_sensor_sdk.

purdurnr avatar purdurnr commented on August 10, 2024

A note to self to recall FIX: Also need to fix RTE_device.h where RTE_I2C4 was not defined.

from nxp_sensor_sdk.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.