Commit Graph

1934 Commits

Author SHA1 Message Date
bernard b44d6c4b7b [BSP] Update LPC54608
MDK ok; But GCC failed.
2017-11-01 10:39:02 +08:00
Bernard Xiong e8c77495b9 [BSP] remove gd32450z-eval from travis-ci. 2017-11-01 09:23:37 +08:00
Bernard Xiong 40e2631a45 [BSP] remove apollo2 bsp from travis-ci. 2017-11-01 09:22:43 +08:00
Bernard Xiong 96fc06e20a
Merge pull request #926 from SummerGGift/master_20171031
[BSP] add iar template for 429bsp
2017-11-01 05:56:20 +08:00
Bernard Xiong ec5fa950ed
Merge pull request #925 from SummerGGift/20171031_patch1
[BSP] change dfs_init.h => dfs.h
2017-11-01 05:54:52 +08:00
SummerGift f5486852e1 change dfs_init.h => dfs.h 2017-10-31 16:36:45 +08:00
SummerGift 7200a8da85 update bsp/stm32f429-apollo/.config
bsp/stm32f429-apollo/rtconfig.h
2017-10-31 14:57:29 +08:00
SummerGift 45fa964bb3 add bsp/stm32f429-apollo/stm32f429_flash.icf 2017-10-31 14:56:44 +08:00
SummerGift f7111cd965 iar 类型检查严格 修改函数定义类型。 2017-10-31 14:46:14 +08:00
SummerGift 2568a85c7a add iar template 2017-10-31 14:29:29 +08:00
bernard 7877836065 [BSP] Update project files. 2017-10-31 11:59:49 +08:00
bernard 47acab4469 Merge branch 'master' of https://github.com/RT-Thread/rt-thread 2017-10-31 09:55:23 +08:00
bernard 08d2e63b6d [BSP] Add BOARD_STM32F429_APPOLO option. 2017-10-31 09:55:12 +08:00
Bernard Xiong 0c04810a18
Merge pull request #921 from TanekLiang/imx_rt
[bsp] fix gcc build error and add missing file in i.MX RT.
2017-10-30 16:54:18 +08:00
tanek liang 96b081fb4a [bsp] fix gcc build error 2017-10-30 16:52:10 +08:00
tanek liang 60e3e57905 [bsp] add missing files for emac 2017-10-30 16:51:37 +08:00
bernard 6469a748b3 [BSP] remove the old ipaddr settings. 2017-10-29 15:22:18 +08:00
aozima f75c8f6e81 update SConscript: support scons 3. 2017-10-29 14:32:53 +08:00
Bernard Xiong d235ad44c6
Merge pull request #917 from TanekLiang/imx_rt
[bsp] update i.mx rt 1052 bsp
2017-10-28 10:07:11 +08:00
tanek liang 348a6f506a [bsp] rename bsp: imxrt --> imxrt1052-evk 2017-10-28 10:04:39 +08:00
tanek liang bb07f393b2 [bsp] add enet and lwip for i.mx rt 1052 2017-10-28 09:41:14 +08:00
bernard 4074a3f246 [BSP] Update stm32f429-apollo Kconfig. 2017-10-28 07:57:26 +08:00
SummerGift be84b44f1e update bsp/stm32f429-apollo/KConfig 2017-10-27 16:37:20 +08:00
Bernard Xiong 440a08f2ba Merge pull request #912 from SummerGGift/patch_171027-3
[BSP] update stm32f429-apollo .config rtconfig.h
2017-10-27 12:33:35 +08:00
Bernard Xiong acf8ab9af2 Merge pull request #911 from SummerGGift/patch_171027-2
[BSP] Fix the linkup state for ETH initialization.
2017-10-27 12:32:08 +08:00
SummerGift 92f80bb98a update .config rtconfig.h 2017-10-27 11:57:55 +08:00
SummerGift 0560feabdd 修改:网卡驱动注册后改变连接状态为link up,避免因为连接状态没有更新而导致lwip 2.02无法使用。 2017-10-27 11:44:37 +08:00
ArdaFu 064f182a0d [bsp]Fix RT_LWIP_IPADDR RT_LWIP_GWADDR RT_LWIP_MSKADDR define, replace multi-bytes MACRO with single string MACRO. 2017-10-27 10:05:31 +08:00
tanek liang e93d581e50 [bsp] add i.mx rt 1052 support 2017-10-26 18:12:48 +08:00
aozima 601ab35841 update gcc linker script: fixed __bss_start align error. 2017-10-24 09:49:48 +08:00
Bernard Xiong 7a36b1f918 Merge pull request #897 from caogos/master
[BSP] 增加龙芯1c的硬件SPI相关接口
2017-10-24 06:31:10 +08:00
勤为本 51d02f98d6 增加龙芯1c的硬件SPI相关接口 2017-10-23 17:10:48 +08:00
Bernard Xiong 7ea1d0c672 [BSP] fix the compiling error 2017-10-22 17:07:10 +08:00
bernard 1181c5b308 Merge branch 'master' of https://github.com/RT-Thread/rt-thread 2017-10-21 23:26:45 +08:00
bernard 252432baf0 [BSP] Update QEMU VExpress A9 BSP. 2017-10-21 23:26:30 +08:00
weety ab7d4fd665 [BSP][at91sam9260] Support rt_hw_console_output function. 2017-10-21 17:38:22 +08:00
weety ecc8db0cd6 [BSP][at91sam9260] Cleanup Code. 2017-10-21 17:37:10 +08:00
Bernard Xiong 82ca200ff5 Merge pull request #893 from SummerGGift/patch_171020
[BSP] Update stm32f429 apollo with .config.
2017-10-21 07:50:55 +08:00
SummerGift cf094b6afc update apollo bsp 2017-10-20 18:42:44 +08:00
SummerGift 70059232cf update KConfig 2017-10-20 18:37:10 +08:00
SummerGift a98fc2909a update apollo bsp 2017-10-20 18:33:41 +08:00
Bernard Xiong 7320609c9a Update sdram.ld 2017-10-20 16:57:17 +08:00
Bernard Xiong 5e22c23d72 Merge pull request #891 from uestczyh222/master
[BSP] Add stm32f10x_HAL bsp.
2017-10-20 15:45:35 +08:00
Bernard Xiong 0f6e68ff0a Merge pull request #889 from weety/rtt3_9260
[BSP] update 9260 bsp.
2017-10-20 15:11:55 +08:00
Bernard Xiong 8e398fe439 Merge pull request #887 from yygg/master
[BSP] fix compiling error for simulator bsp.
2017-10-20 15:07:35 +08:00
SummerGift 23ee66c63c update rtconfig.py 2017-10-20 15:02:49 +08:00
SummerGift 9ebae26b7f update .config rtconfig.h 2017-10-20 15:01:12 +08:00
MiraculousConch a004dfa361 [BSP]添加STM32F10x HAL库的支持
[BSP]添加STM32F10x HAL库的支持
2017-10-20 14:52:36 +08:00
SummerGift 6e4d1fae2a [修改]: stm32f429-apollo 3.0 修改。 2017-10-20 14:33:01 +08:00
yygg_you 2d0c10a0ca 修改simulator,匹配RTT 3.0 2017-10-20 13:26:47 +08:00
weety 5150e19d4b [bsp][dm365] Support rt_hw_console_output function; Adjust the initialization sequence; Cleanup code.
[drv][mmcsd] Undo Changes.
2017-10-20 11:19:03 +08:00
weety 1a9de2e1bd [bsp][asm9260t] Fix link script ENTRY symbol. 2017-10-19 23:58:47 +08:00
weety 6085f6826d [bsp][at91sam9260] Fix the problem of the finsh function failure by using component initialization. 2017-10-19 23:46:17 +08:00
weety dd5ac17fc8 [bsp][dm365] Using component initial;
[drv][mmcsd] Add component initial.
2017-10-19 19:14:06 +08:00
weety 985558a40e [bsp][dm365] Fix compile error. 2017-10-17 16:25:54 +08:00
ArdaFu 6ee66d92e7 [bsp][sam7x] Fix compile error. Increase DATA section size in .ld file. 2017-10-17 14:45:31 +08:00
ArdaFu 6bfaa632b9 [bsp][lm3s8962] Fix complie error. Add missing macro RT_USING_LIBC. Force use Lwip 1.4.1 bye define RT_USING_LWIP141 2017-10-17 14:33:32 +08:00
ArdaFu 79ad3fc8e5 [bsp][stm32f107] fix compile error. add missing macro RT_USING_LIBC 2017-10-17 14:28:25 +08:00
ArdaFu 3051276e09 [BSP][Simulator] Fix compile error. Replace nfs_init.h with nfs.h 2017-10-17 14:03:25 +08:00
勤为本 b2fbe4df01 清理编译告警和错误。编译告警和错误的原因是删除了头文件“components.h” 2017-10-17 11:14:48 +08:00
bernard 6101d1e80e [BSP] Update QEMU VExpress A9 BSP. 2017-10-17 09:53:16 +08:00
Bernard Xiong 2b36e6fcb6 [BSP] fix compiling issue 2017-10-16 20:45:00 +08:00
Bernard Xiong 591339e7a8 [BSP] fix compiling issue 2017-10-16 19:16:10 +08:00
bernard 296d57e859 [BSP] remove components.h file. 2017-10-16 14:10:18 +08:00
bernard 5e3b3b19a6 [BSP] change the type of cmd.
1. Change the type of cmd to 'int';
2. Remove RT_LWIP_USING_RT_MEM macro;
2017-10-16 13:23:03 +08:00
SummerGift 96383266b4 [完善]:修改429bsp,8g的sd卡可以使用,但是大容量32g的卡无法通过初始化。 2017-10-09 17:05:04 +08:00
bernard 22490a9cfc [bsp] Update SConscript for stm32f429 apollo bsp 2017-10-09 15:12:03 +08:00
SummerGift 5087245cea [删除]:删除不必要的old文件。 2017-10-09 14:22:13 +08:00
SummerGift 345eb7fd10 [添加]:添加Mdk5模板配置文件。 2017-10-09 14:22:12 +08:00
SummerGift 6ccbcc8d84 [添加]:添加mdk5模板。 2017-10-09 14:22:12 +08:00
SummerGift a868df4528 [修改]:修改rtconfig配置文件 2017-10-09 14:22:11 +08:00
SummerGift fd28bfc6d6 [修改]:修改.config默认配置。 2017-10-09 14:22:11 +08:00
SummerGift e2e119941c [更新]:更新rtconfig.h 2017-10-09 14:22:11 +08:00
SummerGift b5d61a37b0 [修改]:修改sconscript文件以便于配置工程。 2017-10-09 14:22:10 +08:00
SummerGift a43f1f48ed [更新]:更新kconfig,去除不必要的配置项。 2017-10-09 14:22:10 +08:00
SummerGift a9036a51c7 [更新]:更新默认工程配置。 2017-10-09 14:22:09 +08:00
SummerGift 950b769f75 [修改]:修改bsp中rtgui的依赖。 2017-10-09 14:22:08 +08:00
SummerGift 8340913793 [修改]:由于menuconfig不支持#define RT_CONFIG_UFFS_ECC_MODE UFFS_ECC_HW_AUTO这种宏定义。所以要留一个old做对比用。 2017-10-09 12:33:59 +08:00
Bernard Xiong f0061b14d3 Update and rename readme.md to README.md 2017-10-06 11:37:00 +08:00
Bernard Xiong a1b27ef389 Update README.md 2017-10-06 11:20:07 +08:00
Bernard Xiong 3ced98e820 Merge pull request #844 from TanekLiang/stm32l429_armfly
[bsp] add stm32f429-armfly support
2017-10-06 11:18:48 +08:00
Bernard Xiong 930f36ecd2 Update README.md 2017-10-06 11:18:11 +08:00
Bernard Xiong 0b030d8b75 Update README.md 2017-10-06 11:10:32 +08:00
Bernard Xiong aaaa5f26e6 Update and rename bsp/AE210P/readme/readme.txt to bsp/AE210P/README.md 2017-10-06 11:10:12 +08:00
Bernard Xiong e037e6182d Delete .PHONY.size 2017-10-06 11:03:28 +08:00
Bernard Xiong ea18ef60ed Merge pull request #826 from ArcherChang/master
[BSP] Add Andes N1068 porting and simple bsp.
2017-10-06 11:03:02 +08:00
sagitattoo 8c4b9461e2 Update rtconfig.py
when "PLATFORM  == armcc", the option "CFLAGS += '  -g -O0' " needs to change to "CFLAGS += ' --c99 -g -O0'" to support the keyword "inline"
2017-09-25 22:55:26 +08:00
Bernard Xiong d79898a957 Merge pull request #850 from Quintin-Z/master
[BSP] add nv32f100x bsp.
2017-09-23 11:18:09 +08:00
zhongjiequan 81596a1408 remove bsp nv32f100x dunk file. 2017-09-20 16:19:24 +08:00
zhongjiequan fda55ff0f9 modify bsp nv32f100x from startup/application to main style. 2017-09-20 16:16:37 +08:00
Bernard Xiong 7dff1208df Merge pull request #847 from Haleyl/master
[BSP] Add bsp apollo2
2017-09-20 15:03:04 +08:00
zhongjiequan e9cafbeb6a add nv32f100x bsp. 2017-09-20 14:21:18 +08:00
lin 96b1da173e Modified not use c99 2017-09-20 12:42:23 +08:00
lin e8eaaed1fe Modified fomat and add low power 2017-09-20 11:14:45 +08:00
Bernard Xiong 72db331e52 [BSP] Add QEMU/VExpress-A9 bsp. 2017-09-19 12:14:52 +08:00
lin 0266967898 Add README.md file 2017-09-18 17:58:26 +08:00
lin 19fcea5229 Modified pin driver and some format 2017-09-18 17:45:46 +08:00
lin c19fb2ab58 Add bsp apollo2 2017-09-15 18:10:51 +08:00
liu2guang 44e3a56d91 修改SD卡驱动无法读写超过2G sector地址的数据 2017-09-14 17:23:09 +08:00
Bernard Xiong 0d193254f8 Merge pull request #845 from caogos/master
[BSP] Add FPU option for loongson1c.
2017-09-14 17:06:11 +08:00
勤为本 96f3600bde 将异常向量间隔从0x20改为0x80,mips系列cpu的异常向量的间隔为0x80(十进制的128)字节
详细内容请参见《see mips run》中的5.3节——异常向量:异常处理开始的地方
2017-09-14 12:14:55 +08:00
勤为本 574e22bdbd 在配置文件“rtconfig.h”中增加硬浮点FPU的配置项,
浮点经常会用到,所以默认使用硬浮点。
2017-09-13 15:21:09 +08:00
tanek liang 820aace92c [bsp] add stm32f429-armfly support 2017-09-12 17:57:14 +08:00
fengzi2003 0779b5e901 Update stm32_eth.c
Fix some exception handling,such as when rt_sem_take failed in tx,transmission cannot be resumed。
2017-09-08 16:15:31 +08:00
Bernard Xiong 794835dde2 Merge pull request #833 from geniusgogo/samd21
[BSP] add atmel SAM D21 bsp support
2017-09-08 15:48:22 +08:00
xieyangrun be0c547976 remove asflib/components 2017-09-08 14:18:48 +08:00
Bernard Xiong 646102a1d4 Merge pull request #840 from caogos/master
[BSP] Add I2C driver for Loongson 1C.
2017-09-06 15:52:47 +08:00
勤为本 8d90867182 增加龙芯1c硬件I2C接口 2017-09-06 12:11:46 +08:00
xieyangrun 4de4506db9 Merge branch 'samd21' of https://github.com/geniusgogo/rt-thread into samd21 2017-09-04 10:15:52 +08:00
xieyangrun d1d81c158f Merge branch 'master' of https://github.com/RT-Thread/rt-thread into samd21 2017-09-04 10:12:34 +08:00
xieyangrun 80a21100b3 remove uart rx code 2017-09-04 10:12:10 +08:00
geniusgogo 84f0d9f988 Update README.txt 2017-08-31 19:03:01 +08:00
xieyangrun 5b1235f5f5 add scons cmd build 2017-08-31 18:57:59 +08:00
xieyangrun b9ec9d64b8 finsh init change to application thread 2017-08-31 10:51:17 +08:00
geniusgogo 01c43e8bed Update application.c 2017-08-30 21:16:24 +08:00
geniusgogo 8a06b07fc9 Update application.c
code style clean
2017-08-30 21:13:46 +08:00
tanek liang 09d3599ff9 [bsp] clean code 2017-08-30 17:30:47 +08:00
xieyangrun 189c999f8e add atmel SAM D21 bsp support 2017-08-30 12:18:28 +08:00
tanek liang bb6283144c fix warning and update project files 2017-08-30 11:15:34 +08:00
tanek liang d766ababec update uart and spi driver 2017-08-30 11:15:30 +08:00
tanek liang b7cf7c5fc0 update eth driver and clean code 2017-08-30 11:13:55 +08:00
tanek liang 0ecc0f96f5 disable macro for libc 2017-08-30 11:11:11 +08:00
tanek liang c7c0edebba add spi flash driver 2017-08-30 11:10:55 +08:00
tanek liang ea2a9db341 fix eth/lcd io conflict 2017-08-30 11:10:54 +08:00
tanek liang 09f698a209 add eth driver 2017-08-30 11:10:32 +08:00
tanek liang ce4c351ebc add sdram and lcd driver 2017-08-30 11:08:16 +08:00
tanek liang b2849ad1aa update usart driver 2017-08-30 11:08:15 +08:00
tanek liang 07bd7af08e add mdk4 and iar upport 2017-08-30 11:07:55 +08:00
tanek liang 2c056a3aad add gd32f450 bsp 2017-08-30 11:07:54 +08:00
mqb 19448a920c 修改了GPIO_Configuration
STM32F4系列UART在初始化的时候,如果GPIO_AF放到GPIO_INIT后边,系统复位后,串口会向外发送一个字节的数据,通常是0x00。将GPIO_AF放到GPIO_INIT前边可以避开这个问题。
2017-08-28 12:39:17 +08:00
Bernard Xiong 2ac493698b [BSP] cleanup for hifive1 bsp. 2017-08-26 11:02:39 +08:00
ArcherChang 8923247fb3 [1] Andes N1068体系移植
a. 去除《Andes工程创建和调试》文件;
2017-08-25 14:49:48 +08:00
ArcherChang 652ea85a39 [1] Andes N1068体系移植
a. Libc改用官方版本(工具链附带版本);
    b. 去除未使用文件;
