nrf52 hardfault_handler_gcc is not added to project

Sysprogs forums Forums VisualGDB nrf52 hardfault_handler_gcc is not added to project

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #29495
    wtywtykk
    Participant

    Hi,

    When the hardfault option in nRF5x Libraries is enabled, hardfault_handler_gcc.c should be added. Currently it’s missing so this module doesn’t work.

    #29518
    support
    Keymaster

    Thanks, we have fixed it on our side and will include the fix in the next BSP release. As the issue is very minor and has an easy workaround, we will not make a separate release until we discover other issues with the current BSP, or a newer SDK is released.

    You can patch it on your side by applying the following patch to %LOCALAPPDATA%\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.nordic.nrf5x\BSP.XML:

    --- bsp.old	2020-10-12 19:57:10.832588900 -0700
    +++ BSP.XML	2020-11-16 16:19:10.049551300 -0800
    @@ -158561,6 +158561,7 @@
             <string>$$SYS:BSP_ROOT$$/nRF5x/components/libraries/gfx/nrf_gfx.c</string>
             <string>$$SYS:BSP_ROOT$$/nRF5x/components/libraries/gpiote/app_gpiote.c</string>
             <string>$$SYS:BSP_ROOT$$/nRF5x/components/libraries/hardfault/hardfault_implementation.c</string>
    +        <string>$$SYS:BSP_ROOT$$/nRF5x/components/libraries/hardfault/nrf52/handler/hardfault_handler_gcc.c</string>
             <string>$$SYS:BSP_ROOT$$/nRF5x/components/libraries/hci/hci_mem_pool.c</string>
             <string>$$SYS:BSP_ROOT$$/nRF5x/components/libraries/hci/hci_slip.c</string>
             <string>$$SYS:BSP_ROOT$$/nRF5x/components/libraries/hci/hci_transport.c</string>
    \ No newline at end of file
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.