Commit Graph

1029 Commits

Author SHA1 Message Date
Grissiom 480ac34445 rm48x50: remove useless reg_test code 2013-06-03 22:25:25 +08:00
Grissiom 24fc6e6ebb rm48x50: VFP lazy stacking
You need to turn on RT_VFP_LAZY_STACKING in rtconfig.h. By default, RTT
will turn on VFP for all threads and stack all the VFP registers. When
doing lazy stacking, VFP will only be turned on for the thread who
issued VFP instructions.

Currently, if a thread turned on VFP, it cannot be turned off. RTT will
never know what time the thread doesn't need VFP any more. The thread
might could turn off the VFP for it self in proper time.
2013-05-31 20:58:08 +08:00
Grissiom ec1203bfab rm48x50: turn on VFP support
This support Common VFPv2 sub-architecture.
2013-05-31 18:32:21 +08:00
Grissiom 939c58c295 rm48x50: remove unused vPortTaskUsesFPU 2013-05-30 17:39:32 +08:00
Grissiom d8755ddd93 rm48x50: move uart.c to drv_uart.c 2013-05-30 10:02:26 +08:00
Grissiom 4d40978a70 rm48x50: add finsh support 2013-05-29 23:39:09 +08:00
Grissiom eda09ab002 rm48x50/uart.c: fix bugs 2013-05-29 23:38:10 +08:00
Grissiom 50c8cbe1d5 rm48x50: now it has console 2013-05-29 17:26:34 +08:00
Grissiom d22496aee8 rm48x50: update HALCoGen file 2013-05-29 16:42:26 +08:00
Grissiom 435f305fa2 rm48x50: temperately disable the VFP register test 2013-05-26 22:15:26 +08:00
Grissiom 56b640ecb6 rm48x50: add vRegTestTask2 2013-05-26 22:14:24 +08:00
Grissiom 2805d315bd rm48x50: fix bug in reg_test from FreeRTOS
It does not satisfy AAPCS.
2013-05-26 21:49:26 +08:00
Grissiom 85ec844de9 rm48x50: add reg_test from FreeRTOS
The code is GPLv2 so I think we could use it for free(both free beer and
free speech).
2013-05-26 21:16:14 +08:00
Grissiom f51bce3fed add rm48x50 bsp and libcpu
We currently only support building with CCS and SCons is not using.
bsp/rm48x50/HALCoGen/HALCoGen.{hcg,dil} is the HALCoGen project file.
You may need to regenerate the source file as you like, providing that:

    1, IRQ is in Dispatch Mode and the table entry is IRQ_Handler. The
    channel 5 in enabled and connected to IRQ.

    2, RTI driver is enabled and compare3 source is selected to counter1
    and the compare3 will generate tick in the period of 10ms. This
    value is coresponding with RT_TICK_PER_SECOND in rtconfig.h.

