diff options
| author | Meco Man <[email protected]> | 2023-11-20 06:16:16 -0500 |
|---|---|---|
| committer | Meco Man <[email protected]> | 2023-11-20 07:34:46 -0500 |
| commit | eff3560d64fda22ec5c4568dc06f7d3f9a5feef5 (patch) | |
| tree | 52bc89e82dc2dfd48e94d413e2c832f4285d2b48 /bsp/gd32303e-eval/drivers/SConscript | |
| parent | 2324794825378ddab7b058b14bbeb54dc64b4f5c (diff) | |
[bsp] remove gd32 in the root
Diffstat (limited to 'bsp/gd32303e-eval/drivers/SConscript')
| -rw-r--r-- | bsp/gd32303e-eval/drivers/SConscript | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/bsp/gd32303e-eval/drivers/SConscript b/bsp/gd32303e-eval/drivers/SConscript deleted file mode 100644 index 306cd7e720..0000000000 --- a/bsp/gd32303e-eval/drivers/SConscript +++ /dev/null @@ -1,37 +0,0 @@ -Import('RTT_ROOT') -Import('rtconfig') -from building import * - -cwd = os.path.join(str(Dir('#')), 'drivers') - -# add the general drivers. -src = Split(""" -board.c -drv_usart.c -""") - -CPPPATH = [cwd] - -# add spi drivers. -if GetDepend('RT_USING_SPI'): - src += ['drv_spi.c'] - -# add softspi drivers. -if GetDepend('RT_USING_SPI_BITOPS'): - src += ['drv_soft_spi.c'] - -# add i2c drivers. -if GetDepend('RT_USING_I2C'): - src += ['drv_i2c.c'] - -# add pin drivers. -if GetDepend('RT_USING_PIN'): - src += ['drv_gpio.c'] - -# add spi flash drivers. -if GetDepend('RT_USING_SFUD'): - src += ['drv_spi_flash.c'] - -group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH) - -Return('group') |
