Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Main work #161

Merged
merged 223 commits into from
Oct 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
223 commits
Select commit Hold shift + click to select a range
f5450ca
fix(docs/jtag): Fix hard-coded HW breakpoints/watchpoints number
NicBallinger Jul 31, 2023
c08a4e6
ci(examples): Enable storage/perf_benchmark build test for spiflash o…
adokitkat Aug 29, 2023
afc7cf4
feat(bt/bluedroid): Add flags for BQB auto test of L2CAP
Aug 28, 2023
195524e
docs(jtag-debugging): Add links to gdbstub for convenience
chipweinberger Aug 18, 2023
c17d9ff
docs: Update Chinese translation for api-guides/jtag-debugging/index.rst
April-Yjj Sep 19, 2023
a79910c
doc(nimble): Added the tutorial for spp_client example.
darshandobariya7 Sep 18, 2023
aa47835
feat(esp_hw_support): Add esp_crypto_lock layer for esp32c2
Harshal5 Sep 20, 2023
6a7caa7
feat(esp_hw_support): Added locking mechanism for the ECDSA and ECC p…
Harshal5 Sep 18, 2023
5e08ac6
feat(ieee802154): update ieee802154 sleep logic and support modem sleep
Sep 20, 2023
9df70ce
fix(spi_lcd_touch): LCD image source default from binary
Lzw655 Sep 12, 2023
b4a1736
fix(nt35510_st7789): correct the word spelling
Lzw655 Sep 20, 2023
7b17650
feat(ble): update ble sleep logic for esp32h2
ChrysalisChenJ Sep 21, 2023
40996f8
change: remove has clock bug macro for esp32h2
ChrysalisChenJ Sep 21, 2023
34f8909
fix(sleep): fix modem reject the deepsleep request
esp-wzh Sep 21, 2023
a4277c9
docs: Provide Chinese translation for 5 documents in api-reference/ne…
April-Yjj Aug 22, 2023
7a0684d
fix(sleep): fix pma cfg csr regs bad retention
esp-wzh Sep 22, 2023
510ddd1
fix(bt/bluedroid): Fix issue of QoS configuration failure when t_poll…
blueMoodBHD Sep 22, 2023
c2cbb5d
fix(bt/bluedroid): Triggering disconnect event of GAP correctly
blueMoodBHD Sep 7, 2023
beef3bd
feat(esp_lcd): add lock for lvgl in examples
Lzw655 Sep 12, 2023
e271e27
fix(bt/bluedroid): Fix the mistaken deletion of bluedriod enable in b…
boblane1 Sep 19, 2023
ea38a2e
feat(cache): support cache driver on esp32p4
Icarus113 Sep 14, 2023
cc581c3
change(cp_dma): check cache line by cache level
Icarus113 Sep 14, 2023
e8813dd
feat(cache): added an helper API for cache-align-malloc
Icarus113 Sep 8, 2023
900aebd
feat(dma): added APIs for dma specific malloc
Icarus113 Sep 8, 2023
0a15038
feat(cache): support esp_cache_msync for instructions
Icarus113 Sep 14, 2023
ec27891
change(cache): swap cache hal arg 'type' and 'level'
Icarus113 Sep 15, 2023
32db81a
change(rmt): update cache_hal_get_cache_line_size accordingly
Icarus113 Sep 21, 2023
87af877
feat(bt/hci): Added Vendor-Specific HCI command to disable DM1 for ACL-U
blueMoodBHD Sep 22, 2023
3dc13d5
fix(intr): always allocate memory from internal ram
suda-morris Sep 21, 2023
2652881
feat(openthread): enable time sync feature
chshu Sep 21, 2023
eb65d0a
fix(bt/bluedroid): Fix the issue for HID congestion checking
boblane1 Sep 22, 2023
dc5d4b0
ci(danger-gitlab): Add CI job tracelog checks output
tomassebestik Sep 22, 2023
ec4bfbb
fix(examples/iperf): Update and rename default TCP/UDP buffer sizes
nachiketkukade Sep 22, 2023
326ced0
doc(nimble): Added the tutorial for spp_server example.
darshandobariya7 Sep 22, 2023
464d278
fix(esp_hw_support): fix build with CONFIG_ESP_CONSOLE_UART=n on C6
igrr Jul 20, 2023
2fe4fe2
ci(system): re-enable build test app for C2 and C6, clean up configs
igrr Jul 20, 2023
cbd4fc1
doc (nimble): Added the tutorial for coc_blecent example.
ESPAbhinav Sep 18, 2023
28a45e2
feat(parlio_tx): supported parlio tx on p4
L-KAYA Aug 7, 2023
7729144
docs: Update CN for speed.rst
WangVirginia Sep 19, 2023
0860e75
feat(bt/bluedroid): Add HFP config for BQB test
Aug 18, 2023
5600da1
feat(bt/bluedroid): Modify AT+CNUM response api and HFP AG example
Aug 14, 2023
5875f11
feat(bt/bluedroid): Add supprot for specific indicator sending from A…
Aug 15, 2023
bf77d87
fix(bt/bluedroid): Fix the process of sending OK in ATD and COPS cmds
Aug 21, 2023
cf52a57
feat(bt/bluedroid): Modify the btc hf features for AT+NREC cmd in BQB…
Aug 21, 2023
23095c7
Merge branch 'docs/add_CN_trans_for_5_docs_in_api-reference/network' …
April-Yjj Sep 25, 2023
03de9d0
feat(bt/bluedroid): Add flag to send BRSF features for hfp ag BQB test
Aug 21, 2023
c5fa755
feat(bt/bluedroid): Add eSCO S1 support for hfp client BQB test
Aug 18, 2023
a481a15
feat(bt/bluedroid): Add flag to change HFP client features for BQB test
Aug 21, 2023
8b1c5d3
feat(bt/bluedroid): Add flag to control whether to send AT+CLIP cmd f…
Aug 21, 2023
f0e90b2
fix(bt/bluedroid): Revise the description for index in esp_hf_ag_clcc…
Aug 25, 2023
12abb32
fix(bt/bluedroid): Modify the operator name to English in hfp_ag example
Aug 25, 2023
d637880
Merge branch 'bugfix/config_tpoll_fail' into 'master'
wmy-espressif Sep 25, 2023
3b7a37f
Merge branch 'test/bqb_test_bt_classic_l2cap' into 'master'
wmy-espressif Sep 25, 2023
6fd3667
change(mqtt): Update submodule to e6afdb
euripedesrocha Sep 25, 2023
150900e
feat: add config to disable ble hci uart flow control
Weijian-Espressif Sep 22, 2023
c19e1b8
fix(bootloader_support): Fix condition for SECURE_SIGNED_ON_UPDATE_NO…
hmalpani Sep 15, 2023
7c2df01
fix(bootloader): Update kconfig option
hmalpani Sep 18, 2023
7d98bdd
feat: Add test app to verify SECURE_SIGNED_ON_UPDATE_NO_SECURE_BOOT
hmalpani Sep 18, 2023
96a8316
feat(esp_http_client): Add API to set auth data
hmalpani Sep 8, 2023
04ac8e4
fix(esp_http_client): Call event_handler after header value is received
hmalpani Sep 11, 2023
40cfaca
docs: update arguments of REG_SET_BITS
Lindazhxy Sep 22, 2023
b58a2ea
Merge branch 'feature/support_cache_p4' into 'master'
Icarus113 Sep 25, 2023
0fe1114
Merge branch 'bugfix/shared_intr_memory_location' into 'master'
suda-morris Sep 25, 2023
0e7aa6a
Merge branch 'ci/danger-tracelog-checks-output' into 'master'
tomassebestik Sep 25, 2023
a1bc704
Merge branch 'docs/update_cn_trans_for_speed_optimization' into 'master'
suda-morris Sep 25, 2023
9eddc6c
fix(openthread): update openthread_br lib
wqx6 Sep 25, 2023
76aca4c
fix(sleep): fix inproper sleep vol param for esp32c6 & esp32h2
Sep 15, 2023
364a6a1
fix(ieee802154): using link0/2 for ieee802154 in esp32h2 chip
Sep 21, 2023
73dcc39
Merge branch 'bugfix/fix_pma_bad_retention' into 'master'
jack0c Sep 25, 2023
217defb
Merge branch 'bugfix/fix_modem_reject_deepsleep' into 'master'
jack0c Sep 25, 2023
303d2c2
fix(esp_eth): Add model number 0x13 to list of suported models
bogdankolendovskyy Sep 21, 2023
47649d5
Merge branch 'bugfix/fix_hid_congestion' into 'master'
wmy-espressif Sep 25, 2023
f0b4a69
Merge branch 'bugfix/fix_spp_acceptor_example' into 'master'
wmy-espressif Sep 25, 2023
ab74fb4
Merge branch 'feature/locking_layer_for_ecdsa' into 'master'
mahavirj Sep 25, 2023
d3d15fb
feat(http_parser): Add sbom manifest file
hmalpani Sep 25, 2023
a231b6f
Merge branch 'feature/walkthrough_for_coc_ble_cent' into 'master'
rahult-github Sep 25, 2023
b953afe
Merge branch 'feature/walkthrough_for_spp_client' into 'master'
rahult-github Sep 25, 2023
a989ce4
feat(ana_cmpr): supported analog comparator on esp32p4
L-KAYA Jul 18, 2023
bf2a565
feat(ana_cmpr): supported analog comparator etm function on p4
L-KAYA Jul 28, 2023
ff7a11e
feat(ana_cmpr): supported etm in analog comparator example
L-KAYA Jul 31, 2023
f6c76aa
Merge branch 'feature/ot_time_sync' into 'master'
chshu Sep 25, 2023
cb8a8d3
feat(openthread): Add some configuration for customer using
zwx1995esp Sep 4, 2023
8545f85
Merge branch 'bugfix/build_fail_c6_usb_serial_jtag' into 'master'
igrr Sep 25, 2023
de148c3
feat(ble/bluedroid): Add APIs for BLE direct test mode on bluedroid host
Weijian-Espressif Sep 7, 2023
23a20e4
feat(ble/bluedroid): Add API to update config file path
Weijian-Espressif Sep 8, 2023
eafa723
feat(bt): migrate the tests from unit-test-app
igrr Sep 21, 2023
1fbee17
fix(bt): fixed -Write-strings warning in btm_ble_5_gap.c
igrr Sep 22, 2023
f2b2385
Revert "Merge branch 'bugfix/uart_vfs_select_threadsafe' into 'master'"
pacucha42 Sep 25, 2023
966b862
feat(esp_netif): PPP config option to allow disabling LCP runtime
david-cermak Sep 19, 2023
10a5fcf
feat(esp_netif): PPP: Use RAM allocated pbufs instead of POOL (fixed …
david-cermak Sep 19, 2023
1956196
Merge branch 'feature/esp_lcd_example_use_lvgl_lock' into 'master'
Lzw655 Sep 26, 2023
a937efe
feat(pthread): added pthread_condattr* stubs to avoid linker errors
0xjakob Sep 21, 2023
7022c93
Merge branch 'feature/walkthrough_for_spp_server' into 'master'
rahult-github Sep 26, 2023
01f6f8f
Merge branch 'revert-7e490433' into 'master'
pacucha42 Sep 26, 2023
2ec907e
Merge branch 'bugfix/fix_sleep_risk_vol_param' into 'master'
jack0c Sep 26, 2023
5d9ebd2
Merge branch 'bugfix/fix_condition_to_verify_when_no_SB' into 'master'
hmalpani Sep 26, 2023
44757e9
fix(vfs): re-enable vfs tartget tests for esp32-h2
RathiSonika Sep 26, 2023
1f25202
Merge branch 'test/bqb_test_bt_classic_hfp' into 'master'
jack0c Sep 26, 2023
fce25bc
Merge branch 'openthread/update_libs' into 'master'
chshu Sep 26, 2023
77bcefb
Merge branch 'bugfix/iperf_improvements' into 'master'
jack0c Sep 26, 2023
5bced24
Merge branch 'support/openthread_custom_config' into 'master'
chshu Sep 26, 2023
ecd1759
feat(esp_eth): abstraction of SPI driver for SPI Ethernet modules
kostaond Jun 27, 2023
42b85df
Update bt lib for ESP32-C3 and ESP32-S3(c8aa206)
esp-cjh Sep 22, 2023
17ae394
Merge branch 'feature/update_esp32h2_sleep_logic' into 'master'
jack0c Sep 26, 2023
12fcc66
feat(phy): Add modem type to phy init
zwx1995esp Jul 27, 2023
503299f
fix(phy): Fix PHY enabled enter WiFi RX state default
MaxwellAlan Aug 4, 2023
355a420
fix(phy): Fix ble phy_enable/disable api invoking issue for esp32c2,e…
zhaoweiliang2021 Sep 1, 2023
9e07fa9
fix(phy): move phy tx power track to IDF
MaxwellAlan Sep 4, 2023
e5b96c9
fix(CI): fix CI build
zwx1995esp Sep 7, 2023
3cc06e4
change(ble/controller): disable pll track by default in BLE controlle…
Weijian-Espressif Sep 8, 2023
99ac807
fix(wifi): Support ESP32 PHY enabled not enter WiFi RX state by default
MaxwellAlan Sep 11, 2023
985b8ca
fix(rmt): fixed unstable transfer during DFS
suda-morris Sep 26, 2023
0ee3041
feat(lwip): Fixes and Improvements for NAPT and SBOM Support
espressif-abhikroy Sep 25, 2023
d33ee17
Merge branch 'docs/update_arguments_reg_set_bits' into 'master'
Lindazhxy Sep 26, 2023
dc75dc6
fix(ble_mesh): avoid executing bt_mesh_host_init() more than once whe…
gnameg Sep 25, 2023
c4da3d4
Keep export.sh Bourne Shell compatible
panduit-mik Sep 14, 2023
e8992f5
fix(nvs_flash): nvs_set with same key and different data type
rrtandler Aug 25, 2023
4f659b7
fix(nvs_flash): fixed failing nvs_page test
rrtandler Sep 5, 2023
239b73b
Merge branch 'ci/perf_monitor_spiflash_build_test_enable_esp32p4' int…
pacucha42 Sep 26, 2023
9a239b8
Merge branch 'feature/support_analog_comparator_on_p4' into 'master'
L-KAYA Sep 26, 2023
65b01e5
docs: provide CN translation for api-reference/peripherals/sdspi_shar…
caixinying-git Sep 26, 2023
3ffe094
Merge branch 'docs/add_Chinese_translation_for_api-reference/peripher…
caixinying-git Sep 26, 2023
290db2d
Merge branch 'feat/add_sbom_manifest_file_for_http_parser' into 'master'
mahavirj Sep 27, 2023
cf54ebc
Merge branch 'feature/support_parlio_tx_on_p4' into 'master'
L-KAYA Sep 27, 2023
e958498
Merge branch 'feat/add_support_to_add_auth_data' into 'master'
mahavirj Sep 27, 2023
346d13c
Merge branch 'mqtt/update_submodule_e6afdb' into 'master'
euripedesrocha Sep 27, 2023
962c7c0
Merge branch 'bugfix/ksz8041_model_number_0x13' into 'master'
kostaond Sep 27, 2023
43741ec
ci: add astyle pre-commit check
igrr Sep 8, 2022
3b23dc8
Merge branch 'bugfix/docs_hw_breakpoints_num' into 'master'
gerekon Sep 27, 2023
4dbe541
ci: replace internal clang-tidy runner with the pypi project
hfudev Sep 21, 2023
7d41744
docs: Provide Chinese translation for api-reference/system/wdts.rst
April-Yjj Sep 1, 2023
9e9eb0b
Merge branch 'bugfix/rmt_pm_lock_type' into 'master'
suda-morris Sep 27, 2023
4697f9d
Typo fix in dedic_gpio.rst: fasted->fastest.
robertlipe Sep 20, 2023
e0c225b
Merge branch 'feature/eth_spi_abstraction' into 'master'
kostaond Sep 27, 2023
500d415
Merge branch 'support/esp_phy_init_refactor' into 'master'
jack0c Sep 27, 2023
00d77e7
fix(hints): properly identify source component
fhrbata Sep 27, 2023
2120d83
docs: Add documentation for using ECDSA peripheral with TLS
hmalpani Sep 13, 2023
66e720c
Merge branch 'feature/add_api_to_update_config_file_path' into 'master'
Weijian-Espressif Sep 27, 2023
60961e9
Merge branch 'feature/Add_apis_for_dtm_test' into 'master'
Weijian-Espressif Sep 27, 2023
1f90194
Merge branch 'feature/pre-commit-astyle' into 'master'
igrr Sep 27, 2023
c5cd97d
fix(precommit): correct typo in astyle-format.yml file name
igrr Sep 27, 2023
1a0dd5a
Merge branch 'ci/replace_internal_clang-tidy-runner' into 'master'
hfudev Sep 27, 2023
c86cd46
Revert "Merge branch 'ci/perf_monitor_spiflash_build_test_enable_esp3…
adokitkat Sep 27, 2023
180d455
Merge branch 'bugfix/astyle-config-path' into 'master'
igrr Sep 28, 2023
1b24842
refactor(esp_lcd): reformat code with astyle_py
suda-morris Sep 27, 2023
b12e250
refactor(examples): reformat peripheral examples with astyle_py
suda-morris Sep 28, 2023
cdc905f
feat(dw_gdma): initial low level driver
suda-morris Sep 25, 2023
2fb9cfb
Merge branch 'contrib/github_pr_12276' into 'master'
suda-morris Sep 28, 2023
d7bb1b2
Merge branch 'revert-239b73bd' into 'master'
suda-morris Sep 28, 2023
b221f87
feat(volt): chip auto adjust volt for esp32c6 & esp32h2
esp-zlq Sep 6, 2023
492c819
Merge branch 'bugfix/fix_phy_63' into 'master'
Isl2017 Sep 28, 2023
cf889f3
feat(i2s): support i2s on esp32p4
L-KAYA Jun 16, 2023
0b0f25c
feat(i2s): supported getting the tx sync count and specify interrupt …
L-KAYA Aug 2, 2023
72a0746
refactor(apll): move the apll soc caps to clk_tree_ll
L-KAYA Sep 6, 2023
e1039f9
fix(i2s_platform): merge the i2s platform acquire API
L-KAYA Sep 7, 2023
4215adc
feat(cache): added cache msync doc
Icarus113 Sep 27, 2023
f465bc1
change(mspi): remove s3 120mhz sdr warning
Icarus113 Sep 25, 2023
d57c4cd
ci(adc): increase adc performance test threshold on c6
Bruce297 Sep 27, 2023
26a654b
Merge branch 'feature/support_7.6.1_soc_pvt_auto_dbias' into 'master'
jack0c Sep 28, 2023
dd10b48
Merge branch 'refactor/format_esp_lcd' into 'master'
suda-morris Sep 28, 2023
4a40c7b
Merge branch 'feature/dwgdma_low_level' into 'master'
suda-morris Sep 28, 2023
4c6f4b3
Merge branch 'feature/support_i2s_on_p4' into 'master'
L-KAYA Sep 28, 2023
4045c3f
Merge branch 'ci/fix_c6_adc_oneshot_std_atten3_ci_fail' into 'master'
Bruce297 Sep 28, 2023
817036f
fix(adc): power settings not taking into effect on C6
Bruce297 Sep 20, 2023
c8083b0
feat(modem_clock): separate management of modem_adc_common_fe clock a…
esp-wzh Sep 25, 2023
8e9a151
ci(adc): add a test about adc1 work with wifi on c6
Bruce297 Sep 27, 2023
8efe950
fix(adc): power settings not taking into effect on H2
Bruce297 Sep 27, 2023
fbecb1e
Merge branch 'change/remove_s3_120_sdr_warning' into 'master'
Icarus113 Sep 28, 2023
be2c591
fix(startup): flip the security configuration check order
mahavirj Sep 28, 2023
4e04c00
Merge branch 'docs/use_ecdsa_perph_for_tls_connection' into 'master'
mahavirj Sep 29, 2023
3b2a22f
Merge branch 'feat/esp_netif_ppp_opts' into 'master'
david-cermak Sep 29, 2023
16e5b4f
Merge branch 'update/h2_reenable_vfs_target_tests' into 'master'
RathiSonika Sep 29, 2023
d56647b
fix(vfs/uart): Add support for multi-task call to uart select
RathiSonika Sep 26, 2023
821f7b0
fix(ledc): fix ledc driver 100% duty cycle configuration
songruo Sep 20, 2023
f5f44e2
fix(ledc): always allocate memory from internal ram
songruo Sep 21, 2023
66821f6
refactor(ledc): move related kconfig and linker.lf to its own folder
songruo Sep 21, 2023
c75fab3
esp_eth: change rtl8201 reset timing to match datasheet
bogdankolendovskyy Sep 25, 2023
aa3b9df
Merge branch 'fix/nested_components_hint' into 'master'
dobairoland Oct 2, 2023
28b8a5d
fix(esp_system): Fix mixing logs, remove early info logs for 2nd CPU
KonstantinKondrashov Sep 15, 2023
4227d99
Merge branch 'feature/pthread_condattr_dummy_impl' into 'master'
0xjakob Oct 2, 2023
5cd6284
Merge branch 'feature/bt_component_test_app' into 'master'
igrr Oct 2, 2023
c50dfa2
Merge branch 'bugfix/nvs_set_datatype' into 'master'
pacucha42 Oct 2, 2023
37c7c5b
feat(tools): Add shellcheck for shell scripts to CI
Sep 5, 2023
addbc79
refactor(tools): shellcheck pass modification
Oct 3, 2023
fac7cb4
Merge branch 'bugfix/rtl8201_reset_timing' into 'master'
bogdankolendovskyy Oct 3, 2023
4ec2c70
Merge branch 'bugfix/napt_updates' into 'master'
david-cermak Oct 4, 2023
acc04fc
Merge branch 'doc/refer_gdbstub_indebug_section' into 'master'
gerekon Oct 4, 2023
ff87a00
feat(wpa_supplicant): migrate the tests from unit-test-app
igrr Sep 27, 2023
e48ca24
Merge branch 'bugfix/uart_vfs_select_threadsafe' into 'master'
pacucha42 Oct 4, 2023
6e22dc2
ci(wpa_supplicant): set leak thresholds in test_crypto
igrr Oct 4, 2023
b995237
change(wpa_supplicant): reformat test_dpp with astyle
igrr Oct 4, 2023
955e207
change(wpa_supplicant): clean up test_dpp, set leak threshold
igrr Oct 4, 2023
6eec370
change(wpa_supplicant): reformat test_eloop with astyle
igrr Oct 4, 2023
191a902
change(wpa_supplicant): clean up test_eloop, set leak threshold
igrr Oct 4, 2023
6c27208
change(wpa_supplicant): reformat test_fast_pbkdf2 with astyle
igrr Oct 4, 2023
098d282
change(wpa_supplicant): set leak threshold in test_fast_pbkdf2
igrr Oct 4, 2023
c07ee2d
change(wpa_supplicant): test_offchannel: cleanups and leak thresholds
igrr Oct 4, 2023
1745baf
change(wpa_supplicant): reformat test_sae with astyle
igrr Oct 4, 2023
2b1e9af
change(wpa_supplicant): clean up test_sae, set leak thresholds
igrr Oct 4, 2023
24b2e0a
ci: different test case name with different params
hfudev Sep 18, 2023
0a4a312
Merge branch 'ci/fix_param_tests' into 'master'
hfudev Oct 4, 2023
1d5532b
Merge branch 'bugfix/security_check_order_in_startup' into 'master'
AdityaHPatwardhan Oct 5, 2023
d641168
fix(tools): adjusted esptool @flash_args command print to prevent issues
jakub-kocka Oct 5, 2023
b608726
Merge branch 'feature/add_shellcheck_to_ci' into 'master'
dobairoland Oct 5, 2023
0c2decc
Merge branch 'pull12247' into 'master'
dobairoland Oct 5, 2023
3166056
Merge branch 'bugfix/log_mixing_at_startup' into 'master'
KonstantinKondrashov Oct 5, 2023
7d8f015
Merge branch 'feat/cache_msync_doc' into 'master'
Icarus113 Oct 5, 2023
fbc31c8
Merge branch 'fix/esptool_command_info' into 'master'
dobairoland Oct 6, 2023
499e8ad
docs: update cn trans for tips and quirks
esp-momo Oct 7, 2023
e445213
Merge branch 'bugfix/BLEQABR23-632' into 'master'
jack0c Oct 7, 2023
af7efb7
Merge branch 'docs/update_cn_trans_tips_and_quirks' into 'master'
suda-morris Oct 7, 2023
4ee7fac
docs: Provide Chinese translation for system/intr_alloc.rst
April-Yjj Aug 29, 2023
0f64142
Merge branch 'bugfix/ledc_max_duty_cycle' into 'master'
songruo Oct 7, 2023
42c2c60
Merge branch 'docs/add_CN_trans_for_system/wdts.rst' into 'master'
April-Yjj Oct 7, 2023
56f991d
Merge branch 'bugfix/fix_adc_sar_set_power_mode_no_effect' into 'master'
Bruce297 Oct 7, 2023
927f02b
Merge branch 'docs/Add_CN_trans_for_system/intr_alloc.rst' into 'master'
April-Yjj Oct 7, 2023
366bb1f
Merge branch 'feature/wpa_supplicant_component_test_app' into 'master'
igrr Oct 7, 2023
b774bd1
refactor(esp_adc): reformat code with astyle_py
Icarus113 Oct 8, 2023
2144eed
refactor(esp_psram): reformat code with astyle_py
Icarus113 Sep 28, 2023
3d4b60a
refactor(esp_mm): reformat code with astyle_py
Icarus113 Sep 28, 2023
5306b33
Merge branch 'feature/add_config_to_disable_uart_flow_control' into '…
Weijian-Espressif Oct 8, 2023
1ec70cd
Merge branch 'refactor/format_esp_mm_psram_adc' into 'master'
Icarus113 Oct 8, 2023
6cbc323
Merge branch 'master' into main_work
Jason2866 Oct 9, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 0 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ variables:
CHECKOUT_REF_SCRIPT: "$CI_PROJECT_DIR/tools/ci/checkout_project_ref.py"
PYTHON_VER: 3.8.17

CLANG_TIDY_RUNNER_PROJ: 2107 # idf/clang-tidy-runner

# Docker images
BOT_DOCKER_IMAGE_TAG: ":latest"

Expand Down
15 changes: 4 additions & 11 deletions .gitlab/ci/static-code-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,16 @@ clang_tidy_check:
- .rules:patterns:clang_tidy
artifacts:
paths:
- $OUTPUT_DIR
- clang_tidy_reports/
when: always
expire_in: 1 day
variables:
CLANG_TIDY_DIRS_TXT: ${CI_PROJECT_DIR}/tools/ci/clang_tidy_dirs.txt
RULES_FILE: ${CI_PROJECT_DIR}/tools/ci/static-analysis-rules.yml
OUTPUT_DIR: ${CI_PROJECT_DIR}/clang_tidy_reports
IDF_TOOLCHAIN: clang
script:
- internal_pip_install $CLANG_TIDY_RUNNER_PROJ pyclang
- export PATH=$PATH:$(python -c "import sys; print(sys.executable.rsplit('/', 1)[0])")
- dirs=$(cat ${CLANG_TIDY_DIRS_TXT} | while read line; do echo ${CI_PROJECT_DIR}/${line}; done | xargs)
- run_cmd idf_clang ${dirs}
--output-path ${OUTPUT_DIR}
--limit-file ${RULES_FILE}
- run_cmd idf_clang_tidy $(cat tools/ci/clang_tidy_dirs.txt | xargs)
--output-path clang_tidy_reports
--limit-file tools/ci/static-analysis-rules.yml
--xtensa-include-dir
--run-clang-tidy-py run-clang-tidy

check_pylint:
extends:
Expand Down
56 changes: 56 additions & 0 deletions .gitlab/dangerjs/configParameters.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
let outputStatuses = [];

/**
* Logs the status of a rule with padded formatting and stores it in the `outputStatuses` array.
* If the rule already exists in the array, its status is updated.
* @param message The name of the rule
* @param status The output (exit) status of the rule
*/
function recordRuleExitStatus(message, status) {
// Check if the rule already exists in the array
const existingRecord = outputStatuses.find(
(rule) => rule.message === message
);

if (existingRecord) {
// Update the status of the existing rule
existingRecord.status = status;
} else {
// If the rule doesn't exist, add it to the array
outputStatuses.push({ message, status });
}
}

/**
* Displays all the rule output statuses stored in the `outputStatuses` array.
* Filters out any empty lines, sorts them alphabetically, and prints the statuses
* with a header and separator.
* These statuses are later displayed in CI job tracelog.
*/
function displayAllOutputStatuses() {
const lineLength = 100;
const sortedStatuses = outputStatuses.sort((a, b) =>
a.message.localeCompare(b.message)
);

const formattedLines = sortedStatuses.map((statusObj) => {
const paddingLength =
lineLength - statusObj.message.length - statusObj.status.length;
const paddedMessage = statusObj.message.padEnd(
statusObj.message.length + paddingLength,
"."
);
return `${paddedMessage} ${statusObj.status}`;
});

console.log(
"DangerJS checks (rules) output states:\n" + "=".repeat(lineLength + 2)
);
console.log(formattedLines.join("\n"));
console.log("=".repeat(lineLength + 2));
}

module.exports = {
displayAllOutputStatuses,
recordRuleExitStatus,
};
8 changes: 6 additions & 2 deletions .gitlab/dangerjs/dangerfile.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
const { displayAllOutputStatuses } = require("./configParameters.js");

/*
* Modules with checks are stored in ".gitlab/dangerjs/<module_name>". To import them, use path relative to "dangerfile.js"
*/

async function runChecks() {
// Checks for merge request title
require("./mrTitleNoDraftOrWip.js")();
Expand All @@ -28,13 +29,16 @@ async function runChecks() {
// Checks for Source branch name
require("./mrSourceBranchName.js")();

// Show DangerJS individual checks statuses - visible in CI job tracelog
displayAllOutputStatuses();

// Add success log if no issues
if (
results.fails.length === 0 &&
results.warnings.length === 0 &&
results.messages.length === 0
) {
return message("Good Job! All checks are passing!");
return message("🎉 Good Job! All checks are passing!");
}
}

Expand Down
9 changes: 8 additions & 1 deletion .gitlab/dangerjs/mrAreaLabels.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
const { recordRuleExitStatus } = require("./configParameters.js");

/**
* Check if MR has area labels (light blue labels)
*
* @dangerjs WARN
*/
module.exports = async function () {
const ruleName = "Merge request area labels";
const projectId = 103; // ESP-IDF
const areaLabelColor = /^#d2ebfa$/i; // match color code (case-insensitive)
const projectLabels = await danger.gitlab.api.Labels.all(projectId); // Get all project labels
Expand All @@ -13,8 +16,12 @@ module.exports = async function () {
const mrLabels = danger.gitlab.mr.labels; // Get MR labels

if (!mrLabels.some((label) => areaLabels.includes(label))) {
warn(
recordRuleExitStatus(ruleName, "Failed");
return warn(
`Please add some [area labels](${process.env.DANGER_GITLAB_HOST}/espressif/esp-idf/-/labels) to this MR.`
);
}

// At this point, the rule has passed
recordRuleExitStatus(ruleName, "Passed");
};
8 changes: 7 additions & 1 deletion .gitlab/dangerjs/mrCommitsCommitMessage.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,15 @@ const {
maximumBodyLineChars,
allowedTypes,
} = require("./mrCommitsConstants.js");
const { recordRuleExitStatus } = require("./configParameters.js");

/**
* Check that commit messages are based on the Espressif ESP-IDF project's rules for git commit messages.
*
* @dangerjs WARN
*/
module.exports = async function () {
const ruleName = "Commit messages style";
const mrCommits = danger.gitlab.commits;
const lint = require("@commitlint/lint").default;

Expand Down Expand Up @@ -154,6 +156,10 @@ module.exports = async function () {
dangerMessage += AImessageSuggestion;
}

warn(dangerMessage);
recordRuleExitStatus(ruleName, "Failed");
return warn(dangerMessage);
}

// At this point, the rule has passed
recordRuleExitStatus(ruleName, "Passed");
};
7 changes: 7 additions & 0 deletions .gitlab/dangerjs/mrCommitsEmail.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,23 @@
const { recordRuleExitStatus } = require("./configParameters.js");

/**
* Check if the author is accidentally making a commit using a personal email
*
* @dangerjs INFO
*/
module.exports = function () {
const ruleName = 'Commits from outside Espressif';
const mrCommitAuthorEmails = danger.gitlab.commits.map(commit => commit.author_email);
const mrCommitCommitterEmails = danger.gitlab.commits.map(commit => commit.committer_email);
const emailPattern = /.*@espressif\.com/;
const filteredEmails = [...mrCommitAuthorEmails, ...mrCommitCommitterEmails].filter((email) => !emailPattern.test(email));
if (filteredEmails.length) {
recordRuleExitStatus(ruleName, "Failed");
return message(
`Some of the commits were authored or committed by developers outside Espressif: ${filteredEmails.join(', ')}. Please check if this is expected.`
);
}

// At this point, the rule has passed
recordRuleExitStatus(ruleName, 'Passed');
};
7 changes: 7 additions & 0 deletions .gitlab/dangerjs/mrCommitsTooManyCommits.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,22 @@
const { recordRuleExitStatus } = require("./configParameters.js");

/**
* Check if MR has not an excessive numbers of commits (if squashed)
*
* @dangerjs INFO
*/
module.exports = function () {
const ruleName = 'Number of commits in merge request';
const tooManyCommitThreshold = 2; // above this number of commits, squash commits is suggested
const mrCommits = danger.gitlab.commits;

if (mrCommits.length > tooManyCommitThreshold) {
recordRuleExitStatus(ruleName, "Passed (with suggestions)");
return message(
`You might consider squashing your ${mrCommits.length} commits (simplifying branch history).`
);
}

// At this point, the rule has passed
recordRuleExitStatus(ruleName, 'Passed');
};
10 changes: 9 additions & 1 deletion .gitlab/dangerjs/mrDescriptionJiraLinks.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
const { recordRuleExitStatus } = require("./configParameters.js");

/** Check that there are valid JIRA links in MR description.
*
* This check extracts the "Related" section from the MR description and
Expand All @@ -10,6 +12,7 @@
*
*/
module.exports = async function () {
const ruleName = 'Jira ticket references';
const axios = require("axios");
const mrDescription = danger.gitlab.mr.description;
const mrCommitMessages = danger.gitlab.commits.map(
Expand All @@ -26,6 +29,7 @@ module.exports = async function () {
!sectionRelated.header || // No section Related in MR description or ...
!jiraTicketRegex.test(sectionRelated.content) // no Jira links in section Related
) {
recordRuleExitStatus(ruleName, 'Passed (with suggestions)');
return message(
"Please consider adding references to JIRA issues in the `Related` section of the MR description."
);
Expand Down Expand Up @@ -88,6 +92,9 @@ module.exports = async function () {
createReport();
}

// At this point, the rule has passed
recordRuleExitStatus(ruleName, 'Passed');

// ---------------------------------------------------------------

/**
Expand Down Expand Up @@ -225,6 +232,7 @@ module.exports = async function () {
let dangerMessage = `Some issues found for the related JIRA tickets in this MR:\n${partMessages.join(
"\n"
)}`;
warn(dangerMessage);
recordRuleExitStatus(ruleName, "Failed");
return warn(dangerMessage);
}
};
7 changes: 7 additions & 0 deletions .gitlab/dangerjs/mrDescriptionLongEnough.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,24 @@
const { recordRuleExitStatus } = require("./configParameters.js");

/**
* Check if MR Description has accurate description".
*
* @dangerjs WARN
*/
module.exports = function () {
const ruleName = "Merge request sufficient description";
const mrDescription = danger.gitlab.mr.description;
const descriptionChunk = mrDescription.match(/^([^#]*)/)[1].trim(); // Extract all text before the first section header (i.e., the text before the "## Release notes")

const shortMrDescriptionThreshold = 50; // Description is considered too short below this number of characters

if (descriptionChunk.length < shortMrDescriptionThreshold) {
recordRuleExitStatus(ruleName, "Failed");
return warn(
"The MR description looks very brief, please check if more details can be added."
);
}

// At this point, the rule has passed
recordRuleExitStatus(ruleName, "Passed");
};
14 changes: 10 additions & 4 deletions .gitlab/dangerjs/mrDescriptionReleaseNotes.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
const { recordRuleExitStatus } = require("./configParameters.js");

/**
* Check if MR Description contains mandatory section "Release notes"
*
Expand All @@ -6,6 +8,7 @@
* @dangerjs WARN (if section missing, is empty or wrong markdown format)
*/
module.exports = function () {
const ruleName = 'Merge request Release Notes section';
const mrDescription = danger.gitlab.mr.description;
const wiki_link = `${process.env.DANGER_GITLAB_HOST}/espressif/esp-idf/-/wikis/rfc/How-to-write-release-notes-properly`;

Expand All @@ -15,8 +18,8 @@ module.exports = function () {

const sectionReleaseNotes = mrDescription.match(regexSectionReleaseNotes);
if (!sectionReleaseNotes) {
warn(`The \`Release Notes\` section seems to be missing. Please check if the section header in MR description is present and in the correct markdown format ("## Release Notes").\n\nSee [Release Notes Format Rules](${wiki_link}).`);
return null;
recordRuleExitStatus(ruleName, "Failed");
return warn(`The \`Release Notes\` section seems to be missing. Please check if the section header in MR description is present and in the correct markdown format ("## Release Notes").\n\nSee [Release Notes Format Rules](${wiki_link}).`);
}

const releaseNotesLines = sectionReleaseNotes[1].replace(/<!--[\s\S]*?-->/g, '')
Expand Down Expand Up @@ -55,9 +58,12 @@ module.exports = function () {
if (error_output.length > 0) {
// Paragraphs joined by double `\n`s.
error_output = [...error_output, `See [Release Notes Format Guide](${wiki_link}).`].join('\n\n');
warn(error_output);
recordRuleExitStatus(ruleName, "Failed");
return warn(error_output);
}
return null;

// At this point, the rule has passed
recordRuleExitStatus(ruleName, 'Passed');
};

function check_entry(entry) {
Expand Down
9 changes: 9 additions & 0 deletions .gitlab/dangerjs/mrDocsTranslation.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
const { recordRuleExitStatus } = require("./configParameters.js");

/**
* Check the documentation files in this MR.
*
Expand All @@ -24,6 +26,7 @@
*
*/
module.exports = async function () {
const ruleName = 'Documentation translation';
let partMessages = []; // Create a blank field for future records of individual issues
const pathProject = "espressif/esp-idf";
const regexIncludeLink = /\.\.\sinclude::\s((\.\.\/)+)en\//;
Expand Down Expand Up @@ -90,6 +93,9 @@ module.exports = async function () {
// Create a report with found issues with documents in MR
createReport();

// At this point, the rule has passed
recordRuleExitStatus(ruleName, 'Passed');

/**
* Generates an object that represents the relationships between files in two different languages found in this MR.
*
Expand Down Expand Up @@ -245,6 +251,7 @@ module.exports = async function () {

// No docs issues found in MR, but translation labels have been added anyway
if (!partMessages.length && translationLabelsPresent) {
recordRuleExitStatus(ruleName, "Failed");
return warn(
`Please remove the \`needs translation: XX\` labels. For documents that need to translate from scratch, Doc team will translate them in the future. For the current stage, we only focus on updating exiting EN and CN translation to make them in sync.`
);
Expand All @@ -261,9 +268,11 @@ module.exports = async function () {
dangerMessage += `
\nWhen synchronizing the EN and CN versions, please follow the [Documentation Code](https://docs.espressif.com/projects/esp-idf/zh_CN/latest/esp32/contribute/documenting-code.html#standardize-document-format). The total number of lines of EN and CN should be same.\n
\nIf you have difficulty in providing translation, you can contact Documentation team by adding <kbd>needs translation: CN</kbd> or <kbd>needs translation: EN</kbd> labels into this MR and retrying Danger CI job. The documentation team will be automatically notified and will help you with the translations before the merge.\n`;
recordRuleExitStatus(ruleName, "Failed");
return warn(dangerMessage); // no "needs translation: XX" labels in MR; report issues as warn
} else {
dangerMessage += `\nTranslation labels <kbd>needs translation: CN</kbd> or <kbd>needs translation: EN</kbd> were added - this will automatically notify the Documentation team to help you with translation issues.`;
recordRuleExitStatus(ruleName, 'Passed (with suggestions)');
return message(dangerMessage); // "needs translation: XX" labels were found in MR and Docs team was notified; report issues as info
}
}
Expand Down
7 changes: 7 additions & 0 deletions .gitlab/dangerjs/mrSizeTooLarge.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,22 @@
const { recordRuleExitStatus } = require("./configParameters.js");

/**
* Check if MR is too large (more than 1000 lines of changes)
*
* @dangerjs INFO
*/
module.exports = async function () {
const ruleName = "Merge request size (number of changed lines)";
const bigMrLinesOfCodeThreshold = 1000;
const totalLines = await danger.git.linesOfCode();

if (totalLines > bigMrLinesOfCodeThreshold) {
recordRuleExitStatus(ruleName, "Passed (with suggestions)");
return message(
`This MR seems to be quite large (total lines of code: ${totalLines}), you might consider splitting it into smaller MRs`
);
}

// At this point, the rule has passed
recordRuleExitStatus(ruleName, "Passed");
};
Loading