This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

gcc-arm-none-eabi link error bug

my gcc version: gcc-arm-none-eabi-9-2019-q4-major


defined in discarded section `.intList' of app/libapp.a(softuarte.cpp.obj)

////////////////////////////////////because

void SoftUarte_Destory()
{
  void* null_func = NULL;

  if( s_recv_irq )
  {
    irq_disable(GPIOTE0_IRQn);
    IRQ_DIRECT_CONNECT(GPIOTE0_IRQn, 0, null_func, 0);  //this line~~~~~
  }
}

//////////////////////////////

compile is good but link failed

Parents Reply Children
No Data
Related