| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
ghs: fix the UsageFault:INVSTATE error triggered by exception_common when we build with greenhills compiler, if the exception_common function is put into a separate section: ".text.exception_common", then the address of exception_common function is an even number, for example "0x16a6c", in this case, it will trigger the UsageFaults:INVSTATE error. The reason for this error is that in the GHS compiler, a section declared through the ".section" directive must specify at least the "a" attribute. Otherwise, this section will not be linked into the final file, and this is why the address of exception_common function is invalid. The following is the official explanation in the GHS compiler documentation: "The reason for this error is that in the GHS compiler, a section declared through the .section directive must specify at least the "a" attribute. Otherwise, this section will not be linked into the final file. The following is the official explanation in the documentation: "Sections that are intended be part of the final linked output should have at least the a attribute" and for GHS compiler, the .text section is recommended specify the attribute of ax. Signed-off-by: guoshichao <guoshichao@xiaomi.com> | 2 个月前 | |
net: allow icmpv6 and udp to find the dev by the ifindex with s_boundto. In order to support the dhcpv6c. Signed-off-by: liqinhui <liqinhui@xiaomi.com> | 2 个月前 | |
arch/arm: support decouple signal related function from arch code Signed-off-by: guoshichao <guoshichao@xiaomi.com> | 2 个月前 | |
dns: fix dns failed when ipv4/6 dual stack enable The ipv6 address filled the cache, and the ipv4 address did not have a place to store it, causing the resolution to fail. so if IPV6 has already filled the buffer, rewrite ipv4 DNS results from half of the buffer. Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com> | 2 个月前 | |
arm: remove up_set_current_regs/up_current_regs reason: up_set_current_regs initially had two functions: 1: To mark the entry into an interrupt state. 2: To record the context before an interrupt/exception. If we switch to a new task, we need to store the upcoming context regs by calling up_set_current_regs(regs). Currently, we record the context in other ways, so the second function is obsolete. Therefore, we need to rename up_set_current_regs to better reflect its actual meaning, which is solely to mark an interrupt. Signed-off-by: hujun5 <hujun5@xiaomi.com> | 2 个月前 | |
toolchain/arm/clang:Update clang compilation specifications Delete the specified --config, clang can automatically find the library file through the set -march, -mcpu, and -mfpu Otherwise, different versions of clang support different special cfg settings. Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com> | 2 个月前 | |
arm: remove g_running_tasks[this_cpu()] = NULL reason: We hope to keep g_running_tasks valid forever. Signed-off-by: hujun5 <hujun5@xiaomi.com> | 2 个月前 | |
nuttx: Use MIN/MAX definitions from "sys/param.h" Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com> | 2 个月前 | |
arm/tlsr82: move peripherals pin config to board.h Signed-off-by: wangbowen6 <wangbowen6@xiaomi.com> (cherry-picked from commit 589647308cbe7dcee4a4672e8562f150b7610111) | 2 个月前 | |
wireless/bcm43xxx: only report PSK ssid by scan filter Signed-off-by: chao an <anchao@xiaomi.com> | 2 个月前 | |
tlsr82: first commit of telink tlsr82xx chip port. Patchset 1 ~ 26 - context switch; - timer, uart, pwm, gpio, adc driver; - flash, watchdog driver; - uart txdma/rxdma; - spi console driver. Patchset 27 - add board reset and enable reboot command; - add tc32_atomic for ltp test; - add software flaot point lib in Kconfig and Make.defs. Patchset 28 - optimize ostest/defconfig for os test; - delete tc32_atomic.c, using libc/arch_atomic.c instead (select LIBC_ARCH_ATOMIC). Patchset 29 - optimize defconfig/nsh; - Kconfig flash initialize not depends on file system. Patchset 30 - Move debug option from chip Make.def to Toolchain.def and rename MAXOPTIMIZATION to ARCHOPTIMIZATION; - delete the gpio dynamic configuration code, before using "#if 0" comment out; - flash_boot.ld optimize: . =((. + 3) / 4 ) * 4 ==> . = ALIGN(4) .data_no_init section ==> .no_init. Patchset 31 - Remove all the FAR in folder tlsr82; - Format Make.defs; - Using arm/common Make.defs (based on PR #6165); - Add flash partition; - Telink license changes to Apache. Patchset 32 - Format file cstartup_flash.S; - Remove C99_BOOL8 config in all defconfigs; - Delete file tc32_exception.S; - Correst all tc32/*.S files path in the comment. Patchset 33 - ADC configuration optimize, avoid reset and configure same adc device multi-times. Patchset 34 - Remove "FAR" in tlsr8278adk80d board folder; - Sync the Make.defs with mainline; Patchset 35 - Rebase and sync the Make.defs with mainline; Signed-off-by: wangbowen6 <wangbowen6@xiaomi.com> | 2 个月前 | |
tlsr82: first commit of telink tlsr82xx chip port. Patchset 1 ~ 26 - context switch; - timer, uart, pwm, gpio, adc driver; - flash, watchdog driver; - uart txdma/rxdma; - spi console driver. Patchset 27 - add board reset and enable reboot command; - add tc32_atomic for ltp test; - add software flaot point lib in Kconfig and Make.defs. Patchset 28 - optimize ostest/defconfig for os test; - delete tc32_atomic.c, using libc/arch_atomic.c instead (select LIBC_ARCH_ATOMIC). Patchset 29 - optimize defconfig/nsh; - Kconfig flash initialize not depends on file system. Patchset 30 - Move debug option from chip Make.def to Toolchain.def and rename MAXOPTIMIZATION to ARCHOPTIMIZATION; - delete the gpio dynamic configuration code, before using "#if 0" comment out; - flash_boot.ld optimize: . =((. + 3) / 4 ) * 4 ==> . = ALIGN(4) .data_no_init section ==> .no_init. Patchset 31 - Remove all the FAR in folder tlsr82; - Format Make.defs; - Using arm/common Make.defs (based on PR #6165); - Add flash partition; - Telink license changes to Apache. Patchset 32 - Format file cstartup_flash.S; - Remove C99_BOOL8 config in all defconfigs; - Delete file tc32_exception.S; - Correst all tc32/*.S files path in the comment. Patchset 33 - ADC configuration optimize, avoid reset and configure same adc device multi-times. Patchset 34 - Remove "FAR" in tlsr8278adk80d board folder; - Sync the Make.defs with mainline; Patchset 35 - Rebase and sync the Make.defs with mainline; Signed-off-by: wangbowen6 <wangbowen6@xiaomi.com> | 2 个月前 | |
tlsr82: first commit of telink tlsr82xx chip port. Patchset 1 ~ 26 - context switch; - timer, uart, pwm, gpio, adc driver; - flash, watchdog driver; - uart txdma/rxdma; - spi console driver. Patchset 27 - add board reset and enable reboot command; - add tc32_atomic for ltp test; - add software flaot point lib in Kconfig and Make.defs. Patchset 28 - optimize ostest/defconfig for os test; - delete tc32_atomic.c, using libc/arch_atomic.c instead (select LIBC_ARCH_ATOMIC). Patchset 29 - optimize defconfig/nsh; - Kconfig flash initialize not depends on file system. Patchset 30 - Move debug option from chip Make.def to Toolchain.def and rename MAXOPTIMIZATION to ARCHOPTIMIZATION; - delete the gpio dynamic configuration code, before using "#if 0" comment out; - flash_boot.ld optimize: . =((. + 3) / 4 ) * 4 ==> . = ALIGN(4) .data_no_init section ==> .no_init. Patchset 31 - Remove all the FAR in folder tlsr82; - Format Make.defs; - Using arm/common Make.defs (based on PR #6165); - Add flash partition; - Telink license changes to Apache. Patchset 32 - Format file cstartup_flash.S; - Remove C99_BOOL8 config in all defconfigs; - Delete file tc32_exception.S; - Correst all tc32/*.S files path in the comment. Patchset 33 - ADC configuration optimize, avoid reset and configure same adc device multi-times. Patchset 34 - Remove "FAR" in tlsr8278adk80d board folder; - Sync the Make.defs with mainline; Patchset 35 - Rebase and sync the Make.defs with mainline; Signed-off-by: wangbowen6 <wangbowen6@xiaomi.com> | 2 个月前 | |
tlsr82: first commit of telink tlsr82xx chip port. Patchset 1 ~ 26 - context switch; - timer, uart, pwm, gpio, adc driver; - flash, watchdog driver; - uart txdma/rxdma; - spi console driver. Patchset 27 - add board reset and enable reboot command; - add tc32_atomic for ltp test; - add software flaot point lib in Kconfig and Make.defs. Patchset 28 - optimize ostest/defconfig for os test; - delete tc32_atomic.c, using libc/arch_atomic.c instead (select LIBC_ARCH_ATOMIC). Patchset 29 - optimize defconfig/nsh; - Kconfig flash initialize not depends on file system. Patchset 30 - Move debug option from chip Make.def to Toolchain.def and rename MAXOPTIMIZATION to ARCHOPTIMIZATION; - delete the gpio dynamic configuration code, before using "#if 0" comment out; - flash_boot.ld optimize: . =((. + 3) / 4 ) * 4 ==> . = ALIGN(4) .data_no_init section ==> .no_init. Patchset 31 - Remove all the FAR in folder tlsr82; - Format Make.defs; - Using arm/common Make.defs (based on PR #6165); - Add flash partition; - Telink license changes to Apache. Patchset 32 - Format file cstartup_flash.S; - Remove C99_BOOL8 config in all defconfigs; - Delete file tc32_exception.S; - Correst all tc32/*.S files path in the comment. Patchset 33 - ADC configuration optimize, avoid reset and configure same adc device multi-times. Patchset 34 - Remove "FAR" in tlsr8278adk80d board folder; - Sync the Make.defs with mainline; Patchset 35 - Rebase and sync the Make.defs with mainline; Signed-off-by: wangbowen6 <wangbowen6@xiaomi.com> | 2 个月前 | |
tlsr82: first commit of telink tlsr82xx chip port. Patchset 1 ~ 26 - context switch; - timer, uart, pwm, gpio, adc driver; - flash, watchdog driver; - uart txdma/rxdma; - spi console driver. Patchset 27 - add board reset and enable reboot command; - add tc32_atomic for ltp test; - add software flaot point lib in Kconfig and Make.defs. Patchset 28 - optimize ostest/defconfig for os test; - delete tc32_atomic.c, using libc/arch_atomic.c instead (select LIBC_ARCH_ATOMIC). Patchset 29 - optimize defconfig/nsh; - Kconfig flash initialize not depends on file system. Patchset 30 - Move debug option from chip Make.def to Toolchain.def and rename MAXOPTIMIZATION to ARCHOPTIMIZATION; - delete the gpio dynamic configuration code, before using "#if 0" comment out; - flash_boot.ld optimize: . =((. + 3) / 4 ) * 4 ==> . = ALIGN(4) .data_no_init section ==> .no_init. Patchset 31 - Remove all the FAR in folder tlsr82; - Format Make.defs; - Using arm/common Make.defs (based on PR #6165); - Add flash partition; - Telink license changes to Apache. Patchset 32 - Format file cstartup_flash.S; - Remove C99_BOOL8 config in all defconfigs; - Delete file tc32_exception.S; - Correst all tc32/*.S files path in the comment. Patchset 33 - ADC configuration optimize, avoid reset and configure same adc device multi-times. Patchset 34 - Remove "FAR" in tlsr8278adk80d board folder; - Sync the Make.defs with mainline; Patchset 35 - Rebase and sync the Make.defs with mainline; Signed-off-by: wangbowen6 <wangbowen6@xiaomi.com> | 2 个月前 | |
tlsr82: first commit of telink tlsr82xx chip port. Patchset 1 ~ 26 - context switch; - timer, uart, pwm, gpio, adc driver; - flash, watchdog driver; - uart txdma/rxdma; - spi console driver. Patchset 27 - add board reset and enable reboot command; - add tc32_atomic for ltp test; - add software flaot point lib in Kconfig and Make.defs. Patchset 28 - optimize ostest/defconfig for os test; - delete tc32_atomic.c, using libc/arch_atomic.c instead (select LIBC_ARCH_ATOMIC). Patchset 29 - optimize defconfig/nsh; - Kconfig flash initialize not depends on file system. Patchset 30 - Move debug option from chip Make.def to Toolchain.def and rename MAXOPTIMIZATION to ARCHOPTIMIZATION; - delete the gpio dynamic configuration code, before using "#if 0" comment out; - flash_boot.ld optimize: . =((. + 3) / 4 ) * 4 ==> . = ALIGN(4) .data_no_init section ==> .no_init. Patchset 31 - Remove all the FAR in folder tlsr82; - Format Make.defs; - Using arm/common Make.defs (based on PR #6165); - Add flash partition; - Telink license changes to Apache. Patchset 32 - Format file cstartup_flash.S; - Remove C99_BOOL8 config in all defconfigs; - Delete file tc32_exception.S; - Correst all tc32/*.S files path in the comment. Patchset 33 - ADC configuration optimize, avoid reset and configure same adc device multi-times. Patchset 34 - Remove "FAR" in tlsr8278adk80d board folder; - Sync the Make.defs with mainline; Patchset 35 - Rebase and sync the Make.defs with mainline; Signed-off-by: wangbowen6 <wangbowen6@xiaomi.com> | 2 个月前 | |
arch: arm: tlsr: Use flase_read ins of memcpy Since tlsr arch support A/B bank, the hardware support relative addr to load or store, but for flash read, must use absolute addr. also combine with flash_<*>_method. Signed-off-by: Lingao Meng <menglingao@xiaomi.com> (cherry-picked from commit 3461990ef420fee7a336f4adf22bb5255302f10c) | 2 个月前 | |
arm/tlsr82: support flash protection and voltage calibration. Signed-off-by: wangbowen6 <wangbowen6@xiaomi.com> | 2 个月前 | |
Replace all sprintf with snprintf Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 | |
tlsr82: first commit of telink tlsr82xx chip port. Patchset 1 ~ 26 - context switch; - timer, uart, pwm, gpio, adc driver; - flash, watchdog driver; - uart txdma/rxdma; - spi console driver. Patchset 27 - add board reset and enable reboot command; - add tc32_atomic for ltp test; - add software flaot point lib in Kconfig and Make.defs. Patchset 28 - optimize ostest/defconfig for os test; - delete tc32_atomic.c, using libc/arch_atomic.c instead (select LIBC_ARCH_ATOMIC). Patchset 29 - optimize defconfig/nsh; - Kconfig flash initialize not depends on file system. Patchset 30 - Move debug option from chip Make.def to Toolchain.def and rename MAXOPTIMIZATION to ARCHOPTIMIZATION; - delete the gpio dynamic configuration code, before using "#if 0" comment out; - flash_boot.ld optimize: . =((. + 3) / 4 ) * 4 ==> . = ALIGN(4) .data_no_init section ==> .no_init. Patchset 31 - Remove all the FAR in folder tlsr82; - Format Make.defs; - Using arm/common Make.defs (based on PR #6165); - Add flash partition; - Telink license changes to Apache. Patchset 32 - Format file cstartup_flash.S; - Remove C99_BOOL8 config in all defconfigs; - Delete file tc32_exception.S; - Correst all tc32/*.S files path in the comment. Patchset 33 - ADC configuration optimize, avoid reset and configure same adc device multi-times. Patchset 34 - Remove "FAR" in tlsr8278adk80d board folder; - Sync the Make.defs with mainline; Patchset 35 - Rebase and sync the Make.defs with mainline; Signed-off-by: wangbowen6 <wangbowen6@xiaomi.com> | 2 个月前 | |
Merge remote-tracking branch 'mirtos/master' into dev-upmerge-nuttx-10.3-0806 Signed-off-by: liuhaitao <liuhaitao@xiaomi.com> | 2 个月前 | |
arm/tlsr82: gpio driver bug fix and optimize. Signed-off-by: wangbowen6 <wangbowen6@xiaomi.com> | 2 个月前 | |
tlsr82: first commit of telink tlsr82xx chip port. Patchset 1 ~ 26 - context switch; - timer, uart, pwm, gpio, adc driver; - flash, watchdog driver; - uart txdma/rxdma; - spi console driver. Patchset 27 - add board reset and enable reboot command; - add tc32_atomic for ltp test; - add software flaot point lib in Kconfig and Make.defs. Patchset 28 - optimize ostest/defconfig for os test; - delete tc32_atomic.c, using libc/arch_atomic.c instead (select LIBC_ARCH_ATOMIC). Patchset 29 - optimize defconfig/nsh; - Kconfig flash initialize not depends on file system. Patchset 30 - Move debug option from chip Make.def to Toolchain.def and rename MAXOPTIMIZATION to ARCHOPTIMIZATION; - delete the gpio dynamic configuration code, before using "#if 0" comment out; - flash_boot.ld optimize: . =((. + 3) / 4 ) * 4 ==> . = ALIGN(4) .data_no_init section ==> .no_init. Patchset 31 - Remove all the FAR in folder tlsr82; - Format Make.defs; - Using arm/common Make.defs (based on PR #6165); - Add flash partition; - Telink license changes to Apache. Patchset 32 - Format file cstartup_flash.S; - Remove C99_BOOL8 config in all defconfigs; - Delete file tc32_exception.S; - Correst all tc32/*.S files path in the comment. Patchset 33 - ADC configuration optimize, avoid reset and configure same adc device multi-times. Patchset 34 - Remove "FAR" in tlsr8278adk80d board folder; - Sync the Make.defs with mainline; Patchset 35 - Rebase and sync the Make.defs with mainline; Signed-off-by: wangbowen6 <wangbowen6@xiaomi.com> | 2 个月前 | |
tlsr82: first commit of telink tlsr82xx chip port. Patchset 1 ~ 26 - context switch; - timer, uart, pwm, gpio, adc driver; - flash, watchdog driver; - uart txdma/rxdma; - spi console driver. Patchset 27 - add board reset and enable reboot command; - add tc32_atomic for ltp test; - add software flaot point lib in Kconfig and Make.defs. Patchset 28 - optimize ostest/defconfig for os test; - delete tc32_atomic.c, using libc/arch_atomic.c instead (select LIBC_ARCH_ATOMIC). Patchset 29 - optimize defconfig/nsh; - Kconfig flash initialize not depends on file system. Patchset 30 - Move debug option from chip Make.def to Toolchain.def and rename MAXOPTIMIZATION to ARCHOPTIMIZATION; - delete the gpio dynamic configuration code, before using "#if 0" comment out; - flash_boot.ld optimize: . =((. + 3) / 4 ) * 4 ==> . = ALIGN(4) .data_no_init section ==> .no_init. Patchset 31 - Remove all the FAR in folder tlsr82; - Format Make.defs; - Using arm/common Make.defs (based on PR #6165); - Add flash partition; - Telink license changes to Apache. Patchset 32 - Format file cstartup_flash.S; - Remove C99_BOOL8 config in all defconfigs; - Delete file tc32_exception.S; - Correst all tc32/*.S files path in the comment. Patchset 33 - ADC configuration optimize, avoid reset and configure same adc device multi-times. Patchset 34 - Remove "FAR" in tlsr8278adk80d board folder; - Sync the Make.defs with mainline; Patchset 35 - Rebase and sync the Make.defs with mainline; Signed-off-by: wangbowen6 <wangbowen6@xiaomi.com> | 2 个月前 | |
tlsr82: first commit of telink tlsr82xx chip port. Patchset 1 ~ 26 - context switch; - timer, uart, pwm, gpio, adc driver; - flash, watchdog driver; - uart txdma/rxdma; - spi console driver. Patchset 27 - add board reset and enable reboot command; - add tc32_atomic for ltp test; - add software flaot point lib in Kconfig and Make.defs. Patchset 28 - optimize ostest/defconfig for os test; - delete tc32_atomic.c, using libc/arch_atomic.c instead (select LIBC_ARCH_ATOMIC). Patchset 29 - optimize defconfig/nsh; - Kconfig flash initialize not depends on file system. Patchset 30 - Move debug option from chip Make.def to Toolchain.def and rename MAXOPTIMIZATION to ARCHOPTIMIZATION; - delete the gpio dynamic configuration code, before using "#if 0" comment out; - flash_boot.ld optimize: . =((. + 3) / 4 ) * 4 ==> . = ALIGN(4) .data_no_init section ==> .no_init. Patchset 31 - Remove all the FAR in folder tlsr82; - Format Make.defs; - Using arm/common Make.defs (based on PR #6165); - Add flash partition; - Telink license changes to Apache. Patchset 32 - Format file cstartup_flash.S; - Remove C99_BOOL8 config in all defconfigs; - Delete file tc32_exception.S; - Correst all tc32/*.S files path in the comment. Patchset 33 - ADC configuration optimize, avoid reset and configure same adc device multi-times. Patchset 34 - Remove "FAR" in tlsr8278adk80d board folder; - Sync the Make.defs with mainline; Patchset 35 - Rebase and sync the Make.defs with mainline; Signed-off-by: wangbowen6 <wangbowen6@xiaomi.com> | 2 个月前 | |
arch/init: call up_color_intstack before up_irq_enable Make sure interrupt stack is colored before IRQ is enabled. Currently, after calling irq_initialize in nx_start to enable interrupts, there is still a period of execution path before the interrupt stack is colored. Signed-off-by: guoshengyuan1 <guoshengyuan1@xiaomi.com> | 2 个月前 | |
tlsr82: first commit of telink tlsr82xx chip port. Patchset 1 ~ 26 - context switch; - timer, uart, pwm, gpio, adc driver; - flash, watchdog driver; - uart txdma/rxdma; - spi console driver. Patchset 27 - add board reset and enable reboot command; - add tc32_atomic for ltp test; - add software flaot point lib in Kconfig and Make.defs. Patchset 28 - optimize ostest/defconfig for os test; - delete tc32_atomic.c, using libc/arch_atomic.c instead (select LIBC_ARCH_ATOMIC). Patchset 29 - optimize defconfig/nsh; - Kconfig flash initialize not depends on file system. Patchset 30 - Move debug option from chip Make.def to Toolchain.def and rename MAXOPTIMIZATION to ARCHOPTIMIZATION; - delete the gpio dynamic configuration code, before using "#if 0" comment out; - flash_boot.ld optimize: . =((. + 3) / 4 ) * 4 ==> . = ALIGN(4) .data_no_init section ==> .no_init. Patchset 31 - Remove all the FAR in folder tlsr82; - Format Make.defs; - Using arm/common Make.defs (based on PR #6165); - Add flash partition; - Telink license changes to Apache. Patchset 32 - Format file cstartup_flash.S; - Remove C99_BOOL8 config in all defconfigs; - Delete file tc32_exception.S; - Correst all tc32/*.S files path in the comment. Patchset 33 - ADC configuration optimize, avoid reset and configure same adc device multi-times. Patchset 34 - Remove "FAR" in tlsr8278adk80d board folder; - Sync the Make.defs with mainline; Patchset 35 - Rebase and sync the Make.defs with mainline; Signed-off-by: wangbowen6 <wangbowen6@xiaomi.com> | 2 个月前 | |
tlsr82: first commit of telink tlsr82xx chip port. Patchset 1 ~ 26 - context switch; - timer, uart, pwm, gpio, adc driver; - flash, watchdog driver; - uart txdma/rxdma; - spi console driver. Patchset 27 - add board reset and enable reboot command; - add tc32_atomic for ltp test; - add software flaot point lib in Kconfig and Make.defs. Patchset 28 - optimize ostest/defconfig for os test; - delete tc32_atomic.c, using libc/arch_atomic.c instead (select LIBC_ARCH_ATOMIC). Patchset 29 - optimize defconfig/nsh; - Kconfig flash initialize not depends on file system. Patchset 30 - Move debug option from chip Make.def to Toolchain.def and rename MAXOPTIMIZATION to ARCHOPTIMIZATION; - delete the gpio dynamic configuration code, before using "#if 0" comment out; - flash_boot.ld optimize: . =((. + 3) / 4 ) * 4 ==> . = ALIGN(4) .data_no_init section ==> .no_init. Patchset 31 - Remove all the FAR in folder tlsr82; - Format Make.defs; - Using arm/common Make.defs (based on PR #6165); - Add flash partition; - Telink license changes to Apache. Patchset 32 - Format file cstartup_flash.S; - Remove C99_BOOL8 config in all defconfigs; - Delete file tc32_exception.S; - Correst all tc32/*.S files path in the comment. Patchset 33 - ADC configuration optimize, avoid reset and configure same adc device multi-times. Patchset 34 - Remove "FAR" in tlsr8278adk80d board folder; - Sync the Make.defs with mainline; Patchset 35 - Rebase and sync the Make.defs with mainline; Signed-off-by: wangbowen6 <wangbowen6@xiaomi.com> | 2 个月前 | |
arm/tlsr82: move peripherals pin config to board.h Signed-off-by: wangbowen6 <wangbowen6@xiaomi.com> (cherry-picked from commit 589647308cbe7dcee4a4672e8562f150b7610111) | 2 个月前 | |
tlsr82: first commit of telink tlsr82xx chip port. Patchset 1 ~ 26 - context switch; - timer, uart, pwm, gpio, adc driver; - flash, watchdog driver; - uart txdma/rxdma; - spi console driver. Patchset 27 - add board reset and enable reboot command; - add tc32_atomic for ltp test; - add software flaot point lib in Kconfig and Make.defs. Patchset 28 - optimize ostest/defconfig for os test; - delete tc32_atomic.c, using libc/arch_atomic.c instead (select LIBC_ARCH_ATOMIC). Patchset 29 - optimize defconfig/nsh; - Kconfig flash initialize not depends on file system. Patchset 30 - Move debug option from chip Make.def to Toolchain.def and rename MAXOPTIMIZATION to ARCHOPTIMIZATION; - delete the gpio dynamic configuration code, before using "#if 0" comment out; - flash_boot.ld optimize: . =((. + 3) / 4 ) * 4 ==> . = ALIGN(4) .data_no_init section ==> .no_init. Patchset 31 - Remove all the FAR in folder tlsr82; - Format Make.defs; - Using arm/common Make.defs (based on PR #6165); - Add flash partition; - Telink license changes to Apache. Patchset 32 - Format file cstartup_flash.S; - Remove C99_BOOL8 config in all defconfigs; - Delete file tc32_exception.S; - Correst all tc32/*.S files path in the comment. Patchset 33 - ADC configuration optimize, avoid reset and configure same adc device multi-times. Patchset 34 - Remove "FAR" in tlsr8278adk80d board folder; - Sync the Make.defs with mainline; Patchset 35 - Rebase and sync the Make.defs with mainline; Signed-off-by: wangbowen6 <wangbowen6@xiaomi.com> | 2 个月前 | |
driver/serial: remove return value of up_putc() modify the prototype of up_putc(): remove the return value The architecture code does not care about the return value of up_putc(), so removing it saves two statements: Before: After: de4c: e52de004 push {lr} @ (str lr, [sp, #-4]!) | de4c: e52de004 push {lr} @ (str lr, [sp, #-4]!) de50: e24dd014 sub sp, sp, #20 | de50: e24dd014 sub sp, sp, #20 de54: e58d0004 str r0, [sp, #4] | de54: e58d0004 str r0, [sp, #4] de58: e30030f8 movw r3, #248 @ 0xf8 | de58: e30030f8 movw r3, #248 @ 0xf8 de5c: e3423000 movt r3, #8192 @ 0x2000 | de5c: e3423000 movt r3, #8192 @ 0x2000 de60: e58d300c str r3, [sp, #12] | de60: e58d300c str r3, [sp, #12] de64: e59d1004 ldr r1, [sp, #4] | de64: e59d1004 ldr r1, [sp, #4] de68: e59d000c ldr r0, [sp, #12] | de68: e59d000c ldr r0, [sp, #12] de6c: ebfffe66 bl d80c <pl011_putc> | de6c: ebfffe66 bl d80c <pl011_putc> de70: e59d3004 ldr r3, [sp, #4] | de70: e28dd014 add sp, sp, #20 de74: e1a00003 mov r0, r3 | de74: e49df004 pop {pc} @ (ldr pc, [sp], #4) de78: e28dd014 add sp, sp, #20 | de7c: e49df004 pop {pc} @ (ldr pc, [sp], #4) | Signed-off-by: chao an <anchao@lixiang.com> | 2 个月前 | |
tlsr82: first commit of telink tlsr82xx chip port. Patchset 1 ~ 26 - context switch; - timer, uart, pwm, gpio, adc driver; - flash, watchdog driver; - uart txdma/rxdma; - spi console driver. Patchset 27 - add board reset and enable reboot command; - add tc32_atomic for ltp test; - add software flaot point lib in Kconfig and Make.defs. Patchset 28 - optimize ostest/defconfig for os test; - delete tc32_atomic.c, using libc/arch_atomic.c instead (select LIBC_ARCH_ATOMIC). Patchset 29 - optimize defconfig/nsh; - Kconfig flash initialize not depends on file system. Patchset 30 - Move debug option from chip Make.def to Toolchain.def and rename MAXOPTIMIZATION to ARCHOPTIMIZATION; - delete the gpio dynamic configuration code, before using "#if 0" comment out; - flash_boot.ld optimize: . =((. + 3) / 4 ) * 4 ==> . = ALIGN(4) .data_no_init section ==> .no_init. Patchset 31 - Remove all the FAR in folder tlsr82; - Format Make.defs; - Using arm/common Make.defs (based on PR #6165); - Add flash partition; - Telink license changes to Apache. Patchset 32 - Format file cstartup_flash.S; - Remove C99_BOOL8 config in all defconfigs; - Delete file tc32_exception.S; - Correst all tc32/*.S files path in the comment. Patchset 33 - ADC configuration optimize, avoid reset and configure same adc device multi-times. Patchset 34 - Remove "FAR" in tlsr8278adk80d board folder; - Sync the Make.defs with mainline; Patchset 35 - Rebase and sync the Make.defs with mainline; Signed-off-by: wangbowen6 <wangbowen6@xiaomi.com> | 2 个月前 | |
driver/serial: remove return value of up_putc() modify the prototype of up_putc(): remove the return value The architecture code does not care about the return value of up_putc(), so removing it saves two statements: Before: After: de4c: e52de004 push {lr} @ (str lr, [sp, #-4]!) | de4c: e52de004 push {lr} @ (str lr, [sp, #-4]!) de50: e24dd014 sub sp, sp, #20 | de50: e24dd014 sub sp, sp, #20 de54: e58d0004 str r0, [sp, #4] | de54: e58d0004 str r0, [sp, #4] de58: e30030f8 movw r3, #248 @ 0xf8 | de58: e30030f8 movw r3, #248 @ 0xf8 de5c: e3423000 movt r3, #8192 @ 0x2000 | de5c: e3423000 movt r3, #8192 @ 0x2000 de60: e58d300c str r3, [sp, #12] | de60: e58d300c str r3, [sp, #12] de64: e59d1004 ldr r1, [sp, #4] | de64: e59d1004 ldr r1, [sp, #4] de68: e59d000c ldr r0, [sp, #12] | de68: e59d000c ldr r0, [sp, #12] de6c: ebfffe66 bl d80c <pl011_putc> | de6c: ebfffe66 bl d80c <pl011_putc> de70: e59d3004 ldr r3, [sp, #4] | de70: e28dd014 add sp, sp, #20 de74: e1a00003 mov r0, r3 | de74: e49df004 pop {pc} @ (ldr pc, [sp], #4) de78: e28dd014 add sp, sp, #20 | de7c: e49df004 pop {pc} @ (ldr pc, [sp], #4) | Signed-off-by: chao an <anchao@lixiang.com> | 2 个月前 | |
tlsr82: first commit of telink tlsr82xx chip port. Patchset 1 ~ 26 - context switch; - timer, uart, pwm, gpio, adc driver; - flash, watchdog driver; - uart txdma/rxdma; - spi console driver. Patchset 27 - add board reset and enable reboot command; - add tc32_atomic for ltp test; - add software flaot point lib in Kconfig and Make.defs. Patchset 28 - optimize ostest/defconfig for os test; - delete tc32_atomic.c, using libc/arch_atomic.c instead (select LIBC_ARCH_ATOMIC). Patchset 29 - optimize defconfig/nsh; - Kconfig flash initialize not depends on file system. Patchset 30 - Move debug option from chip Make.def to Toolchain.def and rename MAXOPTIMIZATION to ARCHOPTIMIZATION; - delete the gpio dynamic configuration code, before using "#if 0" comment out; - flash_boot.ld optimize: . =((. + 3) / 4 ) * 4 ==> . = ALIGN(4) .data_no_init section ==> .no_init. Patchset 31 - Remove all the FAR in folder tlsr82; - Format Make.defs; - Using arm/common Make.defs (based on PR #6165); - Add flash partition; - Telink license changes to Apache. Patchset 32 - Format file cstartup_flash.S; - Remove C99_BOOL8 config in all defconfigs; - Delete file tc32_exception.S; - Correst all tc32/*.S files path in the comment. Patchset 33 - ADC configuration optimize, avoid reset and configure same adc device multi-times. Patchset 34 - Remove "FAR" in tlsr8278adk80d board folder; - Sync the Make.defs with mainline; Patchset 35 - Rebase and sync the Make.defs with mainline; Signed-off-by: wangbowen6 <wangbowen6@xiaomi.com> | 2 个月前 | |
arch: Change the linker generated symbols from uint32_t to uint8_t * and remove the duplicated declaration Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 | |
tlsr82: first commit of telink tlsr82xx chip port. Patchset 1 ~ 26 - context switch; - timer, uart, pwm, gpio, adc driver; - flash, watchdog driver; - uart txdma/rxdma; - spi console driver. Patchset 27 - add board reset and enable reboot command; - add tc32_atomic for ltp test; - add software flaot point lib in Kconfig and Make.defs. Patchset 28 - optimize ostest/defconfig for os test; - delete tc32_atomic.c, using libc/arch_atomic.c instead (select LIBC_ARCH_ATOMIC). Patchset 29 - optimize defconfig/nsh; - Kconfig flash initialize not depends on file system. Patchset 30 - Move debug option from chip Make.def to Toolchain.def and rename MAXOPTIMIZATION to ARCHOPTIMIZATION; - delete the gpio dynamic configuration code, before using "#if 0" comment out; - flash_boot.ld optimize: . =((. + 3) / 4 ) * 4 ==> . = ALIGN(4) .data_no_init section ==> .no_init. Patchset 31 - Remove all the FAR in folder tlsr82; - Format Make.defs; - Using arm/common Make.defs (based on PR #6165); - Add flash partition; - Telink license changes to Apache. Patchset 32 - Format file cstartup_flash.S; - Remove C99_BOOL8 config in all defconfigs; - Delete file tc32_exception.S; - Correst all tc32/*.S files path in the comment. Patchset 33 - ADC configuration optimize, avoid reset and configure same adc device multi-times. Patchset 34 - Remove "FAR" in tlsr8278adk80d board folder; - Sync the Make.defs with mainline; Patchset 35 - Rebase and sync the Make.defs with mainline; Signed-off-by: wangbowen6 <wangbowen6@xiaomi.com> | 2 个月前 | |
arm/tlsr82: optimize the adc driver. 1. Add vbat mode for chip internal voltage sample; 2. Add adc channel config; 3. Using DFIFO2 to get the sample value, follow telink sdk. 4. Add calibration function and config; Signed-off-by: wangbowen6 <wangbowen6@xiaomi.com> | 2 个月前 | |
tlsr82: first commit of telink tlsr82xx chip port. Patchset 1 ~ 26 - context switch; - timer, uart, pwm, gpio, adc driver; - flash, watchdog driver; - uart txdma/rxdma; - spi console driver. Patchset 27 - add board reset and enable reboot command; - add tc32_atomic for ltp test; - add software flaot point lib in Kconfig and Make.defs. Patchset 28 - optimize ostest/defconfig for os test; - delete tc32_atomic.c, using libc/arch_atomic.c instead (select LIBC_ARCH_ATOMIC). Patchset 29 - optimize defconfig/nsh; - Kconfig flash initialize not depends on file system. Patchset 30 - Move debug option from chip Make.def to Toolchain.def and rename MAXOPTIMIZATION to ARCHOPTIMIZATION; - delete the gpio dynamic configuration code, before using "#if 0" comment out; - flash_boot.ld optimize: . =((. + 3) / 4 ) * 4 ==> . = ALIGN(4) .data_no_init section ==> .no_init. Patchset 31 - Remove all the FAR in folder tlsr82; - Format Make.defs; - Using arm/common Make.defs (based on PR #6165); - Add flash partition; - Telink license changes to Apache. Patchset 32 - Format file cstartup_flash.S; - Remove C99_BOOL8 config in all defconfigs; - Delete file tc32_exception.S; - Correst all tc32/*.S files path in the comment. Patchset 33 - ADC configuration optimize, avoid reset and configure same adc device multi-times. Patchset 34 - Remove "FAR" in tlsr8278adk80d board folder; - Sync the Make.defs with mainline; Patchset 35 - Rebase and sync the Make.defs with mainline; Signed-off-by: wangbowen6 <wangbowen6@xiaomi.com> | 2 个月前 | |
tlsr82: first commit of telink tlsr82xx chip port. Patchset 1 ~ 26 - context switch; - timer, uart, pwm, gpio, adc driver; - flash, watchdog driver; - uart txdma/rxdma; - spi console driver. Patchset 27 - add board reset and enable reboot command; - add tc32_atomic for ltp test; - add software flaot point lib in Kconfig and Make.defs. Patchset 28 - optimize ostest/defconfig for os test; - delete tc32_atomic.c, using libc/arch_atomic.c instead (select LIBC_ARCH_ATOMIC). Patchset 29 - optimize defconfig/nsh; - Kconfig flash initialize not depends on file system. Patchset 30 - Move debug option from chip Make.def to Toolchain.def and rename MAXOPTIMIZATION to ARCHOPTIMIZATION; - delete the gpio dynamic configuration code, before using "#if 0" comment out; - flash_boot.ld optimize: . =((. + 3) / 4 ) * 4 ==> . = ALIGN(4) .data_no_init section ==> .no_init. Patchset 31 - Remove all the FAR in folder tlsr82; - Format Make.defs; - Using arm/common Make.defs (based on PR #6165); - Add flash partition; - Telink license changes to Apache. Patchset 32 - Format file cstartup_flash.S; - Remove C99_BOOL8 config in all defconfigs; - Delete file tc32_exception.S; - Correst all tc32/*.S files path in the comment. Patchset 33 - ADC configuration optimize, avoid reset and configure same adc device multi-times. Patchset 34 - Remove "FAR" in tlsr8278adk80d board folder; - Sync the Make.defs with mainline; Patchset 35 - Rebase and sync the Make.defs with mainline; Signed-off-by: wangbowen6 <wangbowen6@xiaomi.com> | 2 个月前 | |
tlsr82: first commit of telink tlsr82xx chip port. Patchset 1 ~ 26 - context switch; - timer, uart, pwm, gpio, adc driver; - flash, watchdog driver; - uart txdma/rxdma; - spi console driver. Patchset 27 - add board reset and enable reboot command; - add tc32_atomic for ltp test; - add software flaot point lib in Kconfig and Make.defs. Patchset 28 - optimize ostest/defconfig for os test; - delete tc32_atomic.c, using libc/arch_atomic.c instead (select LIBC_ARCH_ATOMIC). Patchset 29 - optimize defconfig/nsh; - Kconfig flash initialize not depends on file system. Patchset 30 - Move debug option from chip Make.def to Toolchain.def and rename MAXOPTIMIZATION to ARCHOPTIMIZATION; - delete the gpio dynamic configuration code, before using "#if 0" comment out; - flash_boot.ld optimize: . =((. + 3) / 4 ) * 4 ==> . = ALIGN(4) .data_no_init section ==> .no_init. Patchset 31 - Remove all the FAR in folder tlsr82; - Format Make.defs; - Using arm/common Make.defs (based on PR #6165); - Add flash partition; - Telink license changes to Apache. Patchset 32 - Format file cstartup_flash.S; - Remove C99_BOOL8 config in all defconfigs; - Delete file tc32_exception.S; - Correst all tc32/*.S files path in the comment. Patchset 33 - ADC configuration optimize, avoid reset and configure same adc device multi-times. Patchset 34 - Remove "FAR" in tlsr8278adk80d board folder; - Sync the Make.defs with mainline; Patchset 35 - Rebase and sync the Make.defs with mainline; Signed-off-by: wangbowen6 <wangbowen6@xiaomi.com> | 2 个月前 | |
tlsr82: first commit of telink tlsr82xx chip port. Patchset 1 ~ 26 - context switch; - timer, uart, pwm, gpio, adc driver; - flash, watchdog driver; - uart txdma/rxdma; - spi console driver. Patchset 27 - add board reset and enable reboot command; - add tc32_atomic for ltp test; - add software flaot point lib in Kconfig and Make.defs. Patchset 28 - optimize ostest/defconfig for os test; - delete tc32_atomic.c, using libc/arch_atomic.c instead (select LIBC_ARCH_ATOMIC). Patchset 29 - optimize defconfig/nsh; - Kconfig flash initialize not depends on file system. Patchset 30 - Move debug option from chip Make.def to Toolchain.def and rename MAXOPTIMIZATION to ARCHOPTIMIZATION; - delete the gpio dynamic configuration code, before using "#if 0" comment out; - flash_boot.ld optimize: . =((. + 3) / 4 ) * 4 ==> . = ALIGN(4) .data_no_init section ==> .no_init. Patchset 31 - Remove all the FAR in folder tlsr82; - Format Make.defs; - Using arm/common Make.defs (based on PR #6165); - Add flash partition; - Telink license changes to Apache. Patchset 32 - Format file cstartup_flash.S; - Remove C99_BOOL8 config in all defconfigs; - Delete file tc32_exception.S; - Correst all tc32/*.S files path in the comment. Patchset 33 - ADC configuration optimize, avoid reset and configure same adc device multi-times. Patchset 34 - Remove "FAR" in tlsr8278adk80d board folder; - Sync the Make.defs with mainline; Patchset 35 - Rebase and sync the Make.defs with mainline; Signed-off-by: wangbowen6 <wangbowen6@xiaomi.com> | 2 个月前 | |
tlsr82: first commit of telink tlsr82xx chip port. Patchset 1 ~ 26 - context switch; - timer, uart, pwm, gpio, adc driver; - flash, watchdog driver; - uart txdma/rxdma; - spi console driver. Patchset 27 - add board reset and enable reboot command; - add tc32_atomic for ltp test; - add software flaot point lib in Kconfig and Make.defs. Patchset 28 - optimize ostest/defconfig for os test; - delete tc32_atomic.c, using libc/arch_atomic.c instead (select LIBC_ARCH_ATOMIC). Patchset 29 - optimize defconfig/nsh; - Kconfig flash initialize not depends on file system. Patchset 30 - Move debug option from chip Make.def to Toolchain.def and rename MAXOPTIMIZATION to ARCHOPTIMIZATION; - delete the gpio dynamic configuration code, before using "#if 0" comment out; - flash_boot.ld optimize: . =((. + 3) / 4 ) * 4 ==> . = ALIGN(4) .data_no_init section ==> .no_init. Patchset 31 - Remove all the FAR in folder tlsr82; - Format Make.defs; - Using arm/common Make.defs (based on PR #6165); - Add flash partition; - Telink license changes to Apache. Patchset 32 - Format file cstartup_flash.S; - Remove C99_BOOL8 config in all defconfigs; - Delete file tc32_exception.S; - Correst all tc32/*.S files path in the comment. Patchset 33 - ADC configuration optimize, avoid reset and configure same adc device multi-times. Patchset 34 - Remove "FAR" in tlsr8278adk80d board folder; - Sync the Make.defs with mainline; Patchset 35 - Rebase and sync the Make.defs with mainline; Signed-off-by: wangbowen6 <wangbowen6@xiaomi.com> | 2 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 |