Commit Graph

68 Commits

Author SHA1 Message Date
pfchen
9a12d1a663 [fix][flash]fix flash demo with new flash erase read write API 2021-07-06 19:09:33 +08:00
jzlv
13b4ba91f9 [feat][bl702_driver] add some api and delete unused api 2021-07-06 16:18:00 +08:00
Jean-François Milants
8990e8c97f Add missing declarations (Efuse_Ldo11VoutSelTrim_Info_Type and Efuse_TxPower_Info_Type) in bl602_ef_ctrl.h to build with -DCHIP=bl602. These declarations come from https://github.com/bouffalolab/bl_iot_sdk/blob/master/components/bl602/bl602_std/bl602_std/StdDriver/Inc/bl602_ef_ctrl.h. 2021-07-05 16:49:39 +08:00
jzlv
21e87ac8ca [fix][ld] fix ocram memory size 2021-07-01 19:32:12 +08:00
jzlv
5a811531e9 [fix][drivers] fix hal driver and entry.s bug when main return 2021-07-01 14:20:25 +08:00
qqwang
cec78e1093 [feat][sec] add sec trng driver 2021-06-25 17:39:08 +08:00
qqwang
257890072b [fix][emac] fix emac init return type 2021-06-25 17:38:08 +08:00
qqwang
20ac794338 [fix][adc] fix adc read channel value at first 2021-06-25 17:37:14 +08:00
jzlv
c9924b3fd7 [style] delete trailing whitespace 2021-06-21 14:47:48 +08:00
pfchen
67a94065c0 [feat]chaneg mtvt into CSR_MTVT to make old compiler build pass 2021-06-20 15:11:23 +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
5b18a07200 [fix] fix __riscv_float_abi_single warning 2021-06-20 12:34:58 +08:00
jzlv
d427e7fdda [style] format files by clang-format 2021-06-20 12:25:46 +08:00
jzlv
bc120c8861 [feat] add bl602 driver and board 2021-06-04 18:15:21 +08:00
jzlv
c2f3072455 [fix] fix hal driver 2021-06-04 18:15:19 +08:00
qqwang
658b0761db [fix][drivers/bl702_driver] fix hal adc 2021-04-30 10:57:58 +08:00
jzlv
72ccc03bf9 [feat] add XXX_DEV definition 2021-04-27 12:34:29 +08:00
jzlv
a2fca7a36d first commit 2021-04-13 19:27:30 +08:00