Skip to content

Commit 1a7f95f

Browse files
authored
Merge pull request #1 from RT-Thread/master
test
2 parents 4a43d3c + d4469fe commit 1a7f95f

File tree

2,761 files changed

+843189
-250121
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,761 files changed

+843189
-250121
lines changed

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,11 @@ tools/kconfig-frontends/kconfig-mconf
2626
packages
2727
cconfig.h
2828
GPUCache
29+
30+
#cscope files
31+
cscope.*
32+
ncscope.*
33+
34+
#ctag files
35+
tags
36+

.travis.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ before_script:
1212
# - "[ $RTT_TOOL_CHAIN = 'sourcery-arm' ] && export RTT_EXEC_PATH=/usr/bin && arm-none-eabi-gcc --version || true"
1313
# - "[ $RTT_TOOL_CHAIN = 'sourcery-arm' ] && curl -s https://sourcery.mentor.com/public/gnu_toolchain/arm-none-eabi/arm-2014.05-28-arm-none-eabi-i686-pc-linux-gnu.tar.bz2 | sudo tar xjf - -C /opt && export RTT_EXEC_PATH=/opt/arm-2014.05/bin && /opt/arm-2014.05/bin/arm-none-eabi-gcc --version || true"
1414
- "[ $RTT_TOOL_CHAIN = 'sourcery-arm' ] && wget -q https://github.com/RT-Thread/toolchains-ci/releases/download/arm-2017q2-v6/gcc-arm-none-eabi-6-2017-q2-update-linux.tar.bz2 && sudo tar xjf gcc-arm-none-eabi-6-2017-q2-update-linux.tar.bz2 -C /opt && export RTT_EXEC_PATH=/opt/gcc-arm-none-eabi-6-2017-q2-update/bin && /opt/gcc-arm-none-eabi-6-2017-q2-update/bin/arm-none-eabi-gcc --version || true"
15-
- "[ $RTT_TOOL_CHAIN = 'sourcery-mips' ] && curl -s https://sourcery.mentor.com/public/gnu_toolchain/mips-sde-elf/mips-2012.09-98-mips-sde-elf-i686-pc-linux-gnu.tar.bz2 | sudo tar xjf - -C /opt && export RTT_EXEC_PATH=/opt/mips-2012.09/bin && /opt/mips-2012.09/bin/mips-sde-elf-gcc --version || true"
15+
- "[ $RTT_TOOL_CHAIN = 'sourcery-mips' ] && curl -s https://sourcery.mentor.com/public/gnu_toolchain/mips-sde-elf/mips-2016.05-7-mips-sde-elf-i686-pc-linux-gnu.tar.bz2 | sudo tar xjf - -C /opt && export RTT_EXEC_PATH=/opt/mips-2016.05/bin && /opt/mips-2016.05/bin/mips-sde-elf-gcc --version || true"
1616
# - "[ $RTT_TOOL_CHAIN = 'sourcery-ppc' ] && curl -s https://sourcery.mentor.com/public/gnu_toolchain/powerpc-eabi/freescale-2011.03-39-powerpc-eabi-i686-pc-linux-gnu.tar.bz2 | sudo tar xjf - -C /opt && export RTT_EXEC_PATH=/opt/freescale-2011.03/bin && /opt/freescale-2011.03/bin/powerpc-eabi-gcc --version || true"
1717
# - "[ $RTT_TOOL_CHAIN = 'atmel-avr32' ] && curl -s http://www.atmel.com/images/avr32-gnu-toolchain-3.4.1.348-linux.any.x86.tar.gz | sudo tar xzf - -C /opt && export RTT_EXEC_PATH=/opt/avr32-gnu-toolchain-linux_x86/bin && /opt/avr32-gnu-toolchain-linux_x86/bin/avr32-gcc --version && curl -sO http://www.atmel.com/images/avr-headers-3.2.3.970.zip && unzip -qq avr-headers-3.2.3.970.zip -d bsp/$RTT_BSP || true"
1818
- export RTT_ROOT=`pwd`
@@ -24,7 +24,7 @@ script:
2424
env:
2525
# - RTT_BSP='simulator' RTT_CC='clang-analyze' RTT_EXEC_PATH=/usr/share/clang/scan-build
2626
- RTT_BSP='CME_M7' RTT_TOOL_CHAIN='sourcery-arm'
27-
# - RTT_BSP='apollo2' RTT_TOOL_CHAIN='sourcery-arm'
27+
- RTT_BSP='apollo2' RTT_TOOL_CHAIN='sourcery-arm'
2828
- RTT_BSP='asm9260t' RTT_TOOL_CHAIN='sourcery-arm'
2929
- RTT_BSP='at91sam9260' RTT_TOOL_CHAIN='sourcery-arm'
3030
- RTT_BSP='allwinner_tina' RTT_TOOL_CHAIN='sourcery-arm'
@@ -33,6 +33,7 @@ env:
3333
# - RTT_BSP='bf533' # no scons
3434
- RTT_BSP='efm32' RTT_TOOL_CHAIN='sourcery-arm'
3535
# - RTT_BSP='gd32450z-eval' RTT_TOOL_CHAIN='sourcery-arm'
36+
- RTT_BSP='gkipc' RTT_TOOL_CHAIN='sourcery-arm'
3637
- RTT_BSP='lm3s8962' RTT_TOOL_CHAIN='sourcery-arm'
3738
- RTT_BSP='lm3s9b9x' RTT_TOOL_CHAIN='sourcery-arm'
3839
- RTT_BSP='lm4f232' RTT_TOOL_CHAIN='sourcery-arm'
@@ -58,8 +59,11 @@ env:
5859
- RTT_BSP='mini2440' RTT_TOOL_CHAIN='sourcery-arm'
5960
# - RTT_BSP='mini4020' # no scons
6061
# - RTT_BSP='nios_ii' # no scons
62+
- RTT_BSP='nuvoton_nuc472' RTT_TOOL_CHAIN='sourcery-arm'
63+
- RTT_BSP='nuvoton_m05x' RTT_TOOL_CHAIN='sourcery-arm'
6164
# - RTT_BSP='pic32ethernet' # no scons
6265
- RTT_BSP='qemu-vexpress-a9' RTT_TOOL_CHAIN='sourcery-arm'
66+
- RTT_BSP='qemu-vexpress-gemini' RTT_TOOL_CHAIN='sourcery-arm'
6367
- RTT_BSP='sam7x' RTT_TOOL_CHAIN='sourcery-arm'
6468
# - RTT_BSP='simulator' # x86
6569
- RTT_BSP='stm32f0x' RTT_TOOL_CHAIN='sourcery-arm'
@@ -76,6 +80,7 @@ env:
7680
- RTT_BSP='stm32f429-disco' RTT_TOOL_CHAIN='sourcery-arm'
7781
- RTT_BSP='stm32l475-iot-disco' RTT_TOOL_CHAIN='sourcery-arm'
7882
- RTT_BSP='stm32l476-nucleo' RTT_TOOL_CHAIN='sourcery-arm'
83+
- RTT_BSP='stm32h743-nucleo' RTT_TOOL_CHAIN='sourcery-arm'
7984
# - RTT_BSP='taihu' RTT_TOOL_CHAIN='sourcery-ppc'
8085
# - RTT_BSP='upd70f3454' # iar
8186
# - RTT_BSP='x86' # x86

