Skip to content

Commit

Permalink
1.gcc/链接文件中增加外部中断需要的section
Browse files Browse the repository at this point in the history
  • Loading branch information
notrynohigh committed Jul 17, 2021
1 parent 4295c0c commit 464b888
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions doc/gcc/babyos_sections.ld
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,12 @@ SECTIONS
KEEP(*(SORT(.b_mod_shell*)))
PROVIDE(__stop_b_mod_shell = .);
} > FLASH

.b_hal_gpio :
{
PROVIDE(__start_b_hal_gpio = .);
KEEP(*(SORT(.b_hal_gpio*)))
PROVIDE(__stop_b_hal_gpio = .);
} > FLASH

}

0 comments on commit 464b888

Please sign in to comment.