Commit Graph
100 Commits
Author SHA1 Message Date
C.S.M 0a437b0ea0 fix(bod): Remove config for bod on p4 v0.x 2024-11-01 15:31:13 +08:00
C.S.M 4049f2b5fb feat(bod): Update bod threshold on esp32p4-eco2 2024-11-01 15:31:02 +08:00
C.S.M 12d6cdb29a feat(esp32p4): Introduce p4 eco2 configuration 2024-11-01 15:30:39 +08:00
C.S.M 22edfd2021 test(i2c): Support test for esp32p4 lp i2c 2024-10-25 16:09:21 +08:00
C.S.M 3419abf601 fix(i2c_master): Fix the memory leak in the async transaction 2024-10-25 16:08:50 +08:00
C.S.M 399b8b6ef1 feat(i2c_master): Add an api for retrieveing handle via port 2024-10-25 16:06:15 +08:00
C.S.M 5239bd2879 docs(spi_flash): Add migration guide for removing XMC-C suspend support 2024-10-23 17:34:16 +08:00
C.S.M 922777118b patch(spi_flash): cleanup XMC flash chip usage according to new information 2024-10-23 17:34:16 +08:00
C.S.M 8890286468 feat(spi_flash): Add new xmc chip id 2024-10-23 17:34:16 +08:00
C.S.M 403bd86a21 fix(i2c): Fix the wrong return value of esp32,esp32s2,esp32s3 2024-09-12 11:21:10 +08:00
C.S.M 7be3141195 fix(i2c): Fix the i2c sda/scl force out register value on some esp chips 2024-09-12 11:21:10 +08:00
C.S.M 189db78bec fix(i2c): Fix possible error state in clear the bus,
Closes https://github.com/espressif/esp-idf/issues/13647
2024-09-12 11:21:08 +08:00
C.S.M deb91c7abe fix(i2c_master): Fix an I2C issue that slave streth happen but master timeout set seems doesn't work
Closes https://github.com/espressif/esp-idf/issues/14129
Closes https://github.com/espressif/esp-idf/issues/14401
2024-09-12 11:20:46 +08:00
C.S.M 5b8da6f327 fix(spi_flash): Add external flash support on esp32c6,esp32h2,esp32p4 2024-08-05 11:47:55 +08:00
C.S.M 0cca45334e fix(mmu_map): make a static function force inline in order not be put in flash 2024-08-05 11:00:50 +08:00
C.S.M 3110c94117 feat(spi_flash): Support auto suspend on esp32p4 2024-08-01 18:12:51 +08:00
C.S.M a4fbcae397 feat(spi_flash): Adjust flash clock to real 80M clock, and support 32bit address on eco1 2024-08-01 18:12:51 +08:00
Cao Sen Miao ec130b0a64 fix(usb_otg): Fix bug that usb_otg console cannot work on esp32s3 2024-07-30 19:42:25 +08:00
C.S.M 03447f5827 fix(usb_serial_jtag): Fix issue that use u32_reg read/write cannot be used to modify fifo regs 2024-07-29 11:46:52 +08:00
C.S.M d6162c4a78 fix(i2c): Fix i2c not release semaphore in command send loop,
Closes https://github.com/espressif/esp-idf/issues/13962
2024-07-08 15:12:49 +08:00
C.S.M fccc309499 fix(jpeg): Modify jpeg deocde/encode error handling logic (backport v5.3) 2024-06-10 03:28:52 +08:00
C.S.M 4daaa9c587 fix(bod): Disable fib in bootloader so that interrupt can be triggered properly 2024-06-07 10:38:14 +08:00
C.S.M 5a7a9c0638 test(esp_intr_dump): Fix the esp intr dump expected output because the changes happened in brownout 2024-05-27 16:41:18 +08:00
C.S.M 91cedfe89d feat(brownout): Add brownout detector support on esp32p4 2024-05-27 16:40:45 +08:00
C.S.M 4dc565b7d0 feature(usb_serial_jtag): add usb serial jtag support for esp32p4 2024-05-13 12:19:14 +08:00
Cao Sen Miao 6b0a815b78 fix(jpeg): Fix several issues reported recently,
1. Fix decode images with dri marker failed,
2. Fix encode sometimes get length error
2024-05-07 13:58:18 +08:00
C.S.M 684b63090b Merge branch 'feature/jpeg_dec_yuv_support' into 'master'
feat(jpeg): Support YUV in both decoder and encoder.

