Commit Graph

1409 Commits

Author SHA1 Message Date
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
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