Commit Graph

1454 Commits

Author SHA1 Message Date
Bernard Xiong 1ac6bc6c88 [BSP] fix compiling issue in simulator for Linux 2015-09-30 10:21:55 +00:00
Bernard Xiong cdf4c7e897 [BSP] Enable module application in simulator BSP 2015-09-30 18:06:09 +08:00
Bernard Xiong aa190ed5f6 [BSP] enable file system feature in simulator BSP 2015-09-30 17:57:58 +08:00
Bernard Xiong 7e45f059dc [BSP] Update simualtor bsp for Win32/MSVC 2015-09-30 16:26:40 +08:00
Bernard Xiong 4ab8ea53c2 Merge pull request #556 from ArdaFu/master
[bsp][stm32f746-disco] Add support of IAR tool chain
2015-09-30 11:10:36 +08:00
ardafu a8828eee89 [bsp][stm32f746-disco] Add support of IAR tool chain
1. Add IAR project template and link scripts. Add missing CXX configuration for IAR tool chain in rtconfg.py.
2. Modify all link scripts, Using ITCM interface.(Changing flash start address from 0x0800_0000 to 0x0020_0000).
2015-09-29 11:53:23 +08:00
FlyM 5ed2d0ea3b [bsp]add stm32f4xx bsp rtc driver 2015-09-29 06:53:44 +08:00
Bernard Xiong 3164e33de1 Update and rename application.c to main.c 2015-09-26 11:37:11 +08:00
ardafu 090153f94f [bsp][stm32f746-Disco] Cleanup code
1. Using RT_USING_COMPONENTS_INIT and RT_USING_USER_MAIN
2. Cleanup code
2015-09-25 15:35:37 +08:00
Bernard Xiong 168bb7843f Merge remote-tracking branch 'upstream/master' 2015-09-24 20:36:16 +08:00
Bernard Xiong 9413a61499 Merge branch 'master' of https://git.coding.net/RT-Thread/rt-thread 2015-09-24 17:23:00 +08:00
Bernard Xiong 3faca6d5df [BSP] update stm32f7-disco
code cleanup.
2015-09-24 16:03:09 +08:00
Bernard Xiong 91ae73e4e6 Merge branch 'master' of https://github.com/RT-Thread/rt-thread 2015-09-24 15:55:26 +08:00
Bernard Xiong a8dc960ba1 [BSP] update bsp config of lpc4088 2015-09-24 03:08:11 +00:00
Bernard Xiong be9b3d1df6 [BSP] Update stm32f7-disco to avoid gcc compiling error 2015-09-21 10:02:00 +00:00
Bernard Xiong 72f79d8eef Merge branch 'master' of https://github.com/RT-Thread/rt-thread 2015-09-20 14:51:22 +08:00
Bernard Xiong 9ad05db536 [BSP] fixed stm32f7-disco interrupt issue. 2015-09-20 14:47:50 +08:00
Bernard Xiong a0de58a008 [BSP] fix x86 bsp compiling issue 2015-09-15 11:50:29 +00:00
Bernard Xiong 342e8d688d Merge pull request #546 from heyuanjie87/ForPullRequest
[DeviceDrivers] Add hardware timer framework
2015-09-09 22:30:45 +08:00
heyuanjie87 f8012b9000 [lpc408x]添加定时器驱动 2015-09-06 16:37:43 +08:00
heyuanjie87 d19f424909 简化操作接口 2015-09-06 15:05:47 +08:00
weety 31f24f3460 fix compile error. 2015-09-04 22:10:22 +08:00
weety 907190124b remove unused source file. 2015-09-04 22:00:54 +08:00
weety 2021f5a276 Add the license. 2015-09-04 21:58:08 +08:00
weety b71cb4c09d Add dm365 porting. 2015-09-04 12:30:20 +08:00
heyuanjie87 c84887d021 加入定时器设备 2015-09-02 22:00:24 +08:00
Bernard Xiong 9e3c42273d Merge remote-tracking branch 'upstream/master' 2015-09-02 12:18:31 +08:00
Bernard Xiong df0c6a9e3a [BSP] fix LIBC options in stm32f7 rtconfig.h 2015-09-02 12:07:09 +08:00
Bernard Xiong 8d309a40f5 [BSP] Add copyright information. 2015-09-02 12:06:40 +08:00
Bernard Xiong ec87b91011 Merge remote-tracking branch 'upstream/master' 2015-08-31 17:19:07 +08:00
ardafu 7610ce3607 [BSP] [ASM9260T] Fix compile errors.
1. Add Heap_Size define for Keil toolchain
2. Disable pthreads in rtconfig.h
2015-08-31 09:36:26 +08:00
Bernard Xiong 7164257ecd Merge pull request #540 from pangweishen/master
[BSP]fixed some bugs for compile.
2015-08-28 17:22:32 +08:00
pangwei 4d01aaf932 [BSP]fixed some bugs for compile.
Signed-off-by: pangwei <271372443@qq.com>
2015-08-28 16:57:41 +08:00
Bernard Xiong 62a2a49c41 [BSP] Update project files for stm32f0x 2015-08-19 09:51:14 +08:00
Bernard Xiong 4a66474329 Merge remote-tracking branch 'upstream/master' 2015-08-10 08:14:20 +08:00
Bernard Xiong 300c7fd8ec [BSP] reduce the code size for STM32F0x 2015-08-09 15:34:21 +08:00
Bernard Xiong 200282a0bc [BSP] use RT_UNUSED instead of UNUSED 2015-08-09 11:34:41 +08:00
Bernard Xiong 358837bb89 [BSP] Add README.md for stm32f7-disco 2015-08-09 09:37:20 +08:00
Bernard Xiong 5a259bd93c [BSP] Add imx6sx 2015-08-09 09:36:12 +08:00
Bernard Xiong fc54a74abb [BSP] stm32f7-disco cleanup 2015-08-09 09:17:28 +08:00
Bernard Xiong 33b95be42a [BSP] rename stm32f7 to stm32f7-disco 2015-08-09 08:36:52 +08:00
nongxiaoming af8a91457e [bsp]add the stm32f74x bsp. 2015-08-07 13:30:13 +08:00
pangwei 330ab2ca0d [BSP]fix lslc compiling issue when using RT_USING_LIBC. 2015-08-06 16:12:37 +08:00
Bernard Xiong 5ccbf073cc Merge pull request #531 from pangweishen/master
[BSP] update the value of DEVICE in rtconfig.py.
2015-08-05 18:29:02 +08:00
pangwei d491b30c35 [BSP] update the value of DEVICE in rtconfig.py. 2015-08-05 17:10:49 +08:00
Bernard Xiong fd69283f3a [BSP] fix ls1b compiling issue 2015-08-03 17:41:29 +08:00
Bernard Xiong db5fc259a2 [BSP] remove the asssert_failed function in lpc176x. 2015-08-03 16:17:48 +08:00
pangwei e30ee251e3 [bsp]added the define of RT_USING_LIBC in rtconfig.h.
Signed-off-by: pangwei <271372443@qq.com>
2015-07-23 11:20:04 +08:00
pangwei 5b755b85c8 [BSP] rename the link files
Signed-off-by: pangwei <271372443@qq.com>
2015-07-23 10:38:28 +08:00
Bernard Xiong 8b7d2fb5c1 [BSP] use mips-sde-elf for ls1c bsp. 2015-07-22 10:22:40 +08:00
Bernard Xiong dbea3cc7d5 Merge pull request #521 from chinesebear/master
new file:   bsp/ls1cdev/ls1b_ram.lds
2015-07-22 10:21:20 +08:00
chinesebear 085682c76b new file: bsp/ls1cdev/ls1b_ram.lds 2015-07-16 23:19:03 +08:00
FlyM 62f0def025 1.delete comment code
2.add change log
2015-07-16 22:50:24 +08:00
FlyM 32855cfd3a rename bsp/stm32f10x/drivers/rtc.c to stm32f1_rtc.c
rename bsp/stm32f10x/drivers/rtc.h to stm32f10x/drivers/stm32f1_rtc.h