See merge request espressif/esp-idf!30240
2024-04-18 14:27:08 +08:00
Cao Sen Miao 282f3869c8 fix(jpeg): Fix issue that jpeg encoder does not end with 0xffd9 2024-04-18 12:39:09 +08:00
Cao Sen Miao 28b2e5f2bb feat(jpeg): update example use ldo for sd card 2024-04-18 10:40:48 +08:00
Cao Sen Miao 876a3697ec feat(jpeg): Support jpeg decoder yuv format 2024-04-18 10:40:48 +08:00
Cao Sen Miao ea8be1533a docs(jpeg): Add docs for explain pixel order supported in jpeg driver 2024-04-17 19:16:44 +08:00
Cao Sen Miao fc9eece101 change(jpeg): modify open_rgb.py for its now supporting open YUV files 2024-04-17 19:16:44 +08:00
C.S.M 4a94f9b27c Merge branch 'fix/i2c_pin_short_cut' into 'master'
fix(i2c_master): Modify the behavior from ISR WDT to return timeout when circut get shortcut

See merge request espressif/esp-idf!30188
2024-04-15 19:15:35 +08:00
Cao Sen Miao 4ba3a4e482 fix(i2c_master): Fix the issue that probe cannot work properly after a general call,
Closes https://github.com/espressif/esp-idf/issues/13547
2024-04-15 11:29:13 +08:00
Cao Sen Miao a69c6e8f41 fix(i2c_master): Modify the behavior from ISR WDT to return timeout when circut get shortcut,
Closes https://github.com/espressif/esp-idf/issues/13587
2024-04-15 11:05:43 +08:00
C.S.M df842f9f75 Merge branch 'docs/jpeg_final' into 'master'
docs(jpeg): Add full-content of jpeg decoder and encoder programming guide

See merge request espressif/esp-idf!30122
2024-04-11 13:45:57 +08:00
Cao Sen Miao 2f7cd31279 fix(jpeg): Fix issue that jpeg acquire return NULL when acquire twice 2024-04-11 12:03:16 +08:00
Cao Sen Miao 896cebaf8b docs(jpeg): Add full-content of jpeg decoder and encoder programming guide 2024-04-11 10:22:01 +08:00
C.S.M e867b129f0 Merge branch 'cleanup/jpeg_encoder' into 'master'
change(jpeg): Clean up some mess code in jpeg encoder

See merge request espressif/esp-idf!30075
2024-04-09 13:30:55 +08:00
Cao Sen Miao ca23d58cf3 change(jpeg): Clean up some mess code in jpeg encoder 2024-04-09 11:33:29 +08:00
C.S.M 6224fca8a0 Merge branch 'feature/support_lp_i2c_in_drv' into 'master'
feat(i2c_master): Add feature for support using lp_i2c in i2c_master driver

See merge request espressif/esp-idf!29907
2024-04-07 19:27:04 +08:00
Cao Sen Miao d16e890993 docs(i2c_master): Add docs for lp_i2c support in i2c master driver 2024-04-03 11:39:10 +08:00
Cao Sen Miao 1fe7cc8d13 test(i2c_master): Add test for lp_i2c support in i2c master driver 2024-04-03 11:39:07 +08:00
Cao Sen Miao 0985bfbe27 feat(i2c_master): Add lp_i2c support in i2c master driver 2024-04-03 11:39:04 +08:00
C.S.M 4921c63b70 Merge branch 'feature/jpeg_encoder' into 'master'
feat(jpge): Add basic support for jpeg encoder 🖼️

See merge request espressif/esp-idf!29411
2024-04-01 23:24:21 +08:00
Cao Sen Miao 69835ebaac docs(jpeg_encoder): Add the documents support for jpeg encoder 2024-04-01 20:03:41 +08:00
Cao Sen Miao e8e7166a4c feat(jpeg_encoder): Add the example support for jpeg encoder 2024-04-01 20:03:38 +08:00
Cao Sen Miao 58acf93da2 test(jpeg_encoder): Add the test support for jpeg encoder 2024-04-01 20:03:35 +08:00
Cao Sen Miao 22ec65adef feat(jpeg_encoder): Add the basic support for jpeg encoder 2024-04-01 20:03:31 +08:00
C.S.M bd7f870c21 Merge branch 'bugfix/usj_stask_size' into 'master'
fix(usb_serial_jtag): Increase stack size on serial_jtag example

Closes IDFGH-12190

See merge request espressif/esp-idf!29866
2024-03-27 18:49:55 +08:00
C.S.M 333e8aa19e Merge branch 'feature/support_i2c_timeout' into 'master'
feature(i2c_master): Add a parameter for config the scl await value

See merge request espressif/esp-idf!29787
2024-03-27 18:14:58 +08:00
Cao Sen Miao 569c75258f fix(usb_serial_jtag): Increase stack size on serial_jtag example,
Closes https://github.com/espressif/esp-idf/issues/13245
2024-03-27 15:47:25 +08:00
Cao Sen Miao ede1df51b0 feat(i2c_master): Add parameter to config I2C scl await time 2024-03-27 10:35:11 +08:00
C.S.M eeb9aa988c Merge branch 'bugfix/fix_i2c_timing_accuracy' into 'master'
fix(i2c_master): Fix issue that i2c clock got wrong after clearing bus

Closes IDFGH-12366

See merge request espressif/esp-idf!29715
2024-03-21 16:45:50 +08:00
Cao Sen Miao c0e5f2b73a fix(i2c_master): Fix issue that i2c clock got wrong after reset,
Closes https://github.com/espressif/esp-idf/issues/13397
2024-03-21 13:13:53 +08:00
C.S.M 5e47ed70c2 Merge branch 'bugfix/i2c_no_pull_up' into 'master'
fix(i2c_master): Fix issue that initialize esp32 fails and using i2c_master_probe issue IF NO PULL-UP ON PINS. And add nack check

Closes IDFGH-11838, IDFGH-13142, and IDFGH-13398

See merge request espressif/esp-idf!29667
2024-03-19 12:25:34 +08:00
Cao Sen Miao 016877b7ce fix(i2c_master): Fix issue that initialize esp32 and using i2c_master_probe issue,
and probe might failed.
Fixed I2C cannot return err code when nack detected
Closes https://github.com/espressif/esp-idf/issues/13213,
Closes https://github.com/espressif/esp-idf/issues/12929,
Closes https://github.com/espressif/esp-idf/issues/13398,
2024-03-19 11:07:13 +08:00
C.S.M 61bb752cdb Merge branch 'bugfix/improve_jpeg_dec' into 'master'
fix(jpeg_decoder): Improve apis for better align strategy and provide buffer size parameter

See merge request espressif/esp-idf!29687
2024-03-19 10:10:52 +08:00
Cao Sen Miao ba6a0d59b0 fix(jpeg_decoder): Improve apis for better align strategy and provide buffer size parameter 2024-03-18 18:32:22 +08:00
C.S.M 812d197011 Merge branch 'bugfix/i2c_slave_bugs' into 'master'
fix(i2c_slave): Fix multiple issues on i2c slave

Closes IDFGH-12343 and IDFGH-12319

See merge request espressif/esp-idf!29566
2024-03-15 19:36:56 +08:00
C.S.M db857c362b Merge branch 'contrib/github_pr_13388' into 'master'
fix(i2c_master): fix deadlock on s_i2c_transaction_start failure (GitHub PR)

Closes IDFGH-12357 and IDFGH-12356

See merge request espressif/esp-idf!29664
2024-03-15 19:31:33 +08:00
Cao Sen Miao 60419a4892 fix(i2c_slave): Fixed the isr_flags not really parse to the intr_allocate,
Closes https://github.com/espressif/esp-idf/issues/13374
2024-03-15 14:40:55 +08:00
Cao Sen Miao 7b731cae39 fix(i2c_slave): Fix bugs on i2c slave,
1. Fixed read data number smaller than master has sent it will fail
2. Disable interrupt when destroy bus
Closes https://github.com/espressif/esp-idf/issues/13354
2024-03-15 14:40:52 +08:00
C.S.M 7d59160d50 Merge branch 'fix/cpu_high_occupation' into 'master'
fix(i2c): Fix I2C synchronous transaction cost so much CPU source

See merge request espressif/esp-idf!29443
2024-03-13 12:10:34 +08:00
C.S.M 4518a2a48c Merge branch 'bugfix/jpg_memory_lead' into 'master'
fix(jpeg): Fix memory leak on jpeg decoder

Closes IDF-9402

See merge request espressif/esp-idf!29571
2024-03-13 09:53:15 +08:00
C.S.M ff976c3c31 Merge branch 'bugfix/flash_mxic_chip' into 'master'
fix(spi_flash): Fix MXIC chip flash size detected wrong

See merge request espressif/esp-idf!29539
2024-03-12 18:35:38 +08:00
Cao Sen Miao 4881a2aca0 fix(jpeg): Fix memory leak on jpeg decoder 2024-03-12 14:45:55 +08:00
Cao Sen Miao 68462ef241 fix(spi_flash): Fix MXIC chip flash size detected wrong,
Closes https://github.com/espressif/esp-idf/issues/12222
2024-03-11 15:19:30 +08:00
Cao Sen Miao 1517d61add fix(i2c): Fix I2C synchronous transaction cost so much CPU source,
Closes https://github.com/espressif/esp-idf/issues/13137,
Closes https://github.com/espressif/esp-idf/pull/13322
2024-03-07 17:51:23 +08:00
C.S.M 831c354cf6 Merge branch 'contrib/github_pr_13090' into 'master'
Update temp_sensor.rst documentation to match example (GitHub PR)

Closes IDFGH-12025

See merge request espressif/esp-idf!28846
2024-03-06 10:11:40 +08:00
C.S.M 0f03434119 Merge branch 'feature/tsens_etm' into 'master'
feature(temperature sensor): Temperature sensor ETM support.

Closes IDF-6357

See merge request espressif/esp-idf!28880
2024-03-05 10:09:25 +08:00
Cao Sen Miao 943ebe2ca2 docs(temperature_sensor): Add new documents for temperature sensor ETM on ESP32C6/H2 2024-03-04 11:36:18 +08:00
Cao Sen Miao c6be2584a7 test(temperature_sensor): Add new test for temperature sensor ETM on ESP32C6/H2 2024-03-01 18:52:42 +08:00
Cao Sen Miao 2b2b3be98f feat(temperature_sensor): Add new support for temperature sensor ETM on ESP32C6/H2 2024-03-01 18:52:39 +08:00
C.S.M 3e0a672d91 Merge branch 'feature/jpeg_decoder' into 'master'
feat(jpgd): Add jpeg decode support on esp32p4 🖼️ (goal: Trying to merge in March 🛰️ )

See merge request espressif/esp-idf!28639
2024-02-29 23:43:05 +08:00
C.S.M 1360f1b0a9 Merge branch 'feature/i2c_support_esp32c5' into 'master'
feat(i2c): Add I2C support on ESP32C5

Closes IDF-8694 and IDF-8696

See merge request espressif/esp-idf!29196
2024-02-29 21:51:45 +08:00
Cao Sen Miao d11030ade6 docs(jpeg): Add basic programming guide for jpeg decoder 2024-02-29 17:20:09 +08:00
Cao Sen Miao 518c7f5b14 test(jpeg): Add basic test_app for jpeg_decoder 2024-02-29 13:51:21 +08:00
Cao Sen Miao e3a12a9ad6 feat(jpeg): Add jpeg decoder example for esp32p4 2024-02-29 13:51:19 +08:00
Cao Sen Miao abc2971d95 feat(jpeg): Add basic jpeg decoder support on esp32p4 2024-02-29 13:51:16 +08:00
Cao Sen Miao ddb0c21d4c feat(i2c): Add I2C support on ESP32C5 2024-02-29 12:13:39 +08:00
C.S.M 0b9b928ce9 Merge branch 'bugfix/fix_flash_encryption_rom_c3' into 'master'
fix(spi_flash): Fix issue that flash encryption failed while rom_impl config is enabled

Closes IDF-9192

See merge request espressif/esp-idf!29188
2024-02-29 01:13:20 +08:00
Cao Sen Miao 44e16a6401 fix(spi_flash): Fix issue that flash encryption failed while rom_impl config is enabled
The issue is `esp_flash_write_encryped` function in ROM on ESP32C3, ESP32S3
calls legacy implementation, which uses old configuration. And this causes
write fails.
The solution in this commit is to compile and link this function(and related)
in IRAM instead of the ROM one.
The IRAM cost increases around 1.2KB after the fix
2024-02-28 10:07:53 +08:00
C.S.M 7cf8cc79a1 Merge branch 'fix/ci_i2c_sleep_retention' into 'master'
fix(i2c): Modify the test memory leak check threshold and add more file pattern

See merge request espressif/esp-idf!29290
2024-02-27 23:00:29 +08:00
Cao Sen Miao 28a0548c67 fix(i2c): Modify the test memory leak check threshold and add more file pattern 2024-02-27 17:30:59 +08:00
C.S.M 2302dd5a91 Merge branch 'feature/i2c_sleep' into 'master'
feat(i2c): Support i2c sleep retention on esp32c6/h2

Closes IDF-8458

See merge request espressif/esp-idf!28885
2024-02-24 09:58:35 +08:00
Cao Sen Miao 27b2f7a10b feat(i2c): Add test cases for i2c sleep retention with 802154 2024-02-23 11:28:17 +08:00
Cao Sen Miao cf521b60ea feat(i2c): Support i2c sleep retention on esp32c6/h2 2024-02-23 11:28:14 +08:00
C.S.M afa876fac9 Merge branch 'example/hal_i2c' into 'master'
example(hal_i2c): Add pure I2C master example with only hal, rom, soc, etc. G0 G1 components.

See merge request espressif/esp-idf!28509
2024-01-31 14:51:31 +08:00
Cao Sen Miao 62a0efdd7c feat(i2c): Add pure hal i2c master driver example 2024-01-31 11:47:14 +08:00
C.S.M c967dac3a9 Merge branch 'bugfix/one_byte_receive' into 'master'
fix(i2c_master): Fix bug on esp32 that read one byte data fails

See merge request espressif/esp-idf!28523
2024-01-22 18:17:33 +08:00
Cao Sen Miao 1e3ffdf628 fix(i2c_master): Fix bug on esp32 that read one byte data fails 2024-01-22 11:13:10 +08:00
C.S.M 6c5373911a Merge branch 'bugfix/cannot_jump_range' into 'master'
fix(temperature_sensor): Cannot switch the range smoothly on esp32h2

Closes IDF-9054

See merge request espressif/esp-idf!28530
2024-01-19 09:44:26 +08:00
C.S.M 298931596a Merge branch 'bugfix/wrong_serial_num_2_rom' into 'master'
fix(uart,usj..): Fix wrong serial number that has been parsed to rom functions

Closes IDFGH-11872

See merge request espressif/esp-idf!28414
2024-01-18 16:17:37 +08:00
Cao Sen Miao 6768805d20 fix(uart,usj...): Fix wrong serial number that has been parsed to rom functions,
Closes https://github.com/espressif/esp-idf/issues/12958
2024-01-18 10:51:51 +08:00
Cao Sen Miao e6b18a13cd fix(tools): Fix cannot generate *_caps to kconfig if int value is negative 2024-01-18 10:51:39 +08:00
Cao Sen Miao 2859388f11 fix(temperature_sensor): Cannot switch the range smmothly on esp32h2 2024-01-17 16:55:30 +08:00
C.S.M ea4498d6c6 Merge branch 'refactor/i2c_example' into 'master'
refactor(i2c): Use new I2C driver in i2c examples.

See merge request espressif/esp-idf!28239
2024-01-16 12:52:12 +08:00
Cao Sen Miao 4d71f7c18e refactor(i2c): Use new I2C drivers for I2C exmaple 2024-01-16 10:05:08 +08:00
Cao Sen Miao 0bf2b35b33 fix(i2c): Use hardware fsm reset on esp32c6/h2/p4 2024-01-16 10:05:05 +08:00