Commit Graph

57 Commits

Author SHA1 Message Date
guo 00d42ef73c
Merge pull request #5030 from junchao98/local-dev
[bsp] Fix missing header file applications in ls2k
2021-09-28 09:36:55 +08:00
Meco Man f191694b19 [ci][action.yml]CI加入龙芯ls2kdev 2021-09-22 08:24:45 -04:00
Meco Man 9f55c88ddd 刷新龙芯工程 2021-09-15 11:50:53 -04:00
yarra b20f4b0844 [bsp] Fix missing header file applications in ls2k 2021-09-08 10:57:21 +08:00
Meco Man 86ebf17a23 localtim改为gmtime 2021-02-07 21:49:25 +08:00
Meco Man f073911cd3 解决底层驱动格林威治时间与当地时间胡乱使用的问题 mktime函数改为timegm函数 2021-02-07 21:08:41 +08:00
Bernard Xiong 59f320783f
Merge pull request #4286 from Michael0066/ls1b-dev
ls1b: fix the count of GPIO IRQ
2021-02-02 07:00:46 +08:00
Bernard Xiong bb35c5d627
Merge pull request #4242 from 0xcccccccccccc/patch-1
[BSP][LS2K][Bug fix]修正龙芯2K平台下SPI分频系数调节不正确的错误
2021-02-02 05:39:15 +08:00
michael 4de8848a8c bsp:ls2k: make uart init more flexible 2021-01-31 23:03:16 +08:00
michael 752238dbe8 bsp:ls2k:make set console device more flexible 2021-01-30 19:47:13 +08:00
马浩然 902fe8bd5e
Update drv_spi.c
Bug Fixed : clock division cannot been adjusted as expected due to wrong register configuration.
2021-01-17 23:33:48 +08:00
bigmagic ce2cafdf41 fix readme file 2020-12-29 18:54:25 +08:00
bigmagic 606ffc5e70 add ls2k lwext4 pkgs support 2020-12-29 18:54:18 +08:00
bigmagic 68689c7c43 add ls2k sata ssd driver 2020-12-29 18:54:12 +08:00
0xcccccccccccc 90560e87c5 - Copyright information added. 2020-12-11 00:45:58 +08:00
0xcccccccccccc edc4028944 - Remove duplicated line feeds and unnecessary annotations.
- Maintainers information is now corrected.
- Withdraw the modification on EXEC_PATH of the gcc toolchain.
2020-12-08 10:13:52 +08:00
0xcccccccccccc e6b5feae7c Merge branch 'rtt-ls2k' of https://github.com/0xcccccccccccc/rt-thread into rtt-ls2k 2020-12-07 20:47:27 +08:00
0xcccccccccccc 5d32b5d2d2 - fix indentations. 2020-12-07 20:40:43 +08:00
马浩然 0fc2211c77
Update drv_uart.c
fix indentataions
2020-12-01 16:52:31 +08:00
0xcccccccccccc 0fc2b13b45 - SPI is now supported on ls2k1000 platform.
- Multi-Port & Adjustable Buadrate of UART controller feature added.
2020-11-30 14:57:21 +08:00
0xcccccccccccc 11132bcb64 - SPI support for ls2k1000 is now avaliable 2020-11-30 14:46:52 +08:00
Bernard Xiong 8302a72243
Merge pull request #3913 from Michael0066/master
MIPS:fix the RT_EXCEPTION_MAX value
2020-09-19 22:11:30 +08:00
michael ab78ea1de1 bsp:ls2k:improved implement of shutdown and reboot command 2020-09-17 20:22:51 +08:00
michael 623bf0abc9 bsp:ls2k:unify code format 2020-09-17 10:39:45 +08:00
michael 93bcc2e0d2 unify code format 2020-09-15 11:34:29 +08:00
michael dd36771801 bsp:ls2k:add reboot and power command 2020-09-15 11:25:37 +08:00
michael b86d608d63 bsp:ls2k: add reboot and shutdown support 2020-09-15 11:20:15 +08:00
bigmagic abe9da6088 gmac address variable 2020-09-14 15:14:10 +08:00
Bernard Xiong de0bb6f96c
Merge pull request #3883 from bigmagic123/ls2k_add_gmac
Ls2k add gmac
2020-09-11 13:33:16 +08:00
Bernard Xiong 36cb4349a6
Merge pull request #3897 from yangjie11/yj_dev1
[components][driver/pin.c]pin 框架增加 rt_pin_get
2020-09-11 12:57:59 +08:00
bigmagic a97b0a0d39 code format 2020-09-11 11:44:49 +08:00
yangjie 38b3a3445e [bsp][driver] 初始化 BSP 中的 rt_pin_ops 2020-09-11 11:16:42 +08:00
bigmagic 39224e4888 fixed loongson bsp compile flags 2020-09-05 10:28:03 +08:00
bigmagic e5a70d532b modify ls2k bsp readme 2020-09-04 10:50:02 +08:00
bigmagic e0aa079e52 LwIP on 64 bit processor 2020-09-04 10:23:31 +08:00
bigmagic 88314868dd add ls2k gmac driver 2020-09-04 10:16:34 +08:00
michael 52a4bace68 bsp:ls2k:uniform coding style, use space for indentation
use space instead of table for indentation in ls2k_ram.lds
2020-08-26 15:17:33 +08:00
michael febc124781 bsp:ls2k: adapt to FPU 2020-08-25 11:54:53 +08:00
michael bb20c33f13 bsp:ls2k:add c++ support 2020-08-24 11:33:49 +08:00
michael 9d742141b8 bsp:ls2k:gpio read typo error,fix it.
from ls2k user manuanl know that GPIO0_I is input, GPIO1_I is reserved.
here typo error, fix it.
2020-08-24 09:35:22 +08:00
michael b4f75d1ef8 bsp:ls2k:make rtc driver to adapter Kconfig
rtc driver can not configured through Kconfig
2020-08-24 09:35:16 +08:00
Du Huanpeng cde1e5d940 bsp: ls2k: pwm driver
attach probe of the oscilloscope too the
3.3v & PWM3 like below:

          jack
    ------|  |---|    |-|    |----
    |o o 3.3v    |eth1| |eth0|
    |o o
    |o o
    |o o PWM3
    |o o