remove set_date,set_time function.
2015-07-16 02:08:44 +08:00
chinesebear 4ad1b35537 chinesebear add bsp & libcpu 2015-07-09 07:38:07 +08:00
aozima 7254c41207 [LPC4088] update CAN driver baudrate config. 2015-07-08 11:26:24 +08:00
aozima b5736b4bff [LPC4088] correct can driver compiler error and warnings. 2015-07-08 11:26:23 +08:00
aozima b15fb70616 [LPC4088] format code by Astyle. 2015-07-08 11:26:22 +08:00
Aubr.Cool 6fad73c939 [BSP] stm32f10x can code format 2015-07-07 16:31:46 +08:00
Aubr.Cool b750e11ec1 [bsp]stm32f10x add canapp can bus hook set 2015-07-07 14:37:07 +08:00
Aubr.Cool b7571b5549 [BSP] stm32f10x fix bxcan for new changed driver 2015-07-07 14:37:04 +08:00
Aubr.Cool 95fe1d15ca mv rt_components_board_init to rt_hw_board_init 2015-07-05 16:04:27 +08:00
Aubr.Cool 9ddd395eb1 correct canapp.c code indentation 2015-07-05 11:48:22 +08:00
Aubr.Cool fece837ed9 add canapp.c 2015-07-04 12:20:24 +08:00
Aubr.Cool ec46aee19b add lpc408x can driver 2015-07-04 08:14:00 +08:00
Aubr.Cool b7010ff946 fix bxcan include component.h dirs error 2015-06-30 14:27:05 +08:00
ItsEddy cb54ac8197 [BSP] Add gpio driver support for beaglebone 2015-06-19 04:19:11 +08:00
Aubr.Cool 70aedb7a34 correct bxcan rcv irq error 2015-06-16 08:49:26 +08:00
Aubr.Cool 40123f0973 correct bxcan drive errors 2015-06-16 08:49:25 +08:00
Aubr.Cool b319fb53e4 correct bxcan rcv msg rtr flag set 2015-06-16 08:49:25 +08:00
pangwei 77707e32b1 [BSP]update the serial driver.
Signed-off-by: pangwei <271372443@qq.com>
2015-06-09 16:26:52 +08:00
Aubr.Cool b155067b6b correct bxcan init error 2015-05-26 14:43:46 +08:00
BernardXiong 951fd5429c [BSP] remove Keil MDK3 project file 2015-05-23 10:26:38 +08:00
pangwei 570e9470b1 [uffs] fix the SConscript file of uffs.
Signed-off-by: pangwei <271372443@qq.com>
2015-05-21 17:06:05 +08:00
pangwei d3a031c084 [BSP]add some header File
Signed-off-by: pangwei <271372443@qq.com>
2015-05-21 15:26:31 +08:00
pangwei 688f324fea [BSP] Remove the RT_USING_COMPONENTS_INIT in rt_config.h , and added some components init functions by hand. 2015-05-21 15:05:00 +08:00
BernardXiong be895cc9b2 [BSP] update Keil MDK project file. 2015-05-20 16:57:44 +08:00
Aubr.Cool 8e29e3d98b add author information 2015-05-15 07:58:21 +08:00
Aubr.Cool eb56b832ef Add Can Drv 2015-05-14 16:52:48 +08:00
heyuanjie87 8257a62990 [stm32f4]更新mdk5工程文件 2015-05-13 21:07:31 +08:00
Alex b25e602afb fix a eth driver bug to avoid crush
fix a eth driver bug to avoid crush
2015-05-13 08:50:14 +08:00
toasun a58078d18a 2015-05-12 15:44:57 +08:00
toasun bd59276640 Update cmem7_eth.c 2015-05-12 13:43:50 +08:00
BernardXiong e38f3aa39c [BSP] Update Keil MDK project files. 2015-05-11 21:10:25 +08:00
BernardXiong 075fb45448 [BSP] update project for LPC176x 2015-05-11 21:05:11 +08:00
pangwei d01bab0e39 [bugfix] Open the #define RT_USING_LWIP in rtconfig.h , then build it , the stm32_eth.h can not find.
Signed-off-by: pangwei <271372443@qq.com>
2015-05-08 11:34:17 +08:00
Bernard Xiong 6ea06b4bb3 [BSP] Fix the scons compiling issue in mb9bf568r if use armcc. 2015-05-05 10:50:42 +08:00
Bernard Xiong f59547e782 [BSP] Fix compiling error because pthreads is depended libc 2015-05-04 13:09:07 +00:00
ardafu ce08c83c1f [bsp][asm9260t] modify file name to lowercase. 2015-05-04 17:17:28 +08:00
ardafu ae4d8da480 [bsp][asm9260t] modify file name to lowercase. 2015-05-04 16:59:01 +08:00
ardafu 9f36fd61a4 [libcpu][asm9260t] Add new BSP for AlphaScale ASM9260T 2015-05-04 16:30:05 +08:00
ardafu cc6b290640 1.[bsp][sam9260] Modify the define of irq get and ack function. 2015-05-04 16:17:40 +08:00
aozima 3563c195fb update stm32f2/f4: fixed PLL_M define. 2015-04-27 11:54:22 +08:00
Aubr.Cool 2be9959891 correct stm32f10x pin64 define error 2015-04-23 16:11:38 +08:00
Bernard Xiong bec8b3f59f Merge pull request #463 from ArdaFu/master
[cpu][sam926] Using MMU to map vector table before init INT controller.
2015-04-23 09:12:47 +08:00
ardafu b77a1cde89 [bsp][sam9260] Remove unused macro define for assemble start files. 2015-04-22 13:19:13 +08:00
ardafu dc3bd14c2a [bsp][sam9260] Optimize code
1. Cleanup unused code in startup.c.
2. Init MMU before init INT contoroller for mapping vector table to visual address 0x0
3. Remove unused section in link scripts.
2015-04-22 13:15:13 +08:00
Bernard Xiong 37b3c8781a Merge pull request #462 from ArdaFu/master
[bsp][sam9260] Add GDB start scripts.
2015-04-17 21:09:45 +08:00
ardafu 66ac2fb9d7 [bsp][sam9260] Add GDB start scripts. Call user-defined command "reset" when you start debug. 2015-04-17 18:03:05 +08:00
Bernard Xiong ce5ddc4712 Merge pull request #461 from ArdaFu/master
[bsp][stm32f0x] Modify build config to reduce code size for Travis CI
2015-04-16 20:23:08 +08:00
Bernard Xiong 418379c7da Merge pull request #445 from wzyy2/master
x86: fix compile error in c++
2015-04-16 20:22:58 +08:00
Arda 0c428b1569 Update rtconfig.py
[bsp][stm32f03x] Modify build config to reduce code size for Travis CI
2015-04-16 16:44:15 +08:00
ardafu 61609a5bf0 [bsp][sam9260] Fix Keil compile error. 2015-04-16 14:15:00 +08:00
ardafu f4555bf711 1. [bsp][sam9260] Fix the path of gcc tool chain for travis-ci
2. [bsp][sam9260] Remove unused ld file
3. [bsp][sam9260] Add J-Link debug scripts
2015-04-16 11:00:48 +08:00
ardafu cf3d639fcb [libcpu][arm926] Define vector table start at BSP/{board}/platform/ assemble INC files. 2015-04-16 10:35:12 +08:00
ardafu a478e0b41a 1. [bsp][sam9260] Switch to use Sourcery Lite GCC tool chain. 2015-04-15 17:21:41 +08:00
ardafu 6aa242645f 1. [bsp][sam9260] Fix the bug that auto reset after boot 20s. Disable watchdog in rt_lovel_level_init function.
2. [bsp][sam9260] Modify SCONS scripts to support IAR tool chain.
3. [bsp][sam9260] Move link strips in to folder link_scripts.
4. [libcpu][arm926] Add copy right to source file and format code.
2015-04-15 16:13:30 +08:00
ardafu 39452b67b0 1. [cpu] split ARM926 cpu code from AT91SAM9260 BSP 2015-04-14 21:56:34 +08:00
ItsEddy ced7d5a34f [DeviceDriver] stm32: Remove explicity clear of RXNE flag
According to STM32 Manual, the USART RXNE flag will be clear automatically after
read to the USART_DR register[1], so the call to USART_ClearITPendingBit is
unnecessary.

