diff options
Diffstat (limited to 'components')
22 files changed, 53 insertions, 53 deletions
diff --git a/components/Kconfig b/components/Kconfig index 7f24e7c453..1bd2d43e58 100644 --- a/components/Kconfig +++ b/components/Kconfig @@ -1,13 +1,13 @@ menu "RT-Thread Components" config RT_USING_COMPONENTS_INIT - bool + bool default n - + config RT_USING_USER_MAIN - bool + bool default n - + if RT_USING_USER_MAIN config RT_MAIN_THREAD_STACK_SIZE int "Set main thread stack size" @@ -15,7 +15,7 @@ config RT_USING_USER_MAIN default 2048 config RT_MAIN_THREAD_PRIORITY - int "Set main thread priority" + int "Set main thread priority" default 4 if RT_THREAD_PRIORITY_8 default 10 if RT_THREAD_PRIORITY_32 default 85 if RT_THREAD_PRIORITY_256 diff --git a/components/drivers/Kconfig b/components/drivers/Kconfig index 52d735c941..9c79847e23 100755 --- a/components/drivers/Kconfig +++ b/components/drivers/Kconfig @@ -225,9 +225,9 @@ config RT_USING_FDT config FDT_USING_DEBUG bool "Using fdt debug function " default n - + endif - + config RT_USING_RTC bool "Using RTC device drivers" default n @@ -310,7 +310,7 @@ config RT_USING_SPI config RT_SFUD_USING_FLASH_INFO_TABLE bool "Using defined supported flash chip information table" default y - + config RT_SFUD_USING_QSPI bool "Using QSPI mode support" select RT_USING_QSPI @@ -346,7 +346,7 @@ config RT_USING_WDT config RT_USING_AUDIO bool "Using Audio device drivers" default n - + if RT_USING_AUDIO config RT_AUDIO_REPLAY_MP_BLOCK_SIZE int "Replay memory pool block size" diff --git a/components/drivers/fdt/examples/SConscript b/components/drivers/fdt/examples/SConscript index 30867a1de3..463c4814cc 100644 --- a/components/drivers/fdt/examples/SConscript +++ b/components/drivers/fdt/examples/SConscript @@ -7,4 +7,4 @@ CPPPATH = [cwd] group = DefineGroup('FDT', src, depend = ['FDT_USING_DEBUG'], CPPPATH = CPPPATH) -Return('group')
\ No newline at end of file +Return('group') diff --git a/components/drivers/fdt/libfdt/SConscript b/components/drivers/fdt/libfdt/SConscript index 638a457bfe..9efdd16c0a 100644 --- a/components/drivers/fdt/libfdt/SConscript +++ b/components/drivers/fdt/libfdt/SConscript @@ -7,4 +7,4 @@ CPPPATH = [cwd] group = DefineGroup('FDT', src, depend = ['RT_USING_FDTLIB'], CPPPATH = CPPPATH) -Return('group')
\ No newline at end of file +Return('group') diff --git a/components/drivers/fdt/src/SConscript b/components/drivers/fdt/src/SConscript index 74ae118929..23f4af644e 100644 --- a/components/drivers/fdt/src/SConscript +++ b/components/drivers/fdt/src/SConscript @@ -14,4 +14,4 @@ for d in list: objs = objs + SConscript(os.path.join(d, 'SConscript')) objs = objs + group -Return('objs')
\ No newline at end of file +Return('objs') diff --git a/components/drivers/ipc/SConscript b/components/drivers/ipc/SConscript index 9f921ec509..fad4f5fb72 100644 --- a/components/drivers/ipc/SConscript +++ b/components/drivers/ipc/SConscript @@ -1,7 +1,7 @@ from building import * cwd = GetCurrentDir() -src = Glob('*.c') +src = Glob('*.c') CPPPATH = [cwd + '/../include'] if not GetDepend('RT_USING_HEAP'): diff --git a/components/drivers/misc/SConscript b/components/drivers/misc/SConscript index b0d0354cf4..f9fd17689e 100644 --- a/components/drivers/misc/SConscript +++ b/components/drivers/misc/SConscript @@ -1,22 +1,22 @@ from building import * cwd = GetCurrentDir() -src = [] +src = [] CPPPATH = [cwd + '/../include'] group = [] if GetDepend(['RT_USING_PIN']): src = src + ['pin.c'] - + if GetDepend(['RT_USING_ADC']): src = src + ['adc.c'] - + if GetDepend(['RT_USING_DAC']): src = src + ['dac.c'] if GetDepend(['RT_USING_PWM']): src = src + ['rt_drv_pwm.c'] - + if GetDepend(['RT_USING_PULSE_ENCODER']): src = src + ['pulse_encoder.c'] diff --git a/components/drivers/phy/SConscript b/components/drivers/phy/SConscript index ec12ed24c2..5b6effc98a 100644 --- a/components/drivers/phy/SConscript +++ b/components/drivers/phy/SConscript @@ -1,7 +1,7 @@ from building import * cwd = GetCurrentDir() -src = Glob('*.c') +src = Glob('*.c') CPPPATH = [cwd + '/../include'] group = DefineGroup('DeviceDrivers', src, depend = ['RT_USING_PHY'], CPPPATH = CPPPATH) diff --git a/components/drivers/rtc/SConscript b/components/drivers/rtc/SConscript index 6ec8bcb3c5..fe0d5e9db3 100644 --- a/components/drivers/rtc/SConscript +++ b/components/drivers/rtc/SConscript @@ -1,18 +1,18 @@ from building import * cwd = GetCurrentDir() -src = [] +src = [] CPPPATH = [cwd + '/../include'] group = [] if GetDepend(['RT_USING_RTC']): src = src + ['rtc.c'] - if GetDepend(['RT_USING_ALARM']): + if GetDepend(['RT_USING_ALARM']): src = src + ['alarm.c'] - if GetDepend(['RT_USING_SOFT_RTC']): + if GetDepend(['RT_USING_SOFT_RTC']): src = src + ['soft_rtc.c'] group = DefineGroup('DeviceDrivers', src, depend = ['RT_USING_RTC'], CPPPATH = CPPPATH) -Return('group')
\ No newline at end of file +Return('group') diff --git a/components/drivers/sensor/SConscript b/components/drivers/sensor/SConscript index afafc6d2ce..c25e2fe4b0 100644 --- a/components/drivers/sensor/SConscript +++ b/components/drivers/sensor/SConscript @@ -1,4 +1,4 @@ -# SConscript for sensor framework +# SConscript for sensor framework from building import * diff --git a/components/drivers/touch/SConscript b/components/drivers/touch/SConscript index 6c2a126c9c..df698c7840 100644 --- a/components/drivers/touch/SConscript +++ b/components/drivers/touch/SConscript @@ -1,4 +1,4 @@ -# SConscript for touch framework +# SConscript for touch framework from building import * diff --git a/components/drivers/usb/SConscript b/components/drivers/usb/SConscript index ca80405a76..3e148cefe2 100644 --- a/components/drivers/usb/SConscript +++ b/components/drivers/usb/SConscript @@ -3,8 +3,8 @@ import os from building import * cwd = GetCurrentDir() -objs = [] -list = os.listdir(cwd) +objs = [] +list = os.listdir(cwd) for d in list: path = os.path.join(cwd, d) diff --git a/components/drivers/usb/usbdevice/SConscript b/components/drivers/usb/usbdevice/SConscript index b6dfa8da10..3cc5bf6d43 100644 --- a/components/drivers/usb/usbdevice/SConscript +++ b/components/drivers/usb/usbdevice/SConscript @@ -8,28 +8,28 @@ core/usbdevice.c """) if GetDepend('RT_USB_DEVICE_CDC'): - src += Glob('class/cdc_vcom.c') - + src += Glob('class/cdc_vcom.c') + if GetDepend('RT_USB_DEVICE_HID'): src += Glob('class/hid.c') if GetDepend('RT_USB_DEVICE_MSTORAGE'): - src += Glob('class/mstorage.c') + src += Glob('class/mstorage.c') if GetDepend('RT_USB_DEVICE_ECM'): - src += Glob('class/ecm.c') + src += Glob('class/ecm.c') if GetDepend('RT_USB_DEVICE_RNDIS'): - src += Glob('class/rndis.c') + src += Glob('class/rndis.c') if GetDepend('RT_USB_DEVICE_WINUSB'): - src += Glob('class/winusb.c') - + src += Glob('class/winusb.c') + if GetDepend('RT_USB_DEVICE_AUDIO_MIC'): - src += Glob('class/audio_mic.c') + src += Glob('class/audio_mic.c') if GetDepend('RT_USB_DEVICE_AUDIO_SPEAKER'): - src += Glob('class/audio_speaker.c') + src += Glob('class/audio_speaker.c') CPPPATH = [cwd] diff --git a/components/drivers/usb/usbhost/SConscript b/components/drivers/usb/usbhost/SConscript index 081c732819..aa5385d52a 100644 --- a/components/drivers/usb/usbhost/SConscript +++ b/components/drivers/usb/usbhost/SConscript @@ -10,24 +10,24 @@ core/hub.c """) if GetDepend('RT_USBH_ADK'): - src += Glob('class/adk.c') - src += Glob('class/adkapp.c') + src += Glob('class/adk.c') + src += Glob('class/adkapp.c') if GetDepend('RT_USBH_MSTORAGE'): - src += Glob('class/mass.c') - src += Glob('class/udisk.c') + src += Glob('class/mass.c') + src += Glob('class/udisk.c') if GetDepend('RT_USBH_HID'): - src += Glob('class/hid.c') + src += Glob('class/hid.c') if GetDepend('RT_USBH_HID_MOUSE'): - src += Glob('class/umouse.c') + src += Glob('class/umouse.c') if GetDepend('RT_USBH_HID_KEYBOARD'): - src += Glob('class/ukbd.c') + src += Glob('class/ukbd.c') CPPPATH = [cwd, cwd + '/class', cwd + '/core', \ - cwd + '/include', cwd + '../../../include'] + cwd + '/include', cwd + '../../../include'] group = DefineGroup('rt_usbh', src, depend = ['RT_USING_USB_HOST'], CPPPATH = CPPPATH) diff --git a/components/drivers/virtio/SConscript b/components/drivers/virtio/SConscript index a7af6a017e..d38ec0e356 100644 --- a/components/drivers/virtio/SConscript +++ b/components/drivers/virtio/SConscript @@ -3,7 +3,7 @@ from building import * cwd = GetCurrentDir() -src = Glob('*.c') +src = Glob('*.c') CPPPATH = [cwd] group = DefineGroup('DeviceDrivers', src, depend = ['RT_USING_VIRTIO'], CPPPATH = CPPPATH) diff --git a/components/libc/cplusplus/SConscript b/components/libc/cplusplus/SConscript index 1c764ea3e3..760049c139 100644 --- a/components/libc/cplusplus/SConscript +++ b/components/libc/cplusplus/SConscript @@ -18,4 +18,4 @@ if GetDepend('RT_USING_CPLUSPLUS11'): group = DefineGroup('CPlusPlus', src, depend = ['RT_USING_CPLUSPLUS'], CPPPATH = CPPPATH) -Return('group')
\ No newline at end of file +Return('group') diff --git a/components/libc/posix/signal/SConscript b/components/libc/posix/signal/SConscript index 9c712fa694..eb0b103baf 100644 --- a/components/libc/posix/signal/SConscript +++ b/components/libc/posix/signal/SConscript @@ -6,8 +6,8 @@ cwd = GetCurrentDir() src = Glob('*.c') + Glob('*.cpp') CPPPATH = [cwd] -group = DefineGroup('POSIX', src, - depend = ['RT_USING_SIGNALS', 'RT_USING_PTHREADS'], +group = DefineGroup('POSIX', src, + depend = ['RT_USING_SIGNALS', 'RT_USING_PTHREADS'], CPPPATH = CPPPATH) Return('group') diff --git a/components/lwp/Kconfig b/components/lwp/Kconfig index 96e761b06b..b0c10ef722 100644 --- a/components/lwp/Kconfig +++ b/components/lwp/Kconfig @@ -56,11 +56,11 @@ if RT_USING_LWP int "The unix98 PTY input buffer size" default 1024 - config LWP_PTY_PTS_SIZE + config LWP_PTY_PTS_SIZE int "The unix98 PTY device max num" default 3 - config LWP_PTY_USING_DEBUG + config LWP_PTY_USING_DEBUG bool "The unix98 PTY debug output" default n endif diff --git a/components/lwp/SConscript b/components/lwp/SConscript index 76a5567d78..3c43dcd86e 100644 --- a/components/lwp/SConscript +++ b/components/lwp/SConscript @@ -24,7 +24,7 @@ if arch == 'risc-v': if GetDepend('LWP_UNIX98_PTY'): # print("LWP_UNIX98_PTY") - src += Glob('unix98pty/*.c') + src += Glob('unix98pty/*.c') CPPPATH += ['unix98pty/'] if platform in platform_file.keys(): # support platforms diff --git a/components/mm/SConscript b/components/mm/SConscript index d6f78ee06f..aee18c27c8 100644 --- a/components/mm/SConscript +++ b/components/mm/SConscript @@ -5,7 +5,7 @@ objs = [] if GetDepend('ARCH_MM_MMU'): cwd = GetCurrentDir() - src = Glob('*.c') + Glob('*_gcc.S') + src = Glob('*.c') + Glob('*_gcc.S') CPPPATH = [cwd] group = DefineGroup('mm', src, depend = [''], CPPPATH = CPPPATH) diff --git a/components/utilities/rt-link/Kconfig b/components/utilities/rt-link/Kconfig index d20c2f01d4..29ef4be81f 100644 --- a/components/utilities/rt-link/Kconfig +++ b/components/utilities/rt-link/Kconfig @@ -7,7 +7,7 @@ if RT_USING_RT_LINK choice prompt"use hw crc device or not" default RT_LINK_USING_SF_CRC - + config RT_LINK_USING_SF_CRC bool "use software crc table" config RT_LINK_USING_HW_CRC diff --git a/components/utilities/ymodem/SConscript b/components/utilities/ymodem/SConscript index d75539fe2c..2b3f14f0c9 100644 --- a/components/utilities/ymodem/SConscript +++ b/components/utilities/ymodem/SConscript @@ -4,7 +4,7 @@ cwd = GetCurrentDir() src = Split(''' ymodem.c ''') - + CPPPATH = [cwd] if GetDepend('YMODEM_USING_FILE_TRANSFER'): |