.vscode/settings.json

Lines changed: 0 additions & 9 deletions
This file was deleted.

COPYING

Lines changed: 0 additions & 340 deletions
This file was deleted.

ChangeLog.md

Lines changed: 130 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,133 @@
1+
# RT-Thread v3.1.1 Change Log
2+
3+
## Kernel
4+
5+
* Support the configuration of the upward growth stack which is defined by the `ARCH_CPU_STACK_GROWS_UPWARD` macro. Because there are fewer ARCH for stacks growing upward, this configuration item does not display directly in menuconfig. When a CPU ARCH needs stacks growing upward, the configuration of `ARCH_CPU_STACK_GROWS_UPWARD` can be selected by BSP Kconfig file in default.
6+
* Support for ARMCC V6 and later compiler (LLVM-based Compiler); currently it's mainly used in Keil MDK IDE. Please notes that the "Warnings" needs to use `Moderate Warnings` in project configuration in C/C++ (AC6) TAB; After using ARMCC v6, RT-Thread will add an additional `CLANG_ARM` macro definition; (liruncong, nongxiaoming, bernard)
7+
* The `RT_USING_IDLE_HOOK` configuration in Kconfig becomes a separate configuration item, not limited to `RT_USING_HOOK`; (geniusgogo)
8+
9+
## Components
10+
11+
* Improve the PWM driver framework and add more interfaces.
12+
* Fix the F_SETFL handling in ioctrl function; Fix the return value issue of fcntl function which is always 0 value.
13+
* Fix the memheap object type issue when creating a ramfs object.
14+
* Add power management framework for low power applications.
15+
* Add multi-segment support for read and write operations in MC/SDIO driver framework (for stm32, you can choose a separate stm32_sdio package); (weety)
16+
* Add ringblk_buf component for the block mode but in ringbuffer applications;
17+
* Improve WLAN management framework with unified interfaces, management, commands, to provide more friendly support to developers and users;
18+
* Add the conditional macro in the finsh when the MSH component is not enabled, even if the code files are compiled.
19+
* Remove gdbstub and move to rt-thread packages.
20+
* Upgrade and improve SAL and AT components: (linuxhan, eddylin83, slyant, luofanlu, Hubert Xie, Lawlieta, zhaojuntao, armink)
21+
* Fix the none cleared issue when closing socket in SAL, which lead to the socket is always holding.
22+
* Fix the `select()` issue for UDP communication in AT component. Add the receiving data handling to complete the clearing of received event;
23+
* Add the errno value when receive data timeout in at_recvfrom function in the AT component.
24+
* Add the receive data timeout handling in at_client_recv function in the AT component.
25+
* Fix a possible issue in fputc function implementation when using microlib;
26+
* Add gmtime_r implementation for ARMCC, IAR tool chain;
27+
* Improve time function support in IAR and support 64bit time; (hichard)
28+
* DHCPD's support for IPv6;
29+
* Remove lwIP-1.3.2 porting and add lwIP-2.1.0 porting; lwIP-2.0.2 is still the default version.
30+
* Add a lightweight ulog component and automatically replace the debug macro of the original rtdbg.h when it's enable.
31+
* USB stack update
32+
* HOST, optimize the USB HOST timeout mechanism; fix the un-alignment visit issue in F4xx-HAL USB host driver;
33+
* Device: Add the check when class drivers are illegally registered; Fix the un-aligned access issue in some platforms; optimize CDC VCOM classes, add the timeout mechanism and ID definition.
34+
35+
## BSP
36+
37+
* Upgrade the wlan adaptor to the new version of Wi-Fi management framework in amebaz BSP.
38+
* Add airkiss wifi configuration code to amebaz BSP.
39+
* Update Apollo2 BSP with ADC, GPIO, I2C, PDM, SPI, UART and other drivers; (Haleyl)
40+
* BeagleBone BSP is changed to main function mode, and adds Kconfig configuration file.
41+
* DM365 BSP adds Kconfig configuration file;
42+
* Update HiFive1 BSP and add more documentation.
43+
* Update imx6sx BSP to main function mode, and add Kconfig configuration file.
44+
* Change the old imxrt1052-evk BSP. The imxrt1052-related BSPs are classified into the `bsp/imxrt` directory; A touch framework is added to `bsp/imxrt`, and later will be moved into `components/drivers` directory;
45+
* Improve stm32f4xx-HAL BSP with PWM, I2C, USB Host driver; (XuanZe, xuzhuoyi)
46+
* Improve stm32f10x BSP with CAN driver and increase I2C driver; (wuhanstudio, AubrCool)
47+
* Improve stm32f10x-HAL BSP with I2C, IWG, PWM, RTC and other drivers, improve UART driver; (XuanZe)
48+
* Improve stm32f429-disco BSP and add I2C, LCD, Touch driver; (xuzhuoyi)
49+
* Improve x86 BSP, support dlmodule function; (SASANO Takayoshi, parai)
50+
51+
## Tool
52+
53+
* Modify the building script to support Python 3; <Python 3 patches have been submitted to scons and need to wait for next scons release,maybe scons-3.0.2> (Arda)
54+
* Add `scons --pyconfig` mode, which has a TK UI configurator; (weety)
55+
* Support for GNU GCC 7/8 version toolchains (The `-std=c99` is not added into C-compiler flags), but please note: PThreads component failed in 2.5 and new version of newlib.
56+
57+
# RT-Thread 3.1.0 Change Log
58+
59+
## Kernel
60+
61+
* The main thread priority can be configured by Kconfig;
62+
* Add the checking of kernel object type, which can effectively avoid the problem of continuing to use kernel objects after they are destroyed.
63+
* Add the idle hook list to mount multiple idle hook, and can be configured by Kconfig.
64+
* Add the device_ops operation set to reduce the footprint of device object.
65+
* Remove the special memory operation in application module when using SLAB memory management algorithm.
66+
* Move application module from the kernel to `libc/libdl`.
67+
* Enhance the debug information output of `rtdbg.h` file.
68+
* In Keil/IAR tool chain, the `RT_USED` is used to keep symbols and avoid to add more argument or section in link phrase.
69+
70+
## Components
71+
72+
* Remove all of external codes, which will be moved to packages in the future.
73+
* Add initialization flag for shell, file system, network protocol stack etc to prevent repeated initialization;
74+
* Enable the long file name feature of ELM FatFs in default.
75+
* Change DFS FD to dynamic allocation mode. The maximum number of allocation is still DFS_FD_MAX.
76+
* Add dfs_fdtable_get() function to get different fdtable;
77+
* Add more DFS error messages, and provide easy to understand log when abnormal.
78+
* Fix the disk format issue of FatFs file system when multiple FatFs file systems are mounted.
79+
* Remove the folder enter feature in msh when input a folder name;
80+
* Add `int finsh_set_prompt (const char * prompt);` routine for setting a custom prompt for msh;
81+
* Add the VBUS configuration in Kconfig.
82+
* Move the application module from kernel to `libc/libdl` component;
83+
* Rewrite most of the management code for application module: replace the original object container with the object list; split the symbol resolution code into different processor architecture etc.
84+
* Update the application module chapter in the programming guide, and change it into dynamic module chapter.
85+
* Overwrite the exit() function of newlib to take over the processing of exit for a dlmodule.
86+
* Add SAL (Socket Abstraction Layer) component for adapting different protocol stacks and network implementations, and update the relevant sections of the programming guide;
87+
* Add AT component, including AT client, AT server and AT Socket function;
88+
* Remove the poll/select API of DFS_NET and move them to SAL component.
89+
* Remove the strong dependence of lwIP component for DFS_NET and replace it with Kconfig configuration in SAL.
90+
* Add the DHCP server function with lwIP raw API;
91+
* Fix the wait queue none-initialization issue in socket allocation of lwIP.
92+
* When a thread is about to block on a wait queue, fix the wake up issue for `rt_wqueue_wakeup' is executed to wake up that thread;
93+
* Add the PWM driver framework;
94+
* Fix the sdio_irq_wakeup release issue in the MMC/SD framework.
95+
* Fix the problem of DMA handling in the serial driver framework.
96+
* Update SFUD to v1.0.6 version;
97+
98+
## BSP
99+
100+
* Fix the SP issue when hard fault occurs for ARM Cortex-M arch;
101+
* Add C-Sky CK802 architecture porting;
102+
* Add Realtek amebaz WiFi SOC (rtl8710bn) BSP;
103+
* Update imxrt1052-evk firmware SDK to support B model chip.
104+
* Fix the copying packets issue in the Godson 1C BSP when sending message.
105+
* The Nuvoton m05x/m451 BSP are changed into the main() entry mode, and supports GCC compilation;
106+
* Fix the inconsistency issue between touch range and LCD resolution in qemu-vexpress-a9.
107+
* Add qemu-vexpress-gemini BSP for dual core A9 (RT-Thread + Linux) arch;
108+
* Add the basic porting for Raspberry Pi 2B ;
109+
* Add CAN and PWM drivers in stm32f4xx-HAL BSP;
110+
* Optimize the GPIO driver in stm32f4xx-HAL BSP;
111+
* Add UART3 driver in stm32f4xx-HAL BSP;
112+
* Fix the I2C1 driver clock in stm32f10x BSP and WDG control interface.
113+
* Add rt_hw_us_delay interface in stm32f10x-HAL BSP;
114+
* Optimize the GPIO driver in stm32f10x-HAL BSP;
115+
* Add GPIO driver and RTC driver in stm32f107 BSP;
116+
117+
## Tool
118+
119+
* ENV update to v1.0.0 final version.
120+
* ENV added the China mirror for software package, which can speed up the software package download, update etc.
121+
* Fix the ENV known bugs and enhance the interaction with users.
122+
* Add building script to detect the version of GCC & newlib;
123+
* Add building script to detect the version of armcc;
124+
* Add `scons --dist` function to make distribution for a BSP.
125+
* Add `scons - dist - strip' function to make a minimal files of distribution for a BSP.
126+
* Add `ASFLAGS/LOCAL_ASFLAGS' parameters for defined a group and pass them to assembler;
127+
* Fix some errors in building script under the Linux environment.
128+
* Add the C-Sky CDK IDE project generation.
129+
* Add `scons --target=vsc -s` to generate friendly configuration files for VSCode;
130+
1131
# RT-Thread 3.0.4 Change Log
2132

3133
## Kernel

0 commit comments

Comments
 (0)