Commit Graph

41 Commits

Author SHA1 Message Date
Meco Man bd80b7a4a1 对finsh_set_device调用增加宏定义限制 2021-11-24 08:57:12 -05:00
guo b1baf42d4e
Revert "Fix compiler flags issue" 2021-10-14 14:36:18 +08:00
JCZou 0369db718c Fix compiler flags issue
CCFLAGS is used by gcc and g++ compiler. So CFLAGS should be used for
gcc to avoid passing gcc flags to g++.
2021-08-19 08:53:27 +02:00
yangjie 75e4c9dd0a [bsp]update GPL license to Apache-2.0, and format files 2021-04-09 10:52:34 +08:00
guozhanxin a22decb71b 【优化】在代码中移除 rt_system_object_init/rt_system_tick_init 的调用。 2020-11-23 11:39:38 +08:00
Ernest 7be06b67bb [add] default environment 2019-10-22 16:48:57 +08:00
armink 0d7ba79219 Remove the DBG_COLOR and DBG_ENABLE definition. 2019-03-06 17:54:30 +08:00
liang yongxiang cd39c2525a [bsp] support get compiler path by environment variables for IAR 2018-04-07 15:43:45 +08:00
aozima 19433e0cf5 update SConscript: support scons 3. 2018-02-06 20:07:28 +08:00
Bernard Xiong 0f3563fd64 [BSP] Update project files 2017-12-31 21:45:32 +08:00
bernard 7877836065 [BSP] Update project files. 2017-10-31 11:59:49 +08:00
tanek liang d793cfdef7 [bsp] fix incompatible type error for "finsh_system_init()" 2017-07-29 14:21:40 +08:00
bernard 26118499e0 [BSP] remove rt_device_init_all() invoking. 2014-07-19 06:50:00 +08:00
aozima 8711a0c986 update SConstruct. 2013-07-11 23:11:16 +08:00
Grissiom 3bab79a7dd update CRLF 2013-01-09 00:06:34 +08:00
Ming, Bai b4de7cce57 Re-normalizing the repo 2013-01-08 22:40:58 +08:00
dzzxzz@gmail.com 443c7c3597 revert BSP(m16c62p) to r2035
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2307 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-25 04:44:44 +00:00
dzzxzz@gmail.com c784dd2ed8 update V850 BSP, now supporting scons + IAR
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2306 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-25 04:18:24 +00:00
dzzxzz@gmail.com bb529858fe update the m16c62p project
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2187 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-26 06:41:59 +00:00
dzzxzz@gmail.com cfc501f919 fixed IAR compiling error
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2053 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-14 11:29:42 +00:00
dzzxzz@gmail.com a321f3da64 support GNUC cross compiler(GNUM16CM32Cv1101-ELF) for renesas M16C porting
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2047 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-14 07:04:27 +00:00
dzzxzz@gmail.com a7810e12b9 update the rtconfig.py and SConstruct in the BSP
in order to use buildbot.py

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2028 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-09 03:32:35 +00:00
dzzxzz bf4de2f204 delete the non-necessary IAR project files
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1873 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-23 04:56:59 +00:00
dzzxzz 0d2624313a fixed a potential issue in m16c porting:
the variable rt_thread_switch_interrupt_flag was treated as a word in interrupts.asm
but it wad defined as a byte in cpuport.c
rt_uint8_t rt_thread_switch_interrupt_flag;

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1741 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-07 03:04:15 +00:00
dzzxzz e97c87d6a0 fixed a compile error while using scons+iar for m16c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1740 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-07 03:00:12 +00:00
dzzxzz f7d1ca323b fixed a spelling error
rt_thread_switch_interrput_flag -> rt_thread_switch_interrupt_flag

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1704 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-09 07:30:39 +00:00
dzzxzz e8a462b5c7 optimize porting for M16C
void rt_hw_context_switch(rt_uint32_t from, rt_uint32_t to);

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1688 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-01 08:25:54 +00:00
dzzxzz 61d969f1b9 merge stack.c and interrupt.c into cpuport.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1687 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-01 08:05:21 +00:00
dzzxzz c8bac1af00 add #define RT_USING_CONSOLE into the rtconfig.h [RENESAS M16C project]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1394 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-05-05 06:06:39 +00:00
dzzxzz 4cc9c785e2 update readme.txt for renesas m16c branch
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1278 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-02-17 07:27:45 +00:00
dzzxzz 65658d0420 add a readme.txt for renesas m16c branch
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1277 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-02-17 07:21:28 +00:00
dzzxzz ce312e689f keil is not support renesas M16C, so delete the keil platform in rtconfig.py
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1276 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-02-17 05:33:05 +00:00
dzzxzz e9a16eb5e3 set 4 bytes align for led_stack[]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1275 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-02-17 05:24:33 +00:00
dzzxzz e01eaabee9 using SCONS to build IAR M16C project
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1271 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-02-16 13:36:05 +00:00
dzzxzz 29db3e3295 get ready for SCONS
change the m16c assembly extension from s34 to asm
move the m16c porting files to m16c62p directory


git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1270 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-02-16 13:29:09 +00:00
dzzxzz efc32994d4 update IAR for M16C from EWM16C-EV-3401.exe to EWM16C-EV-3501.exe
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1269 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-02-16 13:13:57 +00:00
bernard.xiong 4d88d694d5 rename the private field in device to user_data.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1135 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-29 07:49:59 +00:00
dzzxzz 367015d3fd move peripheral ISR from libcpu/m16c/context.asm to bsp/interrupts.s34
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@658 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-20 03:26:11 +00:00
dzzxzz 7e0ad698a3 finsh is moved to component, so change the project setting for M16C, and fixed some small issues.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@657 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-20 01:17:26 +00:00
dzzxzz 005d4141d9 rewrite 3 functions in context.asm for M16C port
rt_hw_context_switch()
rt_hw_interrupt_disable()
rt_hw_interrupt_enable()

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@654 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-20 01:00:45 +00:00
dzzxzz 2fcd4bccbd add BSP for Renesas M16C62P
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@620 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-14 00:31:17 +00:00