type commands below to rt-thread console:
    msh /> pwm_enable pwm0 3
    msh /> pwm_set pwm0 3 140 90

turn off pwm:
    msh /> pwm_disable pwm0 3

Signed-off-by: Du Huanpeng <548708880@qq.com>
2020-07-03 15:54:03 +08:00
Bernard Xiong 7ba7b996dd
Merge pull request #3717 from imgtec/bsp-ls2k/rtc-v2
bsp: ls2k: internal rtc driver
2020-06-28 19:09:37 +08:00
Du Huanpeng e58c7bb2cd bsp: ls2k: internal rtc driver
hardware date format
  year, the same as ctime
  month 1 ~ 12
  no leap second

Signed-off-by: Du Huanpeng <548708880@qq.com>
2020-06-23 20:14:09 +08:00
bigamgic 1ec681a551 fix ls2k libc and irq 2020-06-21 23:28:11 +08:00
bigamgic eb0544c847 fix loongson 2k1000 libc 2020-06-21 23:27:55 +08:00
Bernard Xiong d7d6dbe774
Merge pull request #3695 from imgtec/bsp-ls2k/clk-up-v1
bsp: ls2k: initial clk driver
2020-06-17 09:11:47 +08:00
Du Huanpeng 50039211b4 bsp: ls2k: initial clk driver
Signed-off-by: Du Huanpeng <548708880@qq.com>
2020-06-16 11:21:22 +08:00
bigamgic 0fbbe01bf6 ls2k1000 cpu frequency 1GHz 2020-06-16 09:37:33 +08:00
bigamgic 2f4b8604d9 fix mips64 8-byte alignment 2020-06-16 09:37:18 +08:00