Commit Graph

253 Commits

Author SHA1 Message Date
qqwang
38a8f4e0a5 [fix] update cdkproj settings 2021-06-21 14:20:59 +08:00
pfchen
67a94065c0 [feat]chaneg mtvt into CSR_MTVT to make old compiler build pass 2021-06-20 15:11:23 +08:00
pfchen
51ecbfbc35 [fix]remove old shell files which are not used any more 2021-06-20 15:05:40 +08:00
Robert Lipe
c39ba09f3d Fix build errors in entry.S. allows helloworld to compile and link.
1) __riscv_float_abi_single is not in the provided preprocessor namespace.
The default build sets -Werror and has -Warn implicitly. Testing something
that's not defined with an #if is therefore an error.
This is possibly a behavior change. If your builds ever define that AND
set it to 0, this way will fail, but #if defined (foo) + #if foo is akward
and probably not what you intended.

2) "csrw mtvt, t0" is not legal in at least
GNU assembler (GNU Binutils) 2.35
   Fortunately, riscv_encoding.h #defines a perfectly lovely value of
$0x307 that's appropriate for the chips AND is compatible with more assemblers.
This appears to be  an extension in
GNU assembler (SiFive Binutils 2.32.0-2019.08.0) 2.32
(present in bl_io_sdk, as provided by SiFive)
and that's probably what's in  your $PATH, but not relying on vendor
extension in this case is dead easy.

Two distinct problems. No, I'm not making different pull requests.
...this is a lot of words for a two line change. :-)
2021-06-20 13:43:14 +08:00
jzlv
1223e91a16 [refactor] delete unused file 2021-06-20 12:42:26 +08:00
jzlv
c883bfb839 [docs] update readme and release note v1.2.2 2021-06-20 12:41:28 +08:00
jzlv
5b18a07200 [fix] fix __riscv_float_abi_single warning 2021-06-20 12:34:58 +08:00
jzlv
79ff39938b [chore] update tools 2021-06-20 12:33:52 +08:00
jzlv
aa11059205 [style] add clang-format 2021-06-20 12:32:38 +08:00
jzlv
fa599c307e [feat] add usb custom hid demo 2021-06-20 12:32:14 +08:00
jzlv
a8c56e2d37 [feat] add pwm motor demo 2021-06-20 12:31:43 +08:00
jzlv
929b5543f6 [feat] add dht11 demo 2021-06-20 12:30:57 +08:00
jzlv
4d70ca1363 [feat] add shell demo 2021-06-20 12:30:30 +08:00
jzlv
4eaa5849e9 [fix] delete emac demo 2021-06-20 12:29:18 +08:00
jzlv
6c4c5e877b [feat] make cdk project for examples 2021-06-20 12:28:04 +08:00
jzlv
d427e7fdda [style] format files by clang-format 2021-06-20 12:25:46 +08:00
jzlv
47ce9f871c [docs] update api rst and demo rst 2021-06-20 12:07:17 +08:00
jzlv
bcf3862e15 [docs] update chip spec 2021-06-20 12:06:37 +08:00
jzlv
41854d055f [fix] delete unused library 2021-06-07 19:31:02 +08:00
jzlv
d8985b6892 [feat] update release note 1.2.1 2021-06-07 19:24:42 +08:00
jzlv
579ed433a3 [feat] add demo readme for command line compile 2021-06-07 19:20:22 +08:00
jzlv
3fcd3c73d2 [fix] update cdk_flashloader 2021-06-07 19:18:34 +08:00
jzlv
8cff3e3916 [fix] replace openocd cfg 2021-06-07 19:17:41 +08:00
jzlv
3e01bbe058 [fix] solve ble lib requirement 2021-06-07 19:15:13 +08:00
jzlv
21c888024a [feat] modify cmake build stream 2021-06-07 19:08:31 +08:00
jzlv
8da1479a1b [fix] fix pinmux_init and while(1) process 2021-06-07 19:05:29 +08:00
jzlv
322bbbe17e [update] update doc&errata 2021-06-07 19:02:53 +08:00
jzlv
ee8ed272aa [feat] update releasenote 1.2.0 2021-06-04 18:15:39 +08:00
jzlv
f3e7d8f8a4 [feat] update flash tool and openocd cfg 2021-06-04 18:15:39 +08:00
jzlv
0860ef4d6e [feat] add new examples 2021-06-04 18:15:23 +08:00
jzlv
bc120c8861 [feat] add bl602 driver and board 2021-06-04 18:15:21 +08:00
jzlv
8db230f7c4 [feat] add usb xz component 2021-06-04 18:15:20 +08:00
jzlv
4115724dc7 [feat] add usb audio and video driver 2021-06-04 18:15:20 +08:00
jzlv
5cca7f0193 [fix] update examples cdk project 2021-06-04 18:15:19 +08:00
jzlv
c2f3072455 [fix] fix hal driver 2021-06-04 18:15:19 +08:00
jzlv
634de901bf [feat] update freertos component for ble 2021-06-04 18:13:33 +08:00
jzlv
91a930f878 [feat] add ble component 2021-06-04 18:13:33 +08:00
jzlv
28f6fa8c50 [fix] fix some definitions 2021-06-04 18:13:28 +08:00
jzlv
8b74fe873c [fix] fix some bsp driver 2021-06-04 18:13:28 +08:00
jzlv
a11dcbed30 [feat] update peripheral api and demo 2021-06-04 18:13:27 +08:00
qqwang
658b0761db [fix][drivers/bl702_driver] fix hal adc 2021-04-30 10:57:58 +08:00
qqwang
bac484265c [fix] fix doc warning 2021-04-27 14:25:57 +08:00
qqwang
0532871118 [feat] add avb demo user description 2021-04-27 14:25:19 +08:00
jzlv
ba3b983543 [feat] update readme and add release note 2021-04-27 12:39:52 +08:00
jzlv
ca849b3ed8 [fix] fix adc/usb/spi/i2s demo 2021-04-27 12:39:22 +08:00
jzlv
d98495bbb4 [fix] fix some definitions 2021-04-27 12:38:10 +08:00
jzlv
a64ead12b0 [feat] add freertos port and demo 2021-04-27 12:36:18 +08:00
jzlv
064e9c91f7 [fix] fix cmake files 2021-04-27 12:35:37 +08:00
jzlv
72ccc03bf9 [feat] add XXX_DEV definition 2021-04-27 12:34:29 +08:00
jzlv
8f7b0919fd [fix] fix docs 2021-04-27 12:29:58 +08:00