Commit Graph

4772 Commits

Author SHA1 Message Date
Bernard Xiong 5f4bcfa3e1 [examples] code cleanup. 2017-08-10 14:09:57 +08:00
Bernard Xiong f6b6a5cf22 Merge pull request #796 from SummerGGift/master
[examples] add some python example for tcp and complete some error handling.
2017-08-10 12:31:27 +08:00
SummerGift 0d33799d0d add some python example for tcp server and client. 2017-08-10 11:04:17 +08:00
SummerGift 07cc5047bb Complete some error handling when send or receive function returns a value is zero. 2017-08-10 10:47:51 +08:00
Bernard Xiong 71d1f7faa9 [bsp] Add LPC54608 2017-08-08 11:56:50 +08:00
Bernard Xiong bcc638d425 Merge pull request #792 from armink/fix_libc_dlib
[Libc] Add some errno to dlib.
2017-08-07 15:25:28 +08:00
armink 0727ea25ae [libc] Change tabs to 4 spaces on dlib 'errno.h'. 2017-08-07 13:25:50 +08:00
armink 5b35327966 [Libc] Add some errno to dlib. 2017-08-07 13:15:46 +08:00
SummerGift f9ec093f51 correct some explain 2017-08-07 11:36:44 +08:00
Bernard Xiong 30f272e221 Merge pull request #788 from bupleurum/master
[bsp] Add some descriptions and an English version about building project in readme.txt.
2017-08-06 12:04:34 +08:00
Bernard Xiong 5ea03f5e12 Merge pull request #787 from emlslxl/master
[log trace] add log_file flush function
2017-08-06 12:04:05 +08:00
Bernard Xiong 25d415a28c Merge pull request #790 from TanekLiang/stm32f1l07-c99
[Bsp] update stm32f107 spi driver
2017-08-06 12:03:27 +08:00
Bernard Xiong 6a08e154ee Merge pull request #791 from Yohozzy/master
fix the end of module symbol bug when using iar compiler
2017-08-06 12:03:03 +08:00
Yohozzy 07514c0d0a fix the end of module symbol bug when using iar compiler 2017-08-06 01:01:47 +08:00
tanek liang 6eac07ca15 [Bsp] updated spi device:
fixed error when enable "SPI2_USING_DMA"
    fixed warnning when using spi without DMA
2017-08-05 21:55:48 +08:00
tanek liang 8e09d58e7e [Bsp] stm32f107 delete c99 mode code 2017-08-05 21:13:37 +08:00
bupleurum 9b2b1bb4a1 [bsp] Add some descriptions and an English version about building project in readme.txt. 2017-08-04 18:21:34 +08:00
emlslxl 3007b34ad3 add log_file flush function 2017-08-04 12:46:23 +08:00
Bernard Xiong 370be08376 Merge pull request #785 from armink/fix_lwip_linkup
[LWIP] Fix lwip 2.0.2 link status problem.
2017-08-03 15:28:30 +08:00
armink 0742338fa7 [LWIP] Fix lwip 2.0.2 link status problem when the eth isn't linkup at the first time. 2017-08-01 11:35:42 +08:00
zhangjun 51bba09ad0 remove cpuusage.c
remove unused line in SConstruct
2017-07-31 12:17:12 +08:00
zhangjun 72cfe9dd68 modify: drivers/cpuusage.c
modify:     ../../libcpu/risc-v/e310/stack.c
	rmove unused macro definition
modify:     ../../src/idle.c
	Return to the original version
2017-07-31 12:05:45 +08:00
zhangjun 20f581a60d rename bsp risc-v to hifive1 2017-07-31 11:37:23 +08:00
zhangjun 0cd49e7c4a Merge branch 'master' of https://github.com/RT-Thread/rt-thread
add new bsp for risc-v
2017-07-31 11:27:46 +08:00
zhangjun e9f1bdf2da new file: ../../libcpu/risc-v/e310/trap.c
add file that forget to submit before
	auto change timer mtimercmp register on the base of RT_TICK_PER_SECOND in rtconfig.h
	no flashing led
new file:   ../../src/idle.c
	recover old file