2017-08-25 14:25:35 +08:00
Bernard Xiong b9ebd183ae Merge pull request #827 from caogos/master
[BSP] Add EMAC driver in loongson1C (ported by chinesebear, https://github.com/chinesebear/rtt-net)
2017-08-25 11:07:34 +08:00
勤为本 2da0eae89c 再次修改源文件开头的license,清理网卡代码中的#if 0和#if 1 2017-08-25 10:48:59 +08:00
ArcherChang 921fbfbc21 [1] 添加Andes N1068体系;
[2] 基于AE210P EVB板;
[3] 详细信息参阅bsp/AE210P/readme文件夹;
    《Andes工程创建和调试》文档;等。
2017-08-25 10:25:33 +08:00
勤为本 63d2ede1b3 清理龙芯1c片内网卡驱动的冗余代码,给没有license的源码文件增加license 2017-08-24 15:03:08 +08:00
勤为本 838c63f365 添加龙芯1C片内网卡的驱动(原创作者是chinesebear,https://github.com/chinesebear/rtt-net) 2017-08-23 15:46:51 +08:00
Bernard Xiong 1f45d8c723 Merge pull request #822 from parai/upstream
x86: bring up share object module on i386 machine
2017-08-21 09:30:17 +08:00
parai 2957cf6f52 x86: bring up share object module on i386 machine
1. upddate kernel module to support i386
2. update libdl to support open *.so by absolute path
3. new test case bsp/x86/src/hello.c to test i386 module feature

Signed-off-by: parai <parai@foxmail.com>
2017-08-20 20:24:07 +08:00
Bernard Xiong b53e3c2568 Merge pull request #812 from parai/master
[bsp] x86 : fix keyboard input issue
2017-08-18 14:16:03 +08:00
Parai Wang 0cd49a20ad x86: support both keyboard input and serial COM1 input
Signed-off-by: Parai Wang <parai@foxmail.com>
2017-08-18 12:02:43 +08:00
parai.wang 3416187ecf x86 : fix keyboard input issue 2017-08-18 11:38:00 +08:00
aozima 959b97aa34 update stm32f20x linker script: ensure last block HEAP. 2017-08-18 11:12:58 +08:00
Bernard Xiong f975ef5146 Merge pull request #807 from parai/master
[BSP] x86: add floppy driver
2017-08-18 10:55:22 +08:00
Bernard Xiong 50a2ae584b Revert "x86: keyboad input bug fix" 2017-08-18 10:54:45 +08:00
parai bafa3a8eb3 x86: add floppy driver
currently only read okay, write is not supported, this is enough for
me to study ELF, but the floppy is really small, now only about 400kb
space free showed by df("/").

Signed-off-by: parai <parai@foxmail.com>
2017-08-17 23:34:09 +08:00
Bernard Xiong 1bfdc7dd30 Merge pull request #805 from parai/master
[bsp] x86: keyboad input bug fix
2017-08-16 23:50:09 +08:00
parai eb5ea946a6 tmp floopy driver save, no test 2017-08-16 23:37:12 +08:00
parai 08d13e033c x86: keyboad input bug fix
most of the code copy from tinix, just make it run, code quality is not good.

Signed-off-by: parai <parai@foxmail.com>
2017-08-16 22:37:06 +08:00
Bernard Xiong a0ec48d613 Merge pull request #801 from gbcwbz/stm32_test
[bsp] fix CAN IRQ for stm32 none connectivity line devices
2017-08-16 16:47:07 +08:00
parai.wang 5ba5ebc8be x86: host machine native gcc support and use qemu to run 2017-08-16 15:47:15 +08:00
Spencer Moss b60712c29c [bsp] change macro so that CAN IRQ do not interfere USB IRQ in stm32f10x 2017-08-14 00:41:09 +08:00
Spencer Moss a07c450808 [bsp] fix CAN IRQ for stm32 none connectivity line devices 2017-08-13 16:39:00 +08:00
bupleurum e84bad92ee [bsp] Prevent compilation errors in bxcan.c when using STM32F10X_LD_VL,STM32F10X_MD_VL,STM32F10X_HD_VL incorrectly choose to use the RT_USING_CAN. 2017-08-11 18:35:46 +08:00
bupleurum 2569f66df8 [bsp] Fix a CAN interrupt number macro definition bug for STM32F10X_LD,STM32F10X_MD and STM32F10X_XL series. 2017-08-11 17:39:47 +08:00
Bernard Xiong 4626b19ead Merge pull request #784 from zhangjun1996/master
[BSP] add bsp for sifive(risc-v e310).
2017-08-10 16:51:59 +08:00
Bernard Xiong 191f8476ba Merge pull request #797 from caogos/master
[bsp] Add hardware FPU support in loongson_1c.
2017-08-10 16:33:13 +08:00
勤为本 7129d77bee 增加龙芯1c硬浮点的支持(可以使用硬浮点了) 2017-08-10 15:35:03 +08:00
Bernard Xiong 71d1f7faa9 [bsp] Add LPC54608 2017-08-08 11:56:50 +08:00
Bernard Xiong 30f272e221 Merge pull request #788 from bupleurum/master
[bsp] Add some descriptions and an English version about building project in readme.txt.
2017-08-06 12:04:34 +08:00
tanek liang 6eac07ca15 [Bsp] updated spi device:
fixed error when enable "SPI2_USING_DMA"
    fixed warnning when using spi without DMA
2017-08-05 21:55:48 +08:00
tanek liang 8e09d58e7e [Bsp] stm32f107 delete c99 mode code 2017-08-05 21:13:37 +08:00
bupleurum 9b2b1bb4a1 [bsp] Add some descriptions and an English version about building project in readme.txt. 2017-08-04 18:21:34 +08:00
zhangjun 51bba09ad0 remove cpuusage.c
remove unused line in SConstruct
2017-07-31 12:17:12 +08:00
zhangjun 72cfe9dd68 modify: drivers/cpuusage.c
modify:     ../../libcpu/risc-v/e310/stack.c
	rmove unused macro definition
modify:     ../../src/idle.c
	Return to the original version
2017-07-31 12:05:45 +08:00
zhangjun 20f581a60d rename bsp risc-v to hifive1 2017-07-31 11:37:23 +08:00
zhangjun 0cd49e7c4a Merge branch 'master' of https://github.com/RT-Thread/rt-thread
add new bsp for risc-v
2017-07-31 11:27:46 +08:00
zhangjun e9f1bdf2da new file: ../../libcpu/risc-v/e310/trap.c
add file that forget to submit before
	auto change timer mtimercmp register on the base of RT_TICK_PER_SECOND in rtconfig.h
	no flashing led
new file:   ../../src/idle.c
	recover old file
2017-07-31 11:12:28 +08:00
zhangjun a5305c05df fix bug in context_gcc.s and start_gcc.s:
save mie into stack
msh  running normaly
2017-07-31 10:59:59 +08:00
zhangjun d9c0bdc70e add plic_driver.c for global interrupt
change interrupt num to 53
change stack size to 512 before system starup
add uart drivers
open msh
remain bug:
   uart just interrupt ones
2017-07-30 22:36:12 +08:00
zhangjun 20f1a641d5 remove unused code for uart in led.c 2017-07-30 20:07:36 +08:00
zhangjun b032dff161 fix bug in rt_hw_context_switch_interrupt_do
save sp to old thread
	clear rt_thread_switch_interrupt_flag
always enable interrupt after rt_hw_context_switch
judeg the type of interrupt in trap_entry, then call handler(Machine timer interrupt of Machine external interrupt)
2017-07-30 19:46:28 +08:00
tanek liang 96e9504438 [bsp] add led task to easy confirm kernel is running 2017-07-30 19:24:39 +08:00
tanek liang 47c7d94799 [bsp] update clock before configure systick 2017-07-30 19:21:01 +08:00
zhangjun 2d56a27c20 修改: ../../libcpu/risc-v/e310/context_gcc.S
enable interrupt after return form rt_hw_context_switch
2017-07-30 15:34:32 +08:00
tanek liang c42c5d3b9d [bsp] fix incompatible type for finsh_system_init in bsp/lpc824 2017-07-30 12:50:29 +08:00
Bernard Xiong bd0d90ddb1 Merge pull request #780 from TanekLiang/lpc824_fix_typo
[bsp] fixed typo in bsp/lpc824
2017-07-29 15:59:19 +08:00
zhangjun 3c51848d33 fix trap_entry 2017-07-29 15:37:20 +08:00
Bernard Xiong cc3c4fe621 [bsp] code cleanup. 2017-07-29 15:16:09 +08:00
tanek liang dc3d3817f6 [bsp] fixed typo in bsp/lpc824 2017-07-29 15:03:15 +08:00
Bernard Xiong a9f03fb446 Merge pull request #779 from TanekLiang/LPC824
[bsp] add new bsp for lpc824
2017-07-29 14:36:22 +08:00
tanek liang d793cfdef7 [bsp] fix incompatible type error for "finsh_system_init()" 2017-07-29 14:21:40 +08:00
tanek liang db1cd8830a [bsp] add new bsp for lpc824 2017-07-29 14:07:30 +08:00
armink 573c294216 [BSP] Fix component initialization functions may be not sequential storage on ROM when used for IAR linker. 2017-07-27 13:58:07 +08:00
zhangjun b80f83f360 modified: ../../libcpu/risc-v/e310/context_gcc.S
fix open timer intrrupt
2017-07-26 16:27:54 +08:00
zhangjun 98a6896cfa remove "csrrc a5, mstatus, MSTATUS_MIE" in rt_hw_interrupt_enable();
it will lead to interrupt again in interrupt
2017-07-26 16:07:01 +08:00
Aubr.Cool fe16f91cf1 [Bsp] stm32f107 spi drv : dma add irq 2017-07-26 08:31:56 +08:00
Bernard Xiong 82359e09f0 Merge pull request #772 from caogos/master
[bsp] 在龙芯1c的编译配置脚本“rtconfig.py”中增加“交叉编译工具链的说明”
2017-07-24 20:40:40 +08:00
勤为本 fa127c6531 在龙芯1c的编译配置脚本“rtconfig.py”中增加“交叉编译工具链的说明”
使用龙芯官方推出的那个用于编译linux的交叉编译工具链来编译RT-Thread会报错,
可以使用RT-Thread官方推荐那个
2017-07-24 11:27:50 +08:00
Bernard Xiong f47433137e Merge pull request #769 from TanekLiang/stm32l475-iot
[bsp] fixed scons building error and update mdk project
2017-07-24 08:55:24 +08:00
tanek liang cad3cacfa7 [bsp] remove unused file, update SConscript and mdk project 2017-07-22 11:39:25 +08:00
tanek liang e9bb6a91b9 [bsp] fixed scons building error and update mdk project 2017-07-22 11:30:23 +08:00
Bernard Xiong f8571944ab Merge pull request #768 from TanekLiang/stm32l475-iot
[bsp] add new bsp for stm32l475 IoT discovery kit
2017-07-22 08:24:40 +08:00
Bernard Xiong 5148b9ff27 Merge pull request #766 from AubrCool/fix-stm32f10x.wdt
[BSP] stm32f10x add watchdog driver
2017-07-20 18:01:46 +08:00
Bernard Xiong c3c3503dc3 Merge pull request #765 from AubrCool/fix-fm24clxx.drv
[DeviceDrivers] add fm24clxx drv.
2017-07-20 18:00:46 +08:00
勤为本 5734d52a08 把每秒Tick数从100改为1000(龙芯1c主频252M,改为1000没问题)
把栈从4字节改为8字节对齐(浮点需要8字节对齐)
2017-07-20 17:50:43 +08:00
勤为本 358612c8a2 支持GPIO中断(外部中断) 2017-07-20 17:35:03 +08:00
勤为本 d1bb7c61f4 将支持的中断个数从32个扩展到160个,至此可以支持所有中断 2017-07-20 17:05:59 +08:00
Aubr.Cool 690128e839 [Bsp] stm32f10x fm24cl64 drv correct size 2017-07-20 12:16:49 +08:00
Aubr.Cool 2c1ee84347 BSP stm32f10x add watchdog driver 2017-07-20 11:56:21 +08:00
Aubr.Cool 81feb775fa [Bsp] stm32f10x add fm24cl64 drv 2017-07-20 11:55:27 +08:00
tanek liang 27902374db [bsp] add new bsp for stm32l475 IoT discovery kit 2017-07-20 00:37:35 +08:00
勤为本 878b222741 将“龙芯1c库”中硬件定时器相关接口移植到RT-Thread 2017-07-18 11:33:27 +08:00
勤为本 d22df879ac 将“龙芯1c库”中硬件pwm相关接口移植到RT-Thread 2017-07-18 11:28:02 +08:00
勤为本 0940301981 将“龙芯1c库”中的GPIO相关接口移植到RT-Thread 2017-07-18 11:15:10 +08:00
zhangjun b334347a24 deleted: rtthread.s /*just for debug*/
modified:   ../../libcpu/risc-v/e310/context_gcc.S
	change  ret to mret and switch to new task with mepc
2017-07-17 16:55:33 +08:00
zhangjun e01455155a add context_gcc.s 2017-07-17 15:44:00 +08:00
zhangjun f147f3398a new bsp for risc-v 2017-07-16 20:37:03 +08:00
Bernard Xiong 8034add04a Merge pull request #760 from TanekLiang/stm32f40x
[bsp] fixed uart5 tx rcc error
2017-07-09 09:10:03 +08:00
tanek liang 6199b378f5 [bsp] fixed uart5 tx rcc error 2017-07-08 22:41:00 +08:00
tanek liang da3b4d7606 [bsp] add new bsp for stm32l476-nucleo 2017-07-05 18:17:16 +08:00
tanek liang 165868c46c [bsp] insert keep section .rti_fn* in GCC link file 2017-07-01 15:59:23 +08:00
tanek liang a2d56fb5d9 [bsp] add enet driver for k64 FRDM 2017-07-01 13:46:24 +08:00
tanek liang d7c5c4e35e using components init 2017-07-01 13:38:39 +08:00
tanek liang 50d96d7d0a [bsp] update mdk template
* add mkd5 support(template.uvprojx)
2017-07-01 12:35:05 +08:00
tanek liang a4a5903b5c [bsp] update k64f bsp to KSDK 2.2 2017-07-01 11:33:12 +08:00
flyingcys bd62def30c [bsps] fix bsp/stm32f10x/bxcan.c inline bug 2017-06-24 00:11:09 +08:00
flyingcys 35e59002ef [bsp] fix bxcan.c inline bug 2017-06-23 23:23:58 +08:00
tanek liang 761a793a4b [bsp] remove error_handler() and resume RT_ASSERT() 2017-06-14 17:25:42 +08:00
tanek liang 1d6c38f42f [bsp] remove RT_ASSERT() because UART not work now 2017-06-14 17:07:08 +08:00
tanek liang 81fce5d000 [bsp] replace error_handler() by RT_ASSERT(RT_NULL) 2017-06-14 16:43:07 +08:00
tanek liang f537194d01 [bsp] update RCC initial for system
* set internal oscillator trimming value to default
  * replace integer constant by macro from HAL library
  * remove SystemCoreClockUpdate() because "SystemCoreClock" updated in HAL_RCC_ClockConfig()
  * remove delay()
2017-06-13 23:44:45 +08:00
tanek liang a157b25f55 [bsp] added Ethernet driver and lwip in stm32f429-apollo board
* use uart1 as default console device
    * add pcf8574 support(a general-purpose remote I/O expansion chip)
2017-06-09 14:58:33 +08:00
tanek liang 269a7683b5 add ili9341 lcd device and simple gui demo 2017-06-08 18:36:55 +08:00
tanek liang e4999e60b0 [bsp] stm32f429-apollo added spi flash driver and mount as FatFs 2017-06-08 12:05:10 +08:00
tanek liang a4a96bbfac re-implement tick interface for stm32f4xx HAL library and fixed typo 2017-06-05 14:58:05 +08:00
xieyangrun 92d8e4cbd8 update NRF52832 bsp 2017-05-27 11:28:40 +08:00
armink 98c830f3de [BSP] Fix a bug on stm32f4xx uart rx DMA driver when first receive data filled the FIFO. 2017-05-24 09:09:55 +08:00
armink 9b7d2023bb [BSP] Fix a bug on stm32f10x uart rx DMA driver when first receive data filled the FIFO. 2017-05-24 09:06:23 +08:00
xieyangrun b98eac9038 update init thread 2017-05-16 10:14:57 +08:00
xieyangrun 0f37b300f5 update NRF52832 support NRF52SDK13 2017-05-15 16:12:15 +08:00
tanek liang 30f825ee24 correct stm32f4xx flash vector table base location 2017-05-04 17:24:14 +08:00
ArdaFu 3e185bca9c 1. [bsp] tm4c129x update TivaWare to 2.1.4.178 2017-04-25 18:02:51 +08:00
Aubr.Cool fd08d0ba50 [Bsp] stm32f10x usart correct rx parity err 2017-04-13 12:47:49 +08:00
lizhen9880 b588d81963 cleanup some files 2017-04-12 09:58:09 +08:00
lizhen9880 1da83c5c4c 增加bsp:stm32f429-apollo
硬件信息:正点原子apollo 开发板
本bsp已实现功能:UFFS,FAT(SDcard),应用模块
2017-04-12 09:25:37 +08:00
Bernard Xiong 1368e01470 [BSP] fix RT_DFS_ELM_MAX_LFN to 255. 2017-04-09 19:23:28 +08:00
Bernard Xiong 54c5b83c14 Merge pull request #704 from AubrCool/fix-pin.driv.add.irq.apis
[DeviceDrivers] pin: add irq APIs.
2017-03-18 11:46:27 +08:00
armink 82930906a2 [BSP] Enhanced stm32f10x serial DMA rx driver reliability. 2017-03-17 16:45:23 +08:00
armink cebbee7908 [BSP] Enhanced stm32f40x serial DMA rx driver reliability. 2017-03-17 13:31:47 +08:00
Bernard Xiong 282c2f22f2 Merge pull request #705 from onelife/efm32_fix
[BSP EFM32] Fix building issue
2017-03-16 15:16:57 +08:00
onelife 6949aafc78 [BSP EFM32] Fix building issue 2017-03-16 11:29:29 +08:00
Aubr.Cool aa8e5cc412 [components] drivers pin irq change apis 2017-03-14 10:28:29 +08:00
Aubr.Cool 320b116b5f [Components] Drivers: pin add irq apis 2017-03-10 15:07:28 +08:00
Aubr.Cool f3c2930d05 correct stm32f10x txisr error 2017-02-27 09:38:15 +08:00
zchong-cht 9cb9bf377c add /bsp/beaglebone/uboot_cmd.txt file 2017-02-13 22:09:09 +08:00
Bernard Xiong 0a60415e75 Update HAL to V1.6.0; Fix the armcc startup file. 2017-02-07 15:42:42 +08:00
Aubr.Cool 4008a0a5fb stm32f10x usart add interrupt tx mode 2017-01-19 14:27:13 +08:00
Aubr.Cool d671e7546c lpccan irq add irq enter & irq leave 2017-01-18 09:49:48 +08:00
Aubr.Cool 9b4222b2f0 bxcan irq add irq enter & irq leave 2017-01-18 09:46:16 +08:00
Aubr.Cool cd679a251e [BSP] stm32f10x bxcan correct ext frame filter 2016-12-26 14:26:47 +08:00
mwang1 182622c411 add nuvoton m451 bsp with gcc&keil support 2016-12-07 21:03:23 +08:00
Peter Harliman Liem fdfa909853 [Bsp] Fix missing spiconfig set in dm365 2016-11-08 22:13:03 +08:00
Aubr.Cool 12424777f6 add bsp stm32l072 2016-09-22 12:31:38 +08:00
Aubr.Cool c2d8bff672 [Bsp] stm32f10x delete compiler c99 mode 2016-09-21 11:31:53 +08:00
Aubr.Cool 8c229e412a [Bsp] lpc408x fix compiler error 2016-09-21 11:10:25 +08:00
Aubr.Cool e0b371edfd [BSP] LPC408X Delete compiler c99 mode 2016-09-21 10:48:21 +08:00
pangweishen 5de8bb2c50 Update rtconfig.h
When useing the macro of  _WIN32 in the file of rtconfig.h , then the file of dfs_win32.c will removed and compiled some mistakes. Fix it.
2016-09-01 14:09:42 +08:00
Bernard Xiong cd43855e48 Merge pull request #658 from xuzhuoyi/master
[BSP] Add support for STM32F429I-DISC1
2016-08-22 21:06:22 +08:00
xuzhuoyi 5f0102865d [bsp][stm32f429-disco] Fix assertion failed at function:rt_malloc 2016-08-22 15:59:53 +08:00
xuzhuoyi 119da5b035 [bsp][stm32f429-disco] Change StdPeriph to HAL 2016-08-22 01:03:17 +08:00
xuzhuoyi 234f1c6995 [bsp][stm32f429-disco]Fix hard fault while init heap 2016-08-20 23:04:01 +08:00
xuzhuoyi 715cbb7809 [bsp][stm32f429-disco] Add SDRAM support 2016-08-20 18:27:07 +08:00
aozima 1e2854381b disable stm32 EMAC hardware checksum. 2016-08-19 17:31:12 +08:00
xuzhuoyi 94cb87223e [bsp][stm32f429-disco] Add stm32f42x GPIO index 2016-08-19 17:25:59 +08:00
xuzhuoyi 1ea925f9d1 [bsp] add new bsp stm32f429-disco 2016-08-19 00:35:30 +08:00
armink f4f4bd543d [BSP] Add usart DMA Rx driver to stm32f40x. 2016-07-09 11:07:20 +08:00
kontais c72433560d flush cache after exception code install on ls1b 2016-06-15 08:42:38 -07:00
kontais b96f07e477 flush cache after exception code install 2016-06-15 08:09:56 -07:00
Bernard Xiong 4503e5d79d Merge pull request #634 from margguo/master
[BSP] Update gpio.c in BSP/stm32f10x/drivers/gpio.c
2016-05-23 22:23:03 +08:00
margguo 09b0e48439 add 48 pins IC define in BSP/stm32f10x 2016-05-23 22:15:14 +08:00
margguo 4bbbfab29c add 48 pins IC define in BSP/stm32f10x 2016-05-23 22:00:21 +08:00
margguo 3defb749cb add 48 pins IC define in BSP/stm32f10x 2016-05-23 21:57:19 +08:00
armink 7d17f50a31 [BSP] Add usart DMA Rx driver to stm32f10x. 2016-05-14 13:43:14 +08:00
Bernard Xiong eb320a0104 [BSP] fix the CRLF issue in usb_ch9 of imx6sx 2016-05-04 08:24:21 +00:00
weety 46e963b315 [CHG] fixed compile error under linux platform 2016-04-25 15:42:07 +08:00
Bernard Xiong fd7a65b4be [LIBC] remove minilibc when compiling simulator under Linux 2016-04-24 19:59:48 +08:00
Bernard Xiong 255f8b7c34 [BSP] Add BSP for Ingenic X1000 CPU 2016-04-24 19:34:41 +08:00
Bernard Xiong 43f68131ce [BSP] Add fh8620 bsp from Shanghai Fullhan Microelectronics Co., Ltd.
FH8620 BSP
Copyright (c) 2016 Shanghai Fullhan Microelectronics Co., Ltd.
All rights reserved
2016-04-18 13:52:39 +08:00
gbcwbz 0d63eb5f6d fix hardfault when RT_CAN_USING_BUS_HOOK is enabled in bsp/stm32f10x
function `rt_pin_write` is invoked by  function `can_bus_hook`, and it should to be initialized by gpio.c.
but gpio.c was not added in SConscript
2016-04-14 23:47:32 +08:00
gbcwbz b420e83da4 fix can baud rate config error in bsp/stm32f10x fix #597
enum CANBAUD was changed in components/drivers/include/drivers/can.h ,
which causes array index out of bound in bsp/stm32f10x/drivers/bxcan.c

temporarily remove RT_CAN_USING_BUS_HOOK, because there are some bugs in
bsp/stm32f10x/applications/canapp.c  function can_bus_hook
2016-04-13 21:24:36 +08:00
gbcwbz a6fcf8cf1f remove function finsh_set_device in application.c in bsp/stm32f10x
finsh_set_device is not needed since version 1.2.0
2016-04-09 13:15:49 +08:00
gbcwbz e35ad3e677 fix initialization error in bsp/stm32f10x
temporarily disable canapp initialization.
2016-04-03 21:39:33 +08:00
Bernard Xiong 5c86147236 Update sd_sim.c 2016-03-23 23:08:35 +08:00
Bernard Xiong 55bbe7290e Delete gic.h_old 2016-02-02 15:16:22 +08:00
Bernard Xiong 0e916cee16 Delete gic.c_old 2016-02-02 15:16:14 +08:00
Bernard Xiong 97e263c498 Delete interrupt.h_old 2016-02-02 15:15:57 +08:00
ardafu e377814ce9 [bsp] rename bsp name from stm32f411re to stm32f411-nucleo 2016-01-25 16:10:54 +08:00
ardafu 48e765fdee [bsp][stm32f411-nucleo] Remove unused BSP library. 2016-01-25 15:51:33 +08:00
ardafu 313c775b22 [BSP][STM32F411RE]
1. Target board: STM32F411RE-Nucleo
2. Using STM32 HAL library version 1.4.3 (STM32Cube_FW_F4_V1.10.0)
2016-01-25 15:39:34 +08:00
yuht 585475991c update get “geometry” source
in function internal,get "geometry" form paramater "dev->user_data",  not use public variable "SDCfg"
2016-01-06 09:54:39 +08:00
Bernard Xiong 3e890570c9 [BSP] change the template setting in lpc176x;
fix the compiling warning when enable DFS.
2016-01-06 05:05:08 +08:00
yuht 2e1af44270 add RT_DFS_ELM_CODE_PAGE
解决因为缺少RT_DFS_ELM_CODE_PAGE 导致scons无法正确配置工程文件系统代码页问题。
2016-01-04 09:03:08 +08:00
zhoujie fc2467a190 fix keil armcc compiling report "Error: expected an expression" 2015-12-10 21:47:53 +08:00
Aubr.Cool b2d55d2c8c correct stm32f10x can sendmsg rtr flag error 2015-11-23 09:43:48 +08:00
Aubr.Cool 33de63fbe2 correct compile error when using can 2015-11-23 09:43:17 +08:00
weety c515c88f3f Add -nostartfiles option for link flags 2015-11-18 00:09:18 +08:00
Bernard Xiong b7fc26e169 Merge pull request #584 from xueliu/master
[BSP] Enable Heap for nRF51822
2015-11-15 16:38:40 +08:00
zchong_cht 06765bfd4a Change the head files in uart.c. 2015-11-13 23:25:59 +08:00