Commit Graph

1381 Commits

Author SHA1 Message Date
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
Grissiom bcbe180886 lpc43xx: fix the default RTT_ROOT in SConstruct 2015-01-06 13:39:54 +08:00
Grissiom fca84daa9d lpc43xx: fix the startup code for GCC 2015-01-06 12:42:12 +08:00
Grissiom 833339e1c6 lpc43xx: output a newline in the header file
Some compiler is brain-damaged that it will yeild a warning for headers
not ended with a newline. Yes, I mean you, Keil.
2015-01-06 11:03:01 +08:00
Grissiom ff3ab9c0ab lpc43xx: add readme 2015-01-06 10:46:32 +08:00
Grissiom 090adcf4c0 lpc43xx: don't set the Clock again in M0 core
M0 core is always booted by the M4 core. It means that if we are running
in M0, the clock is always configured.
2015-01-06 10:46:32 +08:00
Grissiom 21ef733251 lpc43xx: use the RIT timer as SysTick in M0 core 2015-01-06 10:46:31 +08:00
Grissiom 773a884a4b lpc43xx: move board.c into M0/M4 2015-01-06 10:46:31 +08:00
Grissiom d2e4050a70 lpc43xx: update template.uvproj and add sct files 2015-01-06 10:46:31 +08:00
Grissiom 959f6c695f lpc43xx: move the application code into its own space 2015-01-06 10:46:31 +08:00
Grissiom 5542af8b7c lpc43xx/driver: fix the VTOR setting 2015-01-06 10:25:43 +08:00
Grissiom f609a63564 lpc43xx: add uart3 support 2015-01-06 10:25:43 +08:00
Grissiom a447b5f3cf lpc43xx: refactor uart drivers 2015-01-06 10:25:43 +08:00
unknown a0b71c1c77 fix stm32f407 uart3 TX config error 2014-12-30 14:18:05 +08:00
pangwei 3c1c093230 RT_TIMER_TICK_PER_SECOND in rtconfig.h for softtime scheduler ,maybe is not used. 2014-12-23 09:44:13 +08:00
Coing 056b3bed4f create project.uvprojx by scons mdk5 and delete some useless files 2014-12-17 20:34:19 +08:00
Coing f97062baa7 create project.uvprojx by scons and use mdk5 2014-12-17 20:27:39 +08:00
Coing e9825dc47f change project.uvprojx C/C++ path
Before the project was established with RB_ROOT
2014-12-16 20:49:49 +08:00
Coing 41f70431f5 add power_lib, Last ignored 2014-12-16 19:57:12 +08:00
Coing e4fdb84e96 add bsp lpc54102 2014-12-16 19:54:29 +08:00
Bernard Xiong 82ef447e44 [BSP] Update lpc176x GNU link script 2014-12-07 03:02:50 +00:00
Bright Pan 3abf1fd5ba Add uart driver and finsh function 2014-11-29 12:34:18 +08:00
Bright Pan d50ab16e6f Port to gcc and fix keil project 2014-11-25 01:08:13 +08:00
Arda 143d3b8224 Merge pull request #2 from RT-Thread/master
update from official source
2014-11-24 11:57:31 +08:00
Bright Pan 9957f94d0b [BSP] Port to NuMicro M051 Series support for Nuvoton corp.
1. adapt to M052xDN/xDE, M054xDN/xDE, M058xDN/xDE, M0516/xDN/xDE.
    2. support heap memory management.
