Problem building "Hello Axon" Edge AI app using current documentation

Was excited to get an (apparently) early copy of the nRF54LM20B-DK so that I could explore all the Edge AI capabilities of the system (using both Neuton and Axon models). In the Axon case , I searched for any applicable code samples, videos, courseware, etc.  Only thing I found that appeared to be (currently) complete enough to be useful was the standard online software documentation (as opposed to anything in the Edge AI Lab web pages, for example).

 In particular, the "Hello Axon" sample looked like a good place to start, especially since it uses synthetic data to train the model, rather than requiring some sensor (e.g., motion sensor as in the Thingy 53 Edge AI sample code).  Proceeded through the documented steps up until I hit the Building and Running section.  But the abbreviated instructions there left me in a lurch.  Any attempt to build failed with Include errors on finding logging/log.h.  Normally I would expect to just examine the folder structure, find the appropriate file and patch the Include statement, but since we have a more complicated environment, I suspect the root cause of the error lies deeper.


Any suggestions on how to proceed? (I certainly would appreciate more detailed instructions in the Building and Running section -- and left a web page comment to that effect.)

Notes:

  • The "piggyback" procedure to create an integrated "Edge AI" version of the nRF SDK seems clumsy (acting as if you are building an app in order to merge in the Edge AI library).  I suspect Nordic will smooth this out in the future.  Is there currently any way to validate the integrated library other than building samples with it?
  • Other documentation suggests that the Hello Axon build requires the 3.3.0-preview2 branch of the SDK.   I presume the west instructions invoked in integrating the Edge AI library took care of this (and did notice the 3.3.0-preview2 tag appearing in the console output)
  • On a related question, other Edge AI sample code for motion sensing on this and related nRF5xxx devices require a peripheral MEMS board (9-axis? Probably a Bosch sensor.) But there is no documentation on this board, either to build or buy one.  I suspect a Sparkfun or Adafruit board might suffice.  Any hints on this subject?


As ever, thanks for any comments and suggestions.  Looking forward to fully exercising the nRF54LM20B,

Mike
[email protected] and [email protected]

PS: I expect that "Edge AI", "Axon", "nRF54LM20B", etc., would all be useful tags to add to this message.  Why can't I enter them?

Parents
  •  It would be helpful to see the build log output. Supporting 3rd party boards is something we should definitely do, especially if these are upstream. Any particular board you'd like to use?

  • Thanks for the quick response.  Three issues in reply (two old, one new):

    1. I went back to a clean VS Code workspace, nRF Connect extension and set of SDK installations.  Also reviewed the stated SDK requirements and updated things such as the west version.  Proceeded through the steps outlined above and ended up back at the Building and Running section as before.
      1. This left me with VS Code in the state represented by the attached screenshot, with the desired main.c file open in an editor pane.  It would be useful if you could review the structure of this workspace to see if it looks correct.
        VS Code screenshot.pdf
      2. Now comes the problem.  How do I "build and compile" this app as instructed.  In the normal app building process (without Edge AI), the build process with the VS Code extension presents a configuration page for setting the target board, etc.  How do I invoke that process now?  Trying to compile directly (clicking on the triangle icon (Run C/C++ file) leads immediately to Include errors as noted before.
      3. So what I really need here is an expansion of the "build and compile" instructions with explicit instructions at what to do at this point.  
    2. Sorry for the confusion about the add-on board.  It's the board that contains a ad hoc motion sensor which is used with your Edge AI sample code for gesture recognition with Nordic dev kits that don't otherwise contain a motion sensor (like the Thingy 53).  The docs don't give it a part number or full schematic.  (I can find the exact reference in your docs if that would be useful).
    3. In carefully reviewing the prerequisites for nRF SDK development, I noted the following table in the Requirements reference webpage.  It appears to imply that development is only supported on Macs with Apple Silicon (i.e., not Intel-based) and only macOS Tahoe (26).  Is this correct?
      OS support table.pdf

    Hope this clarifies my original query,

    Mike

Reply
  • Thanks for the quick response.  Three issues in reply (two old, one new):

    1. I went back to a clean VS Code workspace, nRF Connect extension and set of SDK installations.  Also reviewed the stated SDK requirements and updated things such as the west version.  Proceeded through the steps outlined above and ended up back at the Building and Running section as before.
      1. This left me with VS Code in the state represented by the attached screenshot, with the desired main.c file open in an editor pane.  It would be useful if you could review the structure of this workspace to see if it looks correct.
        VS Code screenshot.pdf
      2. Now comes the problem.  How do I "build and compile" this app as instructed.  In the normal app building process (without Edge AI), the build process with the VS Code extension presents a configuration page for setting the target board, etc.  How do I invoke that process now?  Trying to compile directly (clicking on the triangle icon (Run C/C++ file) leads immediately to Include errors as noted before.
      3. So what I really need here is an expansion of the "build and compile" instructions with explicit instructions at what to do at this point.  
    2. Sorry for the confusion about the add-on board.  It's the board that contains a ad hoc motion sensor which is used with your Edge AI sample code for gesture recognition with Nordic dev kits that don't otherwise contain a motion sensor (like the Thingy 53).  The docs don't give it a part number or full schematic.  (I can find the exact reference in your docs if that would be useful).
    3. In carefully reviewing the prerequisites for nRF SDK development, I noted the following table in the Requirements reference webpage.  It appears to imply that development is only supported on Macs with Apple Silicon (i.e., not Intel-based) and only macOS Tahoe (26).  Is this correct?
      OS support table.pdf

    Hope this clarifies my original query,

    Mike

Children
No Data
Related