Commit Graph

1605 Commits

Author SHA1 Message Date
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
Xue Liu 65f1d8f409 Enable Heap for nRF51822
Fix the undefined symbol NRF_SRAM_END
Configure SRAM part for Heap
2015-11-13 13:39:40 +01:00
Bernard Xiong 6d738f79a8 Merge pull request #579 from miaoqiongb/patch-2
[BSP] Update uart.c in lpc176x
2015-11-12 10:01:55 +08:00
zchong_cht 3983f39f34 Add iar compiler support for am335x. 2015-11-11 23:44:05 +08:00
miaoqiongb 2b0a5b93b7 Update uart.c
Add interrupt enter and leave
2015-11-11 10:43:57 +08:00
Xue Liu 31c9f3ef3b Clean and fix comments 2015-11-11 00:09:15 +01:00
Xue Liu 6bad759c1f nrf52832 board.c clean 2015-11-11 00:00:42 +01:00
Xue Liu d694043cc7 Initial bsp support for nRF52832 2015-11-10 23:47:12 +01:00
Bernard Xiong dedc22379a Merge branch 'master' of https://github.com/RT-Thread/rt-thread 2015-11-09 15:25:57 +08:00
Bernard Xiong 59653699b2 Update uart.c 2015-10-30 17:19:53 +08:00
winfeng 8a73dc1be6 Update uart.c
iir = LPC_Uart->LSR;	//oe pe fe oe read for clear interrupt
2015-10-30 14:41:21 +08:00
Bernard Xiong 3677f4de9f Merge branch 'master' of https://github.com/RT-Thread/rt-thread 2015-10-23 22:10:13 +08:00
Bernard Xiong 856db6ead1 Merge pull request #570 from cedar-renjun/patch-6
Update board.h
2015-10-18 17:24:57 +08:00
cedar-renjun f19d4381e4 Update stm32f40x_flash.icf
Export the end address of ram, to avoid hard-code heap size in application
2015-10-17 21:01:41 +08:00
cedar-renjun 1e3c79602d Update board.h
Use *.icf ram symbal, to avoid hardcode.
2015-10-17 20:58:42 +08:00
Bernard Xiong 8f607deff3 [BSP] Add EMAC driver in lpc4088 2015-10-15 23:14:27 +08:00
Bernard Xiong 066ec6dc91 [BSP] remove display_controller.h/c from ls1cdev bsp 2015-10-15 12:22:16 +08:00
Bernard Xiong 402732ebb9 Merge branch 'master' of https://github.com/RT-Thread/rt-thread 2015-10-14 14:48:22 +08:00
Bernard Xiong c5fd1aaf5f Merge branch 'master' of https://github.com/RT-Thread/rt-thread 2015-10-14 11:08:04 +08:00
Bernard Xiong e460034a97 [BSP] use DoBuilding to replace env.Program/EndBuilding 2015-10-14 11:07:03 +08:00
Bernard Xiong fd53d3ec28 Merge pull request #567 from cedar-renjun/patch-5
[BSP] Update and rename readme.txt to readme.md in stm32f4
2015-10-13 12:05:22 +08:00
Bernard Xiong 942d16f3c3 Merge pull request #566 from cedar-renjun/patch-4
[BSP] include iar startup code in stm32f4
2015-10-13 12:05:10 +08:00
cedar-renjun 238ebdd045 Update and rename readme.txt to readme.md 2015-10-13 11:52:05 +08:00
cedar-renjun 34a2200428 include iar startup code
fixed bug: 'scons --target=iar -s' output iar project missing startup code, and link file

修复scons生成IAR工程中没有startup code和链接文件,导致工程中断异常和Finsh无法工作
2015-10-13 11:40:59 +08:00
cedar-renjun 78cb445af2 Create stm32f40x_flash.icf 2015-10-13 11:34:10 +08:00
ardafu 1c91512e97 [bsp][stm32f746g-disco] Fix MPU init bug.
1. Fixed the bug that MPU init function was called 2 times.
2015-10-13 09:49:27 +08:00
Bernard Xiong 369557a981 Merge branch 'master' of https://github.com/RT-Thread/rt-thread 2015-10-09 08:56:58 +08:00
Bernard Xiong a65ee8ac45 [BSP] disable module feature under simulator for Linux 2015-10-02 08:16:15 +08:00
Bernard Xiong d2ec1f3eaa [DFS] remove st_blksize in the struct stat 2015-10-01 06:46:52 +00:00
Bernard Xiong 1e4bcaca3e [BSP] remove rtgui_demo in the simulator BSP 2015-10-01 11:34:10 +08:00