2017-07-31 11:12:28 +08:00
zhangjun a5305c05df fix bug in context_gcc.s and start_gcc.s:
save mie into stack
msh  running normaly
2017-07-31 10:59:59 +08:00
zhangjun d9c0bdc70e add plic_driver.c for global interrupt
change interrupt num to 53
change stack size to 512 before system starup
add uart drivers
open msh
remain bug:
   uart just interrupt ones
2017-07-30 22:36:12 +08:00
Bernard Xiong 1b7d48134a Merge pull request #783 from TanekLiang/lpc824_systick_bug
[bsp] update core clock and add led task
2017-07-30 21:05:51 +08:00
zhangjun 20f1a641d5 remove unused code for uart in led.c 2017-07-30 20:07:36 +08:00
zhangjun b032dff161 fix bug in rt_hw_context_switch_interrupt_do
save sp to old thread
	clear rt_thread_switch_interrupt_flag
always enable interrupt after rt_hw_context_switch
judeg the type of interrupt in trap_entry, then call handler(Machine timer interrupt of Machine external interrupt)
2017-07-30 19:46:28 +08:00
tanek liang 96e9504438 [bsp] add led task to easy confirm kernel is running 2017-07-30 19:24:39 +08:00
tanek liang 47c7d94799 [bsp] update clock before configure systick 2017-07-30 19:21:01 +08:00
zhangjun 2d56a27c20 修改: ../../libcpu/risc-v/e310/context_gcc.S
enable interrupt after return form rt_hw_context_switch
2017-07-30 15:34:32 +08:00
Bernard Xiong e2e9afb699 Merge pull request #782 from TanekLiang/incompatible_type_2
[bsp] fix incompatible type for finsh_system_init in bsp/lpc824
2017-07-30 14:51:33 +08:00
tanek liang c42c5d3b9d [bsp] fix incompatible type for finsh_system_init in bsp/lpc824 2017-07-30 12:50:29 +08:00
Bernard Xiong bd0d90ddb1 Merge pull request #780 from TanekLiang/lpc824_fix_typo
[bsp] fixed typo in bsp/lpc824
2017-07-29 15:59:19 +08:00
zhangjun 3c51848d33 fix trap_entry 2017-07-29 15:37:20 +08:00
Bernard Xiong cc3c4fe621 [bsp] code cleanup. 2017-07-29 15:16:09 +08:00
tanek liang dc3d3817f6 [bsp] fixed typo in bsp/lpc824 2017-07-29 15:03:15 +08:00
Bernard Xiong a9f03fb446 Merge pull request #779 from TanekLiang/LPC824
[bsp] add new bsp for lpc824
2017-07-29 14:36:22 +08:00
Bernard Xiong 9da1f7d339 Merge pull request #778 from TanekLiang/incompatible_type
Fix incompatible type error
2017-07-29 14:35:56 +08:00
tanek liang d793cfdef7 [bsp] fix incompatible type error for "finsh_system_init()" 2017-07-29 14:21:40 +08:00
tanek liang dcfaa9a909 [kernel] fix incompatible type error for "__rt_ffs()" 2017-07-29 14:20:08 +08:00
tanek liang db1cd8830a [bsp] add new bsp for lpc824 2017-07-29 14:07:30 +08:00
Bernard Xiong d4de2c53e3 Merge pull request #775 from armink/master
[DeviceDriver] Fix rw009 WiFi module auto reconnect feature.
2017-07-28 09:17:21 +08:00
armink 09f9fcaaa6 [DeviceDriver] Fix rw009 WiFi module auto reconnect feature. 2017-07-28 08:20:31 +08:00
Bernard Xiong ab2a125b3d Merge pull request #774 from armink/fix_rti_link_for_iar
[BSP] Fix component initialization functions link order for IAR Linker
2017-07-27 21:48:01 +08:00
armink 573c294216 [BSP] Fix component initialization functions may be not sequential storage on ROM when used for IAR linker. 2017-07-27 13:58:07 +08:00
zhangjun b80f83f360 modified: ../../libcpu/risc-v/e310/context_gcc.S
fix open timer intrrupt
2017-07-26 16:27:54 +08:00
zhangjun 98a6896cfa remove "csrrc a5, mstatus, MSTATUS_MIE" in rt_hw_interrupt_enable();
it will lead to interrupt again in interrupt
2017-07-26 16:07:01 +08:00