In CCS, you need to create a new CCS project and create link folders
pointing at bsp/rm48x50, libcpu/arm/rm48x50 and src/, include/. Remember
to add the include path to the Build Properties.
2013-05-24 22:55:13 +08:00
Grissiom 60857630c0 simulator: fix serial_write
printf("%s") will print a NULL terminated string, while rt_serial_write
should print buffer for size length. This also fix segfault when the
string is not null terminated but specified by size.
2013-05-15 20:16:03 +08:00
Bernard Xiong e877a9868b fengzi: Fix LM3S ETH driver: Ethernet RX interrupt will be disabled if pbuf_alloc failed. 2013-04-10 09:54:08 +08:00
yiyue.fang 483479acee update the MDK project file in LPC178x 2013-04-10 01:16:56 +08:00
weety d9d39a8d21 Use SRAM as EMAC transmit buffer, to avoid the underrun error, especially in the large amount of data communication. 2013-04-08 21:57:24 +08:00
weety e7885df2f1 add At91SAM9260 SDIO highspeed and SDIO IRQ capability, fixed compiling warnning 2013-04-02 20:42:11 +08:00
weety fb9ea5eada enable at91sam9260 mmu, update SDIO and EMAC drivers 2013-04-02 20:24:51 +08:00
Bernard Xiong 8c50d0f295 Merge pull request #64 from ufwihg/gcc-lpc178x
update bsp/lpc178x/CMSIS/CM3/DeviceSupport/NXP/LPC177x_8x/startup/gcc/st...
2013-03-31 18:54:05 -07:00
Bernard Xiong 9a6009e726 Merge pull request #67 from rogerz/auto-ci
add powerpc bsp to travis-ci
2013-03-31 08:28:55 -07:00
Rogerz Zhang 1019f52bb7 add powerpc bsp to travis-ci 2013-03-31 22:30:39 +08:00
aozima 2ccb3c7589 update LPC2478: Modify the interrupt interface implementations. 2013-03-31 18:25:51 +08:00
aozima 1549b7db90 update LPC214X: Modify the interrupt interface implementations. 2013-03-31 17:58:26 +08:00
aozima eab20a9975 update AT91SAM7X: Modify the interrupt interface implementations. 2013-03-31 17:43:09 +08:00
aozima 83ce430902 update loongson 1B dev: Modify the interrupt interface implementations. 2013-03-31 17:32:25 +08:00
aozima 93e04a1366 update loongson dev3210: Modify the interrupt interface implementations. 2013-03-31 17:32:20 +08:00
aozima 6058efbd9b update Jz47xx: Modify the interrupt interface implementations. 2013-03-31 17:32:16 +08:00
aozima 29a3ae4368 update sep4020: Modify the interrupt interface implementations. 2013-03-31 17:32:04 +08:00
aozima fbc1b05dd8 update mini2440: Modify the interrupt interface implementations. 2013-03-31 17:30:30 +08:00
ufwihg e989f13f04 update bsp/lpc178x/CMSIS/CM3/DeviceSupport/NXP/LPC177x_8x/startup/gcc/startup_LPC177x_8x.s 2013-03-30 11:43:03 +08:00
Bernard Xiong 608074deaf update to interrupt description 2013-03-30 08:15:27 +08:00
Bernard Xiong aaf0186852 Update GCC porting of LPC178x 2013-03-29 16:28:11 +08:00
Bernard Xiong 8e6a534fa3 fix compiling issue in Jz47XX 2013-03-26 09:08:25 +08:00
Bernard Xiong bb72be94b2 code cleanup for interrupt description 2013-03-26 08:52:33 +08:00
Bernard Xiong 5a4d0d5338 Merge pull request #54 from weety/new-branch
Modify the interrupt interface implementations and changes some parameters definition
2013-03-22 17:43:40 -07:00
Grissiom 5f63189b3b bsp/simulator: enable mouse motion track in SDL
Tested OK in RTGUI repo.
2013-03-20 16:16:16 +08:00
weety b21028474b Modify the interrupt interface implementations, changes in the part of the parameter definition. 2013-03-19 11:25:12 +08:00
weety 3de4b92a68 fixed PHY link status error for AT91SAM9260 2013-03-19 11:02:07 +08:00
Rogerz Zhang 17e5f804ff Remove rtgui from bsp/dev3210 2013-03-17 21:32:18 +08:00
prife ce612157da Merge branch 'master' of github.com:RT-Thread/rt-thread 2013-03-15 16:58:04 +08:00
prife 9a80044a55 simulator: update readme.txt, disable RT_USING_MODULE in rtconfig.h 2013-03-15 16:55:44 +08:00
prife 70611580dc simulator: move {dfs_win32.c,moudule_win32.} from drives/ 2013-03-15 16:54:23 +08:00
aozima 981be386a7 add dfs_win32_stat st_mtime support. 2013-03-03 16:50:11 +08:00
prife 157e326487 dfs_elm.c: fix the head file conflicts caused by time.h 2013-03-02 18:56:07 +08:00
prife 377c153c40 Merge branch 'master' of github.com:RT-Thread/rt-thread 2013-03-02 18:40:01 +08:00
Bernard Xiong 784e8e2459 Merge branch 'master' of https://github.com/RT-Thread/rt-thread 2013-03-04 06:59:05 -08:00
Bernard Xiong c5d5a54c5d fix compile warning and error 2013-03-04 06:58:05 -08:00
prife 2b0ebebcc2 simulator: update comments,add 'RTT_IN_MODULE' macro in testdll\SConstruct 2013-03-02 18:39:05 +08:00
prife f1fe20a3df simulator: fix dfs_win32_mkfs prototype 2013-03-02 14:35:04 +08:00
prife 5cb02e1258 simulator: make sure LCD driver ready to use after rt_hw_sdl_start is invoked 2013-03-02 14:32:26 +08:00
prife 842d129f03 simulator: assign the x86 32bit version in Enverionment, or the 64bit version will be built with vs2010 in win7 64bit 2013-03-01 22:43:33 +08:00
prife 3478420fad Merge branch 'master' of github.com:RT-Thread/rt-thread 2013-03-01 01:55:47 +08:00
prife a665b97129 app module for simulator: add the missing module_win32.c 2013-03-01 01:30:21 +08:00
prife 8bff1f8397 app module of simulator:update readme.txt, add rtthread.def for default buiding with msvc 2013-02-28 00:39:37 +08:00
prife 188dfea3a7 app module simulator: add app module test cases 2013-02-27 02:41:02 +08:00
prife 1ab15ba0a6 app module of simlator: simpliy command of building, now use `scons --def` to create rtthread.def which can used by msvc 2013-02-27 02:27:19 +08:00
prife a07b4a4396 app module of simlator: rename librtthread.a to rtthread.lib after post-building 2013-02-27 02:04:43 +08:00
prife a64ec10e68 app module support for simlator, first version 2013-02-27 00:37:57 +08:00
prife 242574a36f mingw support for simulator: rtgui 2013-02-26 17:51:21 +08:00
prife 2106287efe mingw support for simulator: dfs/uffs 2013-02-26 16:40:04 +08:00
prife 8928f4e4b7 mingw support for simulator: dfs/dfs_win32 2013-02-26 16:36:33 +08:00
prife 9f355875d8 mingw support for simulator: dfs/fatfs 2013-02-26 16:23:28 +08:00
prife 9ccdf4172e basic mingw support for simulator: kernel and finsh 2013-02-26 16:03:08 +08:00
Grissiom 24649bfefe bsp/stm32f10x: remove the last calibration.c
This also provide an example to show how to use calibration feature in
the RTGUI.
2013-02-24 18:16:16 +08:00
Rogerz Zhang 53275be7ba Remove RT-Thread GUI from bsp/efm32 2013-02-22 23:34:27 +08:00
aozima 0700b2ec96 remove RT-Thread GUI from mini2440. 2013-02-22 14:30:41 +08:00
aozima 8a8f904e1b Merge branch 'master' into aozima
Conflicts:
	bsp/stm32f107/project.uvproj
