5 'src/common/lib.rs', # Must be listed first (see below).
6 'src/common/register.rs',
9 'src/common/systick.rs',
15 'src/common/watchdog.rs',
16 'src/common/crc32.rs',
17 'src/common/ringbuf.rs',
18 'src/common/buffer.rs',
19 'src/common/usb_serial.rs',
20 'src/common/display.rs',
21 'src/common/screen.rs',
25 'src/common/storage.rs',
26 'src/common/mx25l.rs',
27 'src/common/shell.rs',
31 'src/common/startup.c',
32 'src/common/asm_helpers.c',
33 'src/common/systick.c',
34 'src/common/ringbuf.c',
37 'src/common/usb_device_ch9.c',
38 'src/common/usb_device_dci.c',
39 'src/common/usb_device_descriptor.c',
40 'src/common/usb_device_khci.c',
41 'src/common/usb_osa_bm.c',
42 'src/common/virtual_com.c',
45 libcommon_rlib = env.Rustc('libcommon.rlib', source_files_rs[0])
47 for f in source_files_rs:
48 Depends(libcommon_rlib, f)
50 libcommon_a = env.Library('libcommon.a', source_files_c)
52 for f in source_files_c:
53 Depends(libcommon_a, f)