[1]: See RM0090 Reference Manual p.992, Bit 5
2015-04-07 21:09:22 +08:00
yangfasheng 75ede181aa update nrf51822 in bsp 2015-04-06 14:21:25 +08:00
yangfasheng 3dc20907c3 add nrf51822 to bsp 2015-04-06 13:46:14 +08:00
heyuanjie87 d4ec1ed5f9 [bsp]stm32f107/.uvprojx:fix mcu type error 2015-04-03 21:18:10 +08:00
陈豪 | Jacob Chen 7aeb40204c Update bsp.h 2015-03-29 21:16:38 +08:00
陈豪 | Jacob Chen d642d915eb [bsp]x86:fix compile error when use bsp.h in c++ 2015-03-29 18:42:31 +08:00
陈豪 | Jacob Chen 6868130cfd [bsp]x86:fix compile error when use i386.h in c++ 2015-03-29 18:41:44 +08:00
Bright Pan 93122aaa19 [BSP]stm32f10x: Fix gpio driver for 144pins and 64pins 2015-03-25 10:44:02 +08:00
Bright Pan c377690989 [BSP]stm32f10x: Add gpio driver for pin driver frame 2015-03-24 16:30:37 +08:00
unknown 351dd923e3 bsp stm32f10x add uart4 drive 2015-03-11 15:24:09 +08:00
Bernard Xiong a2fbc5f5a8 Merge pull request #431 from ArdaFu/master
[BSP] TM4C129X Fix bugs and errors.
2015-03-11 00:03:53 +08:00
Bright Pan a61d228b76 Nanopb is a plain-C implementation of Google's Protocol Buffers data
format. It is targeted at 32 bit microcontrollers, but is also fit for
other embedded systems with tight (2-10 kB ROM, <1 kB RAM) memory
constraints.(http://koti.kapsi.fi/jpa/nanopb/)

How to use the example:
	1. move examples/nanopb to bsp/xxxx/
	2. enable macro RT_USING_NANOPB in rtconfig.h
	3. regenerate the project file (scons --target=xxxx)
	4. rebuild the project
2015-03-10 18:24:17 +08:00
ardafu 1daa96a214 1. [BSP] TM4C129x : Fix the bug that enable global INT before OS scheduler start the fist thread.
2. [BSP] TM4C129x : According to LunchPad, change device id from TM4C1294XCNZAD   to TM4C1294NCPDT
2015-03-10 12:13:14 +08:00
Arda 4a9c3fae29 Merge pull request #3 from RT-Thread/master
sync with official source
2015-03-10 12:01:25 +08:00
Bernard Xiong 584efccad1 Update application.c 2015-03-04 10:32:48 +08:00
prife c6f88ef726 dfs_win32: add seekdir support 2015-02-02 01:21:40 +08:00
armink 79c37cb30f [BSP]changed stm32f10x uart driver. make sure the serial transmit
complete in putc().
2015-01-31 11:18:59 +08:00
armink 131c41d182 [BSP]support 9 data bits and parity config for stm32f10x uart driver. 2015-01-31 11:14:10 +08:00
armink 1213dec3c9 fix #347 2015-01-31 11:05:00 +08:00
bernard 71930b0995 [BSP] Fix the interrupt issue in USART driver of STM32F4. 2015-01-25 16:41:05 +08:00
Bernard Xiong c1f47af9f1 [BSP] remove RT_USING_VMM in default and let it run in QEMU. 2015-01-21 14:17:36 +08:00
Bernard Xiong 86358d0830 [BSP] code cleanup for usart and gpio driver in STM32F4 2015-01-21 12:36:34 +08:00
Bernard Xiong 756f2c67ab [BSP] rename the rt_hw_usart_init to stm32_hw_usart_init 2015-01-20 16:02:33 +08:00
Bernard Xiong bff1bb3d7b [BSP] update MDK project file for STM32F4 2015-01-20 15:58:37 +08:00
Bernard Xiong 080c8912ea Merge remote-tracking branch 'upstream/master' 2015-01-20 15:56:52 +08:00
Bernard Xiong 9261c37e0e [BSP] Add GPIO driver for STM32F4 2015-01-20 07:55:52 +00:00
Bernard Xiong 2b7600bdf3 [BSP] update MDK project file for STM32F4 2015-01-20 15:52:39 +08:00
Bernard Xiong 6acf4a4528 [BSP] Update UART and GPIO driver with framework in STM32F4 2015-01-20 07:23:59 +00:00
Grissiom c565925169 bsp/{cortex-M}: fix the SysTick_Config
SysTick_Config substract one inside the function. So there is no need to
substract one when passing the parameter.
2015-01-09 15:26:06 +08:00
Bernard Xiong 56ab0995c1 Merge pull request #409 from grissiom/lpc43xx
Lpc43xx
2015-01-09 10:00:25 +08:00
Grissiom 81b37fb1f9 lpc43xx: add copy-right info in vbus drivers 2015-01-08 17:16:26 +08:00
Grissiom 05a01884e6 lpc43xx: fix clock configure 2015-01-07 17:15:50 +08:00
Grissiom 11026d0579 lpc43xx: clean the .o before building M0 and M4
SCons will omit the file in parent dir of SConstruct somehow and build
the object files in that dir instead of in variant dir. This cause
problem because we cannot mix the object files between M0 and M4 which
SCons failed to rebuild. So we have to manually remove the files before
building.
2015-01-07 17:15:49 +08:00
Grissiom 17a75eaa02 lpc43xx: remove the fpu settings in startup_LPC43xx_M0 2015-01-07 17:15:49 +08:00
Grissiom 22938a93ef lpc43xx: fix some compile warnings 2015-01-07 17:15:49 +08:00
Grissiom f7415e595e VBus: added
Currently only lpc43xx is supported.
2015-01-07 17:15:49 +08:00
Grissiom fcff552626 lpc43xx: fix the SConscripts 2015-01-07 10:25:44 +08:00
Grissiom 03a2847f12 lpc43xx: fix some compile warnings 2015-01-07 10:25:44 +08:00
Grissiom 7965708050 lpc43xx: add -Wall 2015-01-07 10:25:44 +08:00
Grissiom df31744178 lpc43xx: fix the M0 project template 2015-01-07 10:25:43 +08:00
Coing 70aaf4237f fix project.uvoptx can't open,recreate the project.uvoptx. this commit is for post 2015-01-06 21:54:47 +08:00
Grissiom 0ca281c162 lpc43xx: add flash linker script for GCC 2015-01-06 13:40:46 +08:00