2013-02-22 13:54:15 +08:00
aozima 8421ecfa27 update SD card driver: use RT-Thread SPI driver. 2013-02-21 20:13:44 +08:00
aozima 5c17c2e698 update: bsp/stm32f107 add RT_USING_COMPONENTS_INIT. 2013-02-21 18:52:17 +08:00
Bernard Xiong a5df8c9d0b remove RT-Thread GUI 2013-02-21 14:04:17 +08:00
Bernard Xiong 18cd47d3da remove RT-Thread GUI [ci-skip] 2013-02-21 14:03:34 +08:00
Bernard Xiong 094797c201 remove RT-Thread GUI from mini2440 2013-02-21 13:34:02 +08:00
aozima 5fad83b0d6 Merge branch 'aozima' into pulls 2013-02-20 21:56:59 +08:00
aozima 5fb028968b fix compile errors in bsp:stm32f0x. 2013-02-20 21:54:08 +08:00
aozima 12f34b8c73 update bsp: stm32 family. 2013-02-20 18:40:31 +08:00
aozima eefb272cfd update stm32f10x template. 2013-02-20 10:49:09 +08:00
aozima fcf581ea3d remove old code. 2013-02-20 10:20:40 +08:00
aozima e3a4ae1370 update stm32f10x template. 2013-02-20 10:15:09 +08:00
prife 38f1c4ef55 add declaration in simulator/drivers/usart_sim.c 2013-02-07 23:32:26 +08:00
prife fd5dfc723c clean code in simulator/drivers/serial.c 2013-02-07 23:27:29 +08:00
prife 81751d99cc fix bug in simulator/drivers/serial.c which deadlock may happen if multi-uart both output use printf 2013-02-07 23:21:19 +08:00
prife 1c522be515 rewrite serial/uart code in simulator to support multi-uarts 2013-02-07 23:18:59 +08:00
Rogerz Zhang 696d1af3d4 Fix build error in efm32 2013-02-02 20:06:23 +08:00
prife fb94ccd89e Merge branch 'simdev' 2013-02-02 00:37:10 +08:00
prife 4f02e67bef enabe dfs_win32 in simulator when built on windows 2013-01-28 18:06:59 +08:00
prife 5cc1dcb879 create disk/{ad, nor, nand in bsp/simulator 2013-01-28 18:05:19 +08:00
prife 72bd8b9978 clean code in bsp/simulator/rtconfig.py 2013-01-24 17:24:31 +08:00
prife f709ddf631 fix compile errors with vs in bsp/simulator 2013-01-24 17:13:09 +08:00
Grissiom 0961cc5e36 simulator: no need to dump the bin file 2013-01-24 13:06:12 +08:00
Grissiom 634c3a3518 rtgui_demo: port to new API 2013-01-24 12:54:20 +08:00
Grissiom 94a727a4fe link with libm.so
This fix the compiling error:

    /usr/lib64/gcc/x86_64-slackware-linux/4.7.2/../../../../x86_64-slackware-linux/bin/ld: build/components/rtgui/common/dc.o: undefined reference to symbol 'sin@@GLIBC_2.2.5'
    /usr/lib64/gcc/x86_64-slackware-linux/4.7.2/../../../../x86_64-slackware-linux/bin/ld: note: 'sin@@GLIBC_2.2.5' is defined in DSO /lib64/libm.so.6 so try adding it to the linker command line
    /lib64/libm.so.6: could not read symbols: Invalid operation
    collect2: error: ld returned 1 exit status
2013-01-24 12:52:42 +08:00
prife 821d0ac252 fix memory leak in sd_erase in bsp/simulator 2013-01-22 23:57:10 +08:00
prife d7f8f375df just mask signal in sdl_fb.c 2013-01-22 23:51:13 +08:00
prife f5fea40c5e add sd_erase in sd_sim.c, just erase MBR in SDCARD 2013-01-22 23:48:52 +08:00
prife 05544d12c9 add .gdbinit to bsp/simulator 2013-01-22 17:45:06 +08:00
prife 80e2dd0d3d add gcc.ld to bsp/simulator 2013-01-22 17:40:03 +08:00
prife 832bbb9fe2 remove bsp/simlinux 2013-01-22 17:08:54 +08:00
prife f2636ea813 clean code in bsp/simulator/application/application.c 2013-01-22 17:07:12 +08:00