Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when set LOSCFG_PLATFORM_HWI to NO, compile error: .iotlink/sdk/IoT_LINK/iot_link/os/liteos/liteos_imp.c:267: undefined reference to `LOS_HwiCreate' #415

Open
flyingyizi opened this issue Aug 21, 2020 · 1 comment

Comments

@flyingyizi
Copy link

  • Describe the bug
    when set LOSCFG_PLATFORM_HWI to NO, compile error: undefined reference to `LOS_HwiCreate'

  • To Reproduce
    Steps to reproduce the behavior:

    • step 1 when set LOSCFG_PLATFORM_HWI to NO, compile occours error: undefined reference to `LOS_HwiCreate'
    • step 2 when set LOSCFG_PLATFORM_HWI to YES, compile successfully
  • Expected behavior
    when set LOSCFG_PLATFORM_HWI to NO, compile success

  • Current behavior
    A clear and concise description of what happens currently.

  • Please tell us about your environment:

    • LiteOS Version: liteOS-lab master version
    • Chip Architecture: ARM
    • Board: STM32F411 nucleo
@flyingyizi flyingyizi changed the title when set LOSCFG_PLATFORM_HWI to NO, compile error: undefined reference to `LOS_HwiCreate' when set LOSCFG_PLATFORM_HWI to NO, compile error: .iotlink/sdk/IoT_LINK/iot_link/os/liteos/liteos_imp.c:267: undefined reference to `LOS_HwiCreate' Aug 21, 2020
@cruise2018
Copy link
Contributor

Yes, you are right. We forget to delete the defines for the control of interrupt when we rearrange the interrupt component. After the rearrangement, the interrupt could only be manageb by the kernel. Sorry to get the trouble for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants