Commit Graph

185 Commits

Author SHA1 Message Date
morris
3ece942704 rgb_lcd: don't test bounce buffer mode with iram-safe 2022-07-18 14:55:11 +08:00
Fu Hanxi
7b5a3af407 Merge branch 'feat/reorg_examples' into 'master'
feat: new find_build_apps rules with centralized manifest file

Closes IDFCI-1061, IDF-3553, IDFCI-941, IDFCI-1359, and IDFCI-1361

See merge request espressif/esp-idf!18299
2022-07-14 20:04:12 +08:00
morris
a33a183365 rgb_lcd: support double buffer
also cleaned up the bounce buffer code
2022-07-14 14:05:47 +08:00
morris
9ea3f6f3e7 rgb_lcd: support 8bit RGB (SRGB) interface 2022-07-14 14:05:47 +08:00
morris
ad35ed2e58 rgb_lcd: update unit test for more features
test 8bit RGB interface
test PCLK can be changed at runtime
test bounce buffer mode
adapted to the new LCD board
2022-07-14 14:05:47 +08:00
morris
4bccd3b635 rgb_lcd: rename relax_on_idle to refresh_on_demand 2022-07-14 14:05:47 +08:00
morris
1dab4af3e8 rgb_lcd: added API to manually refresh the LCD 2022-07-14 14:05:47 +08:00
morris
140536892d rgb_lcd: added API to get the frame buffer(s) 2022-07-14 14:05:47 +08:00
morris
226bd6bc2d rgb_lcd: add doc for various frame buffer modes 2022-07-14 14:05:47 +08:00
morris
ada0ba7717 rgb_lcd: unify the way to register event callbacks 2022-07-14 14:05:47 +08:00
Fu Hanxi
c0568611dd docs: changes docs supported targets tables 2022-07-14 08:26:32 +08:00
Fu Hanxi
05d2357062 feat: use standalone project idf-build-apps for find/build apps utils 2022-07-14 08:26:31 +08:00
Cao Sen Miao
a690a87829 spi_flash: Remove legacy spi_flash drivers 2022-07-01 11:01:34 +08:00
morris
489d14cf55 spi_lcd: don't support dc_as_cmd_phase
The current SPI hardware can't support 9bit SPI data format very well
(i.e. inserting an extra bit before each data byte)

Closes https://github.com/espressif/esp-idf/pull/8644
2022-06-28 17:11:31 +08:00
Jeroen Domburg
5f8666afb8 Add bounce buffer support to esp_lcd 2022-06-28 11:56:22 +08:00
Armando (Dou Yiwen)
0b80546f8e Merge branch 'feature/new_esp_psram_component' into 'master'
esp_psram: new esp psram component

Closes IDF-4318, IDF-4382, IDF-4841, and IDFGH-7192

See merge request espressif/esp-idf!18050
2022-06-15 19:16:56 +08:00
laokaiyao
28b8fc6a7e i2s: update documents for driver-NG 2022-06-15 10:30:04 +08:00
laokaiyao
0fe3bb8ab7 i2s: update examples and unit-tests 2022-06-15 10:29:06 +08:00
laokaiyao
621d0aa942 i2s: Introduced a brand new driver 2022-06-15 10:29:06 +08:00
Armando
38e5043ae8 esp_psram: new psram component 2022-06-14 15:44:27 +08:00
TDA2030
09c192c7f1 rgb_lcd: optimise rgb_panel_draw_bitmap
by using memcpy instead of coping in a nested for loop
2022-06-14 02:20:47 +00:00
morris
b2bb8fd3c4 rgb_lcd: support update pclk at runtime 2022-06-14 02:20:47 +00:00
morris
843279d287 rgb_lcd: support fractional clock divisor 2022-06-14 02:20:47 +00:00
Djordje Nedic
facab8c5a7 tools: Increase the minimal supported CMake version to 3.16
This updates the minimal supported version of CMake to 3.16, which in turn enables us to use more CMake features and have a cleaner build system.
This is the version that provides most new features and also the one we use in our latest docker image for CI.
2022-06-01 06:35:02 +00:00
Marius Vikhammer
0687daf2c8 kconfig: move remaining kconfig options out of target component
The kconfig options are moved to the component where they are used,
mostly esp_hw_support and esp_system.
2022-05-23 17:57:45 +08:00
morris
d274cd5601 lcd: simplify iram safe test case 2022-05-19 11:10:59 +08:00
Marius Vikhammer
c8617fe965 docs: fix all doxygen warnings
Doxygen warnings would previously not result in a failed pipeline.
Fixed this as well as all current warnings.
2022-05-12 14:50:03 +08:00
Vilem Zavodny
4a2766d906 esp_lcd: Add support for rx_param on I2C transport. 2022-05-09 11:49:57 +02:00
laokaiyao
b99ced08a2 i2s: fix only right case
Closes: https://github.com/espressif/esp-idf/issues/8538
2022-04-23 07:38:45 +00:00
morris
334bf89b0f lcd: spi lcd support transmit lsb first
Closes https://github.com/espressif/esp-idf/issues/8790
2022-04-21 13:59:47 +00:00
morris
de433105a2 lcd: don't turn on disp in init
Closes https://github.com/espressif/esp-idf/issues/8516
2022-04-21 13:59:47 +00:00
morris
f32a89826c clk_tree: added default clock source for peripheral 2022-04-14 15:44:56 +08:00
morris
cb5507f11c Merge branch 'feature/clk_tree_defs' into 'master'
clk_tree: prework of introducing clock subsystem control

Closes IDF-4892

See merge request espressif/esp-idf!17631
2022-04-13 10:36:56 +08:00
morris
bd3ded195a Merge branch 'feature/proper_way_register_testapp_component' into 'master'
Several driver improvements according to coverify scan report

See merge request espressif/esp-idf!17708
2022-04-11 21:04:14 +08:00
songruo
60bb5c913d clk_tree: prework of introducing clk subsystem control
1. Clean up clk usage in IDF, replace rtc_clk_xtal/apb_freq_get with
   upper level API esp_clk_xtal/apb_freq
2. Fix small errors and wrong comments related to clock
3. Add clk_tree_defs.h to provide an unified clock id for each chip
   Modify the NGed drivers to adopt new clock ids
2022-04-11 12:09:06 +08:00
morris
0a36cad9e0 driver: register test app component by WHOLE_ARCHIVE 2022-04-08 15:15:05 +08:00
Armando
c4bcf1117c esp_hw_support: move soc_memory_types.h helper functions into esp_hw_support 2022-04-08 11:46:10 +08:00
morris
fe13b2ed50 lcd: add rgb isr iram safe callback test 2022-03-24 21:23:01 +08:00
laokaiyao
f17edba20b i2s: extract std/pdm/tdm modes
Type structures of these modes are defined. Driver and HAL layer are modified to fit these concepts.
2022-03-22 10:14:45 +08:00
morris
98e19b3355 Merge branch 'contrib/github_pr_8496' into 'master'
SPI  LCD support large color transfers (GitHub PR)

Closes IDFGH-6874

See merge request espressif/esp-idf!17391
2022-03-14 22:22:00 +08:00
morris
3517ae6387 lcd: check return value of xQueueReceive
Fix warnnings reported by Coverity Scan Test
2022-03-14 14:00:40 +08:00
morris
a019db6880 lcd: delay 1us between DMA start and LCD start
Closes https://github.com/espressif/esp-idf/issues/8212
2022-03-14 14:00:40 +08:00
morris
7112009473 lcd: support rgb lcd interupt iram safe 2022-03-14 14:00:40 +08:00
morris
f06a13ad82 lcd: workaround auto next frame hardware bug
Closes https://github.com/espressif/esp-idf/issues/8381
2022-03-14 13:55:01 +08:00
morris
9422fe077a lcd: support I2S1 LCD mode on esp32 2022-03-14 13:55:01 +08:00
morris
f35edeb5a3 lcd: add debug log on/off Kconfig 2022-03-14 13:49:18 +08:00
morris
2c7cfdd784 spi: define tranfer max bit length in LL 2022-03-10 13:40:43 +08:00
Sudeep Mohanty
a9fda54d39 esp_hw_support/esp_system: Re-evaluate header inclusions and include directories
This commit updates the visibility of various header files and cleans up
some unnecessary inclusions. Also, this commit removes certain header
include paths which were maintained for backward compatibility.
2022-03-07 11:18:08 +05:30
rrforte
ffe19e0c8d Bugfix: LCD component support for large SPI color transfers 2022-03-03 22:43:12 -08:00
Omar Chebib
2571aaf3c9 G0: target component (components/esp32*) doesn't depend on driver anymore 2022-03-02 04:21:00 +00:00
morris
dbfde65515 lcd: refactor ut into test app 2022-02-14 18:43:50 +08:00
morris
84b750cbe8 Merge branch 'refactor/lcd_soc_ll_update_according_trm' into 'master'
lcd soc ll update according trm

See merge request espressif/esp-idf!16900
2022-02-12 08:13:34 +00:00
morris
2ab7d92785 lcd: improve LL driver according to TRM 2022-01-24 18:58:37 +08:00
morris
1938d7c006 log: skip unused tag string wanring in esp_check.h 2022-01-24 18:45:46 +08:00
morris
24e6fdf3c6 lcd: add i2c oled example with lvgl port 2022-01-21 11:21:38 +08:00
morris
821634b24e lcd: add rgb panel example 2022-01-20 22:09:23 +08:00
morris
0e15844706 lcd: alloc framebuffer in alignment 2022-01-20 22:06:02 +08:00
morris
8ea1c12d80 lcd: split gpio check for de and hv mode 2022-01-20 22:06:02 +08:00
morris
e51474ef70 build: fix unused tag string
Closes https://github.com/espressif/esp-idf/issues/8250
2022-01-18 10:06:08 +08:00
morris
a611b39254 lcd: update i80 lcd example to work with PSRAM 2022-01-14 11:35:34 +08:00
morris
070dc53e0b lcd: i80 bus can transfer PSRAM buffer
Closes https://github.com/espressif/esp-idf/issues/8085
2022-01-14 11:03:50 +08:00
morris
869bed1bb5 soc: don't expose unstable soc header files in public api 2022-01-06 23:10:22 +08:00
Kevin (Lao Kaiyao)
9bc274b47b Merge branch 'refactor/i2s_deprecate_confusing_names' into 'master'
i2s: deprecate confusing names

Closes IDF-4368

See merge request espressif/esp-idf!16088
2021-12-07 11:52:44 +00:00
morris
89e37837d0 lcd: rgb pclk idle default to low 2021-11-30 13:44:06 +08:00
laokaiyao
fa4e77eb44 i2s: deprecate confusing names 2021-11-24 13:21:13 +08:00
Roland Dobai
766aa57084 Build & config: Remove leftover files from the unsupported "make" build system 2021-11-11 15:32:36 +01:00
morris
16677b0d3c global: make periph enable/disable APIs private
peripheral enable/disable usually should be managed by driver itself,
so make it as espressif private APIs, not recommended for user to use it
in application code.
However, if user want to re-write the driver or ports to other platform,
this is still possible by including the header in this way:
"esp_private/peripheral_ctrl.h"
2021-11-08 10:37:47 +08:00
morris
e09e39c94f lcd: unify callback prototype 2021-10-02 14:23:31 +08:00
Tomas Rezucha
75f3d76e26 Always use half-duplex for SPI 2021-09-22 15:03:35 +02:00
Tomas Rezucha
5fa9f30c8b Set MADCTL register during initialization 2021-09-22 08:55:01 +02:00
Kevin (Lao Kaiyao)
a287f34f88 Merge branch 'bugfix/i2s_apll_fixed_clock' into 'master'
i2s: fix apll bug introduced in 'refactor/i2s_driver'

Closes IDFGH-5824

See merge request espressif/esp-idf!15109
2021-09-14 08:31:12 +00:00
laokaiyao
dfbe76e988 i2s: fix return value when failed to register i2s 2021-09-09 10:33:15 +08:00
morris
7dc9c7aa05 lcd: allow execlusive use of i80 bus 2021-09-08 11:34:46 +08:00
morris
02e470bc50 lcd: add pm lock 2021-09-08 11:34:46 +08:00
morris
a6661bdf90 lcd: spi-lcd send command and parameter with big-endian 2021-09-08 11:30:30 +08:00
laokaiyao
c5afd7ce34 i2s: fix write failure on ESP32 in 32bit slave mode 2021-09-03 17:36:44 +08:00
morris
71d475149d lcd: update doc unit test and example to support 8-line spi 2021-08-19 16:40:22 +08:00
bizhuangyang
8143832041 spi_master:support octal mode for esp32s2 and esp32s3
Add support for 8-line spi for lcd on esp32s2 and esp32s3

Closes https://github.com/espressif/esp-idf/issues/6371
2021-08-19 16:40:22 +08:00
morris
6fdc5877cd lcd: support i80 LCD on esp32/s2/s3 2021-08-10 21:06:59 +08:00
morris
dc1d14a37f lcd: support putting RGB frame buffer in PSRAM 2021-07-30 11:23:26 +08:00
morris
6352a7ee07 lcd_cam: new csv header file 2021-07-30 11:23:26 +08:00
SalimTerryLi
91a2074dd5
esp_lcd: one-time allcoated buffer for i2c_cmd_link_create_static & reduce duplicated code 2021-07-28 12:23:34 +08:00
Marius Vikhammer
fe921291d2 build system: fix cxx init_priority not working on S3 2021-07-14 10:56:24 +08:00
Marius Vikhammer
80acc1a002 CI: add S3 default_2 unit test config 2021-07-08 18:39:57 +08:00
morris
e10202a608 lcd: add esp_lcd component
* Support intel 8080 LCD panel IO on ESP32-S3
* Support RGB LCD panel on ESP32-S3
* Support SPI && I2C LCD panel IO on all esp chips
2021-05-12 17:53:32 +08:00