Nuclei-Software / NMSIS

Nuclei Microcontroller Software Interface Standard Development Repo
https://doc.nucleisys.com/nmsis/
Apache License 2.0
58 stars 15 forks source link

IAR IDE shows that Fatal Error[Li001]: could not open file ideprojects\iar\library\prebuilt\libnmsis_dsp_rv32imafdc.a #4

Open dongyongtao opened 8 months ago

dongyongtao commented 8 months ago

Firstly, I clone respository according https://github.com/Nuclei-Software/NMSIS/blob/master/NMSIS/ideprojects/iar/README.md, but when open nmsis_dsp_examples.eww by IAR IDE, then build the examples,it fails:

image

dongyongtao commented 8 months ago

The library used by IAR nmsis dsp examples located in $PROJ_DIR$\..\library\prebuilt\libnmsis_dsp_rv32imafdc.a,so you should:

  1. Click nmsis_library.eww, build the library.(the generated library with .a suffix is placed in Your path\NMSIS\NMSIS\ideprojects\iar\library\Debug\Exe called nmsis_dsp.a, and nmsis_nn.a, which is respectively ready for the nmsis_dsp_examples and nmsis_nn_examples projects.)
  2. Create a directory called "prebuilt" in Your path\NMSIS\NMSIS\ideprojects\iar\library
  3. Copy and rename _nmsisdsp.a to _libnmsis_dsprv32imafdc.a, put it in the Your path\NMSIS\NMSIS\ideprojects\iar\library\prebuilt
  4. Rebuild the nmsis dsp examples
  5. Deal the same with nmsis nn examples