Commit Graph

136 Commits

Author SHA1 Message Date
jzlv
dd161b698b [sync] sync code from internal 2023-02-24 21:33:36 +08:00
Iscle
804a855772 [fix][usbd] define missing usb_dc_deinit function 2023-01-23 18:55:49 +08:00
Iscle
3652f3584a [feat][usbd] add support for suspend and resume usbd interrupts 2023-01-23 18:55:49 +08:00
jzlv
4e77bb637a [update][flash] ignore flash mid value 2023-01-18 13:52:48 +08:00
jzlv
356f258e83 [sync] sync from internal repo
* use nuttx libc, disable system libc
* use tlsf as default
* update lhal flash driver
* add example readme
* add flash ini for new flash tool
* add fw header for new flash tool
2023-01-17 21:04:07 +08:00
jzlv
681e8c744a [fix][flash] revert bl808 flash config 2023-01-17 16:15:49 +08:00
jzlv
daef36c40e [fix] fix typos 2023-01-11 20:36:57 +08:00
jzlv
3c3e85b504 [fix] fix build error 2022-12-24 17:10:05 +08:00
jzlv
da1fa7a289 [refactor] move std/port/startup into std dir, in order to free space for rf 2022-12-21 20:52:37 +08:00
jzlv
0ea925c313 [update][soc] update efuse api, add some drivers for boot2 2022-12-21 20:25:11 +08:00
jzlv
a77b0dc866 [update][lhal] update lhal
* update lhal api comments
* add cam driver
* add efuse driver
* add iso11898 driver
2022-12-21 20:20:40 +08:00
jzlv
16d3a819c8 [refactor][soc] modify delay with arch_delay_us and arch_delay_ms 2022-12-08 21:35:29 +08:00
jzlv
906a9aaae8 [fix][ef_ctrl] replace bflb_mtimer_delay_us with arch_delay_us 2022-12-08 17:04:45 +08:00
jzlv
34a5fe8e0b [fix] fix build error 2022-12-08 16:15:29 +08:00
jzlv
d9adf21997 [refactor] move utils into component 2022-12-08 11:00:45 +08:00
jzlv
fcf07aa3a9 [fix][startup] fix __Vectors section 2022-12-02 20:55:33 +08:00
jzlv
8a97e11593 [fix][lhal] fix kys macro missing 2022-11-29 17:31:30 +08:00
jzlv
fe3c57a68d [fix][flash] fix flash init, move bflb_ef_ctrl_get_device_info before flash config 2022-11-29 15:45:19 +08:00
jzlv
1b35880999 [update][lhal] update lhal 2022-11-25 20:15:34 +08:00
jzlv
f13440fc48 [feat][ef_ctrl] add ef_ctrl lhal driver 2022-11-25 19:52:09 +08:00
jzlv
3c19b600a0 [fix][gpio] disable gpio int when gpio init 2022-11-24 14:34:32 +08:00
jzlv
5133d0f5d9 [feat][flash] add bflb_flash_get_image_offset api 2022-11-22 16:00:00 +08:00
Jean-François Milants
a093cca2f0 Rename "bflb_flash_get_jedecid()" to bflb_flash_get_jedec_id() (in bl602_flash.c) to be consistent with the declaration in bflb_flash.h.
Fixes a build/link error when building for BL602.
2022-11-22 15:47:52 +08:00
jzlv
8942c4d341 [feat][flash] add flash read write demo 2022-11-18 17:11:19 +08:00
jzlv
d6fab307bf [update] update lhal, soc and demos
* Add flash driver and init in boards.
* Add timeout for all poll wait apis
* Add 808 d0 startup to bringup
* Update lhal device tables
* Update demos
2022-11-18 16:30:00 +08:00
Marek Kraus
b46115f175 Add MJPEG to device table only for D0 core 2022-11-15 10:30:28 +08:00
jzlv
c70a3cd8f0 [update] update lhal, soc and demos 2022-11-05 10:47:12 +08:00
jzlv
be00c589dc [chore][cmake] add static lib register function 2022-10-29 16:43:08 +08:00
jzlv
703fb5d8c2 [update][lhal] update lhal and demos 2022-10-29 16:11:43 +08:00
jzlv
39fc0d73c8 [update][wdg] update wdg demo 2022-10-24 19:19:28 +08:00
jzlv
d075071312 [feat][bl602] add bl602 support 2022-10-24 19:15:50 +08:00
jzlv
44a68b3adc [feat][psram] enable 808 psram 2022-10-21 20:12:06 +08:00
jzlv
664c605ada [refactor] refactor mcu sdk framework, add BL702,BL616,BL808 CHIP support 2022-10-21 10:20:58 +08:00
jzlv
b83e522607 [chore][ld] update linkscript 2022-08-08 17:13:18 +08:00
jzlv
e2665472cb [fix][hal] update dac adc config 2022-08-08 17:13:18 +08:00
jzlv
e1cd24b84c [fix][clock] enable dma clock when defined BSP_USING_DMA 2022-04-28 17:29:22 +08:00
jzlv
d0092f878a [refactor][dma] rename DMA_BURST_xBYTE with DMA_BURST_INCRx 2022-04-26 13:42:18 +08:00
jzlv
c65ae0f8f2 [fix][drivers/pm] set higher ldo level 2022-04-26 13:42:18 +08:00
qqwang
21621d54cf [fix][dma] set dma_ctrl_cfg.bits.i false when do not enable irq 2022-04-25 20:37:50 +08:00
jzlv
5ff36fc813 [update][boot2] update boot2 driver 2022-03-22 11:19:23 +08:00
jzlv
fe34801106 [feat][adc_dma] add adc dma driver and demo 2022-03-21 15:00:15 +08:00
jzlv
ffdd9d7053 [update][drivers] update drivers 2022-02-23 17:03:42 +08:00
jzlv
b6c09e3e2b [update][drivers] update bl602 and bl702 drivers 2022-01-13 18:50:14 +08:00
jzlv
5a29530fbe [update][drivers] update bl602 and bl702 std driver 2021-12-10 11:34:49 +08:00
Gerson Fernando Budke
48fbbbbc65 [feat][zephyr] Drop arch includes at blx02.h files
This move riscv specific includes to source files that require the
definitions. It drop all arch files dependencies at blX02.h file.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2021-12-10 10:55:09 +08:00
jzlv
d43977f414 [feat][clock] move rc32m init into hal_clock.c 2021-11-23 16:48:02 +08:00
jzlv
aa4bec3776 [feat][bl702_driver] set some bits zero in xtal_cfg at default 2021-11-22 10:59:28 +08:00
jzlv
68977a1658 [refactor][usb] set ep0 ack in irq instead of read write function 2021-11-16 10:42:16 +08:00
jzlv
5d5c6a2f32 [refactor][dma] refactor dma driver,add DMA_SI,DMA_DI and dma burst size config 2021-11-10 17:42:17 +08:00
jzlv
a31ce13293 [refactor][dac] refactor dac driver and dac clock config 2021-11-10 17:40:53 +08:00