2014-11-23 05:18:15 +08:00
Bernard Xiong 9ecd18411f Merge pull request #381 from bright-pan/master
Add mdk5 building
2014-11-19 18:43:40 +08:00
Bright Pan 3c65a522fd Add mdk5 project for stm32 bsps 2014-11-19 15:28:56 +08:00
Grissiom 6c1c83e6da efm32: return empty variable instead of Return('') 2014-11-19 13:20:32 +08:00
limxuzheng cbec4313b1 add rx62n driver library file 2014-11-12 01:18:33 +08:00
limxuzheng 4fea46c83c support rx62n 2014-11-12 01:09:43 +08:00
xiaonong d5332e2799 bsp:fix the bug of lpc43xx uart interrupt enable in driver initialize. 2014-11-03 23:02:36 +08:00
Bernard Xiong b6a9fad9ee [BSP] Add GCC compiler support for mb9bf568r 2014-11-03 13:23:56 +08:00
aozima 1f47eb88c8 [CME_M7] update gcc compile script. 2014-11-02 14:51:52 +08:00
aozima 4c31c22802 [CME_M7] update gcc linker script. 2014-11-02 14:51:47 +08:00
aozima c6d9d6e3f9 [CME_M7] change file name to lower case. 2014-11-02 14:50:14 +08:00
aozima 4c1eff52e2 [CME_M7] add GCC compile support. 2014-11-02 13:52:16 +08:00
Bernard Xiong fdfb4dad79 [BSP] fix GCC compiling issue in LPC408x bsp 2014-11-01 23:17:04 +08:00
Bernard Xiong 38be10cf89 [BSP] fix GCC compiling issue when enable C++ support 2014-11-01 14:06:51 +08:00
Bernard Xiong 796c49347e [BSP] Fix the gcc compiling issue in LPC408x bsp 2014-11-01 09:26:56 +08:00
Bernard Xiong 3bf721a6fb [BSP] Update C++ compiling options 2014-11-01 09:18:21 +08:00
Bernard Xiong 1b793ad039 [BSP] use RT_USING_LIBC instead of RT_USING_NEWLIB 2014-11-01 09:15:07 +08:00
Bernard Xiong 692e597847 [BSP] use RT_USING_LIBC instead of RT_USING_NEWLIB 2014-10-29 13:32:36 +00:00
yangfasheng e5953e671c Add mb9bf568r to bsp 2014-10-20 10:10:18 +08:00
Bernard Xiong 8c2008b050 [BSP] fix compiling error for beaglebone board 2014-09-25 09:42:21 +08:00
Bernard Xiong ab20554254 [BSP] change UART flag when register device driver. 2014-09-24 11:04:57 +08:00
Bernard Xiong 640db6bdbd [BSP] change UART flag when register device driver. 2014-09-24 11:01:07 +08:00
Bernard Xiong ec64b60c06 Merge pull request #343 from wzyy2/master
[GDB stub]add GDB stub
2014-09-24 10:59:14 +08:00
aozima f40d11e9bc update project. 2014-09-21 21:51:13 +08:00
aozima 4b99afc2b9 update EMAC driver. 2014-09-21 21:50:26 +08:00
aozima 89bcb70e5f add delay for PHY check. 2014-09-21 21:49:43 +08:00
aozima ff4fcd5b56 add EMAC driver. 2014-09-21 21:48:26 +08:00
aozima a8106442e1 update uart driver. 2014-09-21 21:46:50 +08:00
aozima 9da1668cfe import CM3-M7 project. 2014-09-21 21:45:36 +08:00
陈豪 daac5388af [bsp]change BBB uart flag 2014-09-20 20:56:02 +08:00
陈豪 2a1e7d56fc [bsp]Comment stm32f407 uart6 2014-09-20 01:44:56 +08:00
陈豪 62af08370b Merge pull request #2 from RT-Thread/master
sync
2014-09-20 01:19:42 +08:00
armink 77b214f1bc [BSP]Add serial receive overflow interrupt to stm32f10x ISR. 2014-09-13 11:53:21 +08:00
armink 04c4e5d9a4 [BSP]Fixes two writing mistake for stm32f10x. 2014-09-13 11:50:54 +08:00
tcz717 537beefa70 拼写错误
drvers->drivers
2014-09-08 19:53:55 +08:00
Bernard Xiong a5119d696c [BSP] Add RT_DEVICE_CTRL_BLK_GETGEOME command handling in device control of LPC176x bsp 2014-08-27 09:23:32 +08:00
Bernard Xiong a55fd4b9c1 Merge pull request #314 from grissiom/ls1b
Ls1b
2014-08-19 10:48:49 +08:00
Grissiom 39ac8baeac ls1bdev: format code in startup.c 2014-08-18 15:19:06 +08:00
Grissiom bfc140826a ls1bdev: init application after other things initialized 2014-08-18 15:17:36 +08:00
Grissiom 259cfdc79f ls1bdev: don't hardcode the uart base address in rt_hw_console_output 2014-08-18 15:14:22 +08:00
Grissiom f1bc40d697 ls1bdev: add uart3 support 2014-08-18 15:13:49 +08:00
MikeMao 45f0e289c6 [BSP]BM9BF618S:fix timer initialization issue. 2014-08-18 11:18:56 +08:00
MikeMao 45b2f2f07b [BSP]BM9BF618S:Fix timer initialization issue。 2014-08-18 10:52:17 +08:00
MikeMao b98c70fc3c test 2014-08-18 10:48:11 +08:00
MikeMao 915f1adc93 [BSP]BM9BF618S:fix timer initialization issue. 2014-08-18 10:11:32 +08:00
MikeMao 04a7c95037 [BSP]BM9BF618S:Fix timer initialization issue 2014-08-15 20:13:54 +08:00
陈豪 1f05b87e5a [bsp]stm32f4xx typo 2014-08-12 20:30:55 +08:00
陈豪 4cf77e255f [bsp]add gdb support for BBB 2014-08-12 18:39:53 +08:00
陈豪 ae8e46de1f Revert "[bsp]add gdb support for BBB"
This reverts commit a966dd3c38.
2014-08-12 18:27:50 +08:00
陈豪 a966dd3c38 [bsp]add gdb support for BBB 2014-08-12 18:27:22 +08:00