Meco Man 860094e893 [stm32] split stm32 drivers as normal and nano drivers
- move all normal drivers (devices framework drivers) into drivers
  folder.
- create nano folder for nano drivers
  nano drivers are only for a simply wrap of the HAL function, and
  not seek for adopting rt-thread devcies framework.
- provide unified nano console and GPIO drivers.
2023-12-03 21:25:00 +08:00

16 lines
280 B
Python

Import('RTT_ROOT')
Import('rtconfig')
from building import *
cwd = GetCurrentDir()
group = []
src = ['drv_gpio.c']
path = [cwd]
if GetDepend(['RT_USING_CONSOLE']):
src += ['drv_console.c']
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path)
Return('group')