[bsp/nrf5x]support for uarte1

This commit is contained in:
Maofeng
2020-11-15 18:46:28 +08:00
parent 065488e746
commit ffd34fd369
5 changed files with 409 additions and 15 deletions
+4 -2
View File
@@ -9,8 +9,10 @@ src = Split("""
""")
if GetDepend(['BSP_USING_UART']):
src += ['drv_uart.c']
if GetDepend(['NRFX_USING_UART']):
src += ['drv_uart.c']
else:
src += ['drv_uarte.c']
if GetDepend(['BSP_USING_ON_CHIP_FLASH']):
src += ['drv_flash.c']