This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Noob question on uVision example/header file

Hello,

I have a Nuvoton NUC140 board laying around and I was trying to setup a dev environment to start some basic coding. I followed instructions under www2.keil.com/.../M0-M23
and installed 2 packs: "Nuvoton ARM Cortex-M NuMicro Family Device support" as well as "Keil MCBNUC1xx Development Board Support Package". I also installed "Blinky (MCBNUC1xx)" example and opened it in uVision. However, when I open "blinky.c" there is a reference to "NUC1xx.h" which uVision cannot resolve. I cannot find NUC1xx.h anywhere in the Keil_v5 folder. I know the header exists under "http://www.keil.com/dd/docs/arm/nuvoton/nuc1xx/nuc1xx.h" but where I am supposed to put this file? and shouldn't it be part of some sort of pack already?

This is supposed to be so easy, but I am not sure why I am running into this basic issue so early on.

Any hints would be appreciated.

Thank you,
Eric

Parents
  • Thanks for the response.

    I think I figured it out to some degree: looks like nuc1xxx.h was replaced by nuc100Series.h in "Nuvoton ARM Cortex-M NuMicro Family Device support" at some point. Looks like there is no consistency between Keil examples and DFP. I would imagine that whatever is accepted as a PACK would be QAed to some degree. What would be helpful is if installation path of a PAC ("Nuvoton ARM Cortex-M NuMicro Family Device support" in this example) is visible in PACK installer, otherwise I just had to explore the structure of uVision install directory in order to try to guess where the PACK is installed and which header files are available in the PACK.

Reply
  • Thanks for the response.

    I think I figured it out to some degree: looks like nuc1xxx.h was replaced by nuc100Series.h in "Nuvoton ARM Cortex-M NuMicro Family Device support" at some point. Looks like there is no consistency between Keil examples and DFP. I would imagine that whatever is accepted as a PACK would be QAed to some degree. What would be helpful is if installation path of a PAC ("Nuvoton ARM Cortex-M NuMicro Family Device support" in this example) is visible in PACK installer, otherwise I just had to explore the structure of uVision install directory in order to try to guess where the PACK is installed and which header files are available in the PACK.

Children
No data