morris
4f054f74bb
fix(csi): move csi_fsm init before resource allocation to fix err-path leak
...
CSI_FSM_INIT is 1, but the controller struct is zero-allocated.
Any failure before the former csi_fsm assignment (near the end of
esp_cam_new_csi_ctlr) jumped to err: which called s_del_csi_ctlr.
That function bailed out immediately because csi_fsm == 0, leaking
the claimed slot, queue, bridge, DMA channel, PM lock, and backup
buffer. Move csi_fsm = CSI_FSM_INIT right after a successful claim
so the err: path properly tears down all allocated resources.
2026-07-29 11:42:56 +08:00
Evgeny Torbin
59f62ad15f
test: format all test scripts
2026-04-17 16:01:00 +02:00
Dong Heng
8585955031
fix(esp_driver_cam): fix MIPI-CSI RX data broken
2025-12-26 17:02:28 +08:00
Dong Heng
65c340e36f
fix(esp_driver_cam): Fix DVP get trans buffer error
2025-06-25 15:53:34 +08:00
gaoxu
1ba2bf3152
fix(cam): fix dvp do not generate clock
2025-06-23 16:17:59 +08:00
gaoxu
6eaba4e3f7
fix(cam): fix dvp can not get cam_buffer
2025-06-17 09:33:34 +08:00
armando
dbb06fb027
test(cam): added cache-safe build test
2025-03-10 10:39:28 +08:00
armando
737a858dab
refactor(cam): rename IRAM-Safe to Cache-Safe
2025-03-10 10:38:40 +08:00
armando
241389134b
fix(cam): fixed cam iram safe build error
2025-03-10 10:36:35 +08:00
Song Ruo Jing
ff0f9cd649
feat(dvp_isp_dsi_example): add an example shows DVP-ISP-DSI combination
2025-01-08 16:20:14 +08:00
morris
e841a69498
Merge branch 'feature/dvp_cam_driver_optimize_v5.3' into 'release/v5.3'
...
feat(dvp): DVP cam supports more color format and don't initialize xclock pin (v5.3)
See merge request espressif/esp-idf!32023
2024-07-25 16:46:56 +08:00
Armando
715516eea5
fix(camera): fixed c2m cache ops
2024-07-23 17:49:04 +08:00
Dong Heng
f66ff91e4f
feat(dvp): DVP cam supports more color format and don't initialize xclock pin
2024-07-10 14:56:11 +08:00
Dong Heng
de0990e58c
feat(cam): add esp32-p4 lcd_cam dvp driver
2024-06-12 11:35:51 +08:00
Michael (XIAO Xufeng)
0ef2599e3c
Merge branch 'csi/add_no_backup_buffer_usage_verify_v5.3' into 'release/v5.3'
...
feat(csi): add verify to no backup buffer usage (v5.3)
See merge request espressif/esp-idf!30863
2024-06-12 02:07:32 +08:00
Armando
f58b63d31e
test(isp_dvp): added isp_dvp test
2024-06-11 10:18:16 +08:00
Armando
9713bd63a4
fix(csi): fixed csi wrong state machine settings
2024-06-11 10:18:16 +08:00
Armando
05f44bddf0
feat(isp): added isp dvp driver
2024-06-11 10:18:16 +08:00
gaoxu
ce7ceb8d9d
feat(csi): add verify to no backup buffer usage
2024-05-21 15:36:34 +08:00
Armando
e4f1c01197
fix(csi): fixed wrong assert when there's new transaction
2024-05-17 15:26:58 +08:00
Armando
d22f9a97aa
change(camera): change esp_cam_del_ctlr to esp_cam_ctlr_del
2024-05-08 15:29:20 +08:00
gaoxu
4a9eb6fee9
feat(csi): add a test that no backup buffer usage
2024-04-18 10:42:22 +08:00
gaoxu
65acf4abe9
feat(csi): add a flag to allow no backup buffer usage
2024-04-18 10:42:22 +08:00
wanlei
af86df7f02
feat(csi): add API to expose internal backup_buffer
2024-04-17 10:48:11 +08:00
wanlei
cf055a625b
fix(csi): fix common resource changes when clime hardware fail
2024-04-16 17:22:57 +08:00
Armando
e7c1f6b3b2
feat(csi): support using internal buffer when there's no new trans buffer
...
Also when the new trans buffer is not big enough
2024-04-16 16:11:55 +08:00
Armando
d341540a5e
change(drivers): other driver changes for cache malloc
2024-04-15 15:34:51 +08:00
morris
c0289ee6eb
fix(drivers): fix typos found by codespell
...
codespell components/esp_driver*
2024-03-28 10:01:27 +08:00
Armando
8cef97beac
change(csi): changed the clk_freq_hz to lane_bit_rate_mbps
2024-03-27 10:40:59 +08:00
Armando
bdceef252b
doc(camera): added camera controller driver programming guide
2024-03-27 10:40:58 +08:00
Armando
00fe6479e4
bugfix(csi): fix wrong fsm state check in s_ctlr_csi_stop
2024-03-26 08:22:45 +08:00
Armando
571855d4dd
bugfix(csi): fix wrong cache invalidate location
2024-03-18 14:54:25 +08:00
Armando
cfe06a7517
change(cam): renamed to esp_driver_cam
2024-02-05 10:30:54 +08:00