mirror of
https://github.com/demik/quack.git
synced 2024-06-13 09:29:35 +00:00
Compare commits
7 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
9c4dc1acb6 | ||
|
bef062d1cd | ||
|
1e142082b1 | ||
|
75260870c7 | ||
|
97a57e89ac | ||
|
6a0e7ee968 | ||
|
cfe3c0314a |
19
ChangeLog.md
19
ChangeLog.md
|
@ -1,6 +1,21 @@
|
||||||
|
## v1.4.6
|
||||||
|
- added support for ADB composite devices (Kensignton and some Joysticks)
|
||||||
|
- fixed ADB start and stop bit times (65 µs vs 70 µs, error in AN591)
|
||||||
|
- update to ESP-IDF v5.2.2
|
||||||
|
- https://github.com/espressif/esp-idf/releases/tag/v5.2.2
|
||||||
|
- fixed flash corruption after pairing too much devices (20+)
|
||||||
|
- fixed ADB host mode where the ESP boot was too fast (v5.2 regression)
|
||||||
|
|
||||||
|
## v1.4.5
|
||||||
|
- update to ESP-IDF v5.1.2
|
||||||
|
- https://github.com/espressif/esp-idf/releases/tag/v5.1.2
|
||||||
|
- big background update, lot of cleaning and rewrites
|
||||||
|
- as most patches are now mainstream, sdk patching is now minimal
|
||||||
|
- removed direct ABI bluedroid call
|
||||||
|
|
||||||
## v1.4.4
|
## v1.4.4
|
||||||
- update to ESP-IDF v4.2.3:
|
- update to ESP-IDF v4.2.3:
|
||||||
- https://github.com/espressif/esp-idf/releases/tag/v4.2.2
|
- https://github.com/espressif/esp-idf/releases/tag/v4.2.3
|
||||||
- mostly bluetooth related security and bug fixes
|
- mostly bluetooth related security and bug fixes
|
||||||
|
|
||||||
## v1.4.3
|
## v1.4.3
|
||||||
|
@ -18,4 +33,4 @@
|
||||||
|
|
||||||
## v1.4.0
|
## v1.4.0
|
||||||
- Initial firmare release
|
- Initial firmare release
|
||||||
- 1.4.x series is compatible with PCB 1.4 (EDA subfolder)
|
- 1.4.x series is compatible with 1.3 and 1.4 PCBs (EDA subfolder)
|
||||||
|
|
3
EDA/.gitignore
vendored
3
EDA/.gitignore
vendored
|
@ -1,6 +1,9 @@
|
||||||
# tmp zip files
|
# tmp zip files
|
||||||
*.zip
|
*.zip
|
||||||
|
|
||||||
|
# production folders
|
||||||
|
production
|
||||||
|
|
||||||
# KiCad backup files
|
# KiCad backup files
|
||||||
*bak
|
*bak
|
||||||
|
|
||||||
|
|
BIN
EDA/Panels/Front/ADB.png
Normal file
BIN
EDA/Panels/Front/ADB.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.7 KiB |
201
EDA/Panels/Front/ADB_4mm.pretty/ADB_4mm.kicad_mod
Normal file
201
EDA/Panels/Front/ADB_4mm.pretty/ADB_4mm.kicad_mod
Normal file
|
@ -0,0 +1,201 @@
|
||||||
|
(footprint "LOGO" (version 20221018) (generator bitmap2component)
|
||||||
|
(layer "F.Cu")
|
||||||
|
(attr board_only exclude_from_pos_files exclude_from_bom)
|
||||||
|
(fp_text reference "G***" (at 0 0) (layer "F.SilkS")
|
||||||
|
(effects (font (size 1.5 1.5) (thickness 0.3)))
|
||||||
|
(tstamp bab20572-ab1f-4616-b2b2-53186f4f2c29)
|
||||||
|
)
|
||||||
|
(fp_text value "LOGO" (at 0.75 0) (layer "F.SilkS") hide
|
||||||
|
(effects (font (size 1.5 1.5) (thickness 0.3)))
|
||||||
|
(tstamp 74d306e1-5916-4e5a-bcfe-b8aff857e827)
|
||||||
|
)
|
||||||
|
(fp_poly
|
||||||
|
(pts
|
||||||
|
(xy -0.967687 0.339291)
|
||||||
|
(xy -0.863523 0.425217)
|
||||||
|
(xy -0.828276 0.464011)
|
||||||
|
(xy -0.792831 0.488322)
|
||||||
|
(xy -0.743544 0.501571)
|
||||||
|
(xy -0.666769 0.507180)
|
||||||
|
(xy -0.548862 0.508573)
|
||||||
|
(xy -0.530989 0.508620)
|
||||||
|
(xy -0.341151 0.517855)
|
||||||
|
(xy -0.194397 0.547254)
|
||||||
|
(xy -0.079715 0.600882)
|
||||||
|
(xy 0.013912 0.682801)
|
||||||
|
(xy 0.045610 0.721340)
|
||||||
|
(xy 0.078417 0.766596)
|
||||||
|
(xy 0.101268 0.809170)
|
||||||
|
(xy 0.116289 0.860518)
|
||||||
|
(xy 0.125609 0.932099)
|
||||||
|
(xy 0.131355 1.035369)
|
||||||
|
(xy 0.135654 1.181785)
|
||||||
|
(xy 0.136349 1.209947)
|
||||||
|
(xy 0.139425 1.365776)
|
||||||
|
(xy 0.139100 1.474832)
|
||||||
|
(xy 0.134440 1.546731)
|
||||||
|
(xy 0.124511 1.591091)
|
||||||
|
(xy 0.108378 1.617527)
|
||||||
|
(xy 0.095677 1.628535)
|
||||||
|
(xy 0.009875 1.662387)
|
||||||
|
(xy -0.081162 1.640472)
|
||||||
|
(xy -0.091722 1.634628)
|
||||||
|
(xy -0.114272 1.613811)
|
||||||
|
(xy -0.128849 1.575766)
|
||||||
|
(xy -0.137080 1.509794)
|
||||||
|
(xy -0.140591 1.405195)
|
||||||
|
(xy -0.141111 1.309529)
|
||||||
|
(xy -0.146892 1.125701)
|
||||||
|
(xy -0.165295 0.991346)
|
||||||
|
(xy -0.197916 0.900583)
|
||||||
|
(xy -0.246345 0.847530)
|
||||||
|
(xy -0.269376 0.835976)
|
||||||
|
(xy -0.317608 0.827890)
|
||||||
|
(xy -0.405795 0.821776)
|
||||||
|
(xy -0.517452 0.818649)
|
||||||
|
(xy -0.554464 0.818444)
|
||||||
|
(xy -0.672045 0.819513)
|
||||||
|
(xy -0.747861 0.825340)
|
||||||
|
(xy -0.796584 0.839856)
|
||||||
|
(xy -0.832886 0.866990)
|
||||||
|
(xy -0.863523 0.901227)
|
||||||
|
(xy -0.966157 0.987013)
|
||||||
|
(xy -1.081305 1.026299)
|
||||||
|
(xy -1.199489 1.024329)
|
||||||
|
(xy -1.311230 0.986344)
|
||||||
|
(xy -1.407049 0.917588)
|
||||||
|
(xy -1.477469 0.823301)
|
||||||
|
(xy -1.513010 0.708727)
|
||||||
|
(xy -1.504195 0.579108)
|
||||||
|
(xy -1.496115 0.551355)
|
||||||
|
(xy -1.430437 0.430842)
|
||||||
|
(xy -1.332604 0.346956)
|
||||||
|
(xy -1.214767 0.302121)
|
||||||
|
(xy -1.089078 0.298758)
|
||||||
|
)
|
||||||
|
|
||||||
|
(stroke (width 0.000000) (type solid)) (fill solid) (layer "F.SilkS") (tstamp c7a58463-b108-42ba-9a88-3d34cf5c1bf4))
|
||||||
|
(fp_poly
|
||||||
|
(pts
|
||||||
|
(xy 1.259897 -0.668993)
|
||||||
|
(xy 1.331506 -0.635877)
|
||||||
|
(xy 1.392588 -0.584544)
|
||||||
|
(xy 1.477977 -0.470504)
|
||||||
|
(xy 1.512294 -0.345050)
|
||||||
|
(xy 1.496646 -0.218291)
|
||||||
|
(xy 1.432143 -0.100335)
|
||||||
|
(xy 1.329326 -0.007428)
|
||||||
|
(xy 1.203830 0.045712)
|
||||||
|
(xy 1.074948 0.045922)
|
||||||
|
(xy 0.952682 -0.004896)
|
||||||
|
(xy 0.852152 -0.098214)
|
||||||
|
(xy 0.820579 -0.132945)
|
||||||
|
(xy 0.783631 -0.154070)
|
||||||
|
(xy 0.727320 -0.164935)
|
||||||
|
(xy 0.637658 -0.168887)
|
||||||
|
(xy 0.554901 -0.169333)
|
||||||
|
(xy 0.432714 -0.167543)
|
||||||
|
(xy 0.351560 -0.160029)
|
||||||
|
(xy 0.296086 -0.143577)
|
||||||
|
(xy 0.250935 -0.114973)
|
||||||
|
(xy 0.235987 -0.102580)
|
||||||
|
(xy 0.193251 -0.058852)
|
||||||
|
(xy 0.167831 -0.007829)
|
||||||
|
(xy 0.153713 0.068037)
|
||||||
|
(xy 0.146508 0.158475)
|
||||||
|
(xy 0.136575 0.261590)
|
||||||
|
(xy 0.122012 0.344227)
|
||||||
|
(xy 0.106195 0.388056)
|
||||||
|
(xy 0.053084 0.416405)
|
||||||
|
(xy -0.022119 0.421180)
|
||||||
|
(xy -0.090132 0.402187)
|
||||||
|
(xy -0.107244 0.389467)
|
||||||
|
(xy -0.125577 0.341817)
|
||||||
|
(xy -0.137288 0.247941)
|
||||||
|
(xy -0.141111 0.126881)
|
||||||
|
(xy -0.138820 0.005686)
|
||||||
|
(xy -0.128982 -0.078734)
|
||||||
|
(xy -0.107152 -0.145963)
|
||||||
|
(xy -0.068884 -0.215585)
|
||||||
|
(xy -0.060251 -0.229342)
|
||||||
|
(xy 0.010405 -0.322439)
|
||||||
|
(xy 0.092776 -0.388945)
|
||||||
|
(xy 0.197752 -0.433387)
|
||||||
|
(xy 0.336224 -0.460291)
|
||||||
|
(xy 0.519082 -0.474183)
|
||||||
|
(xy 0.529901 -0.474630)
|
||||||
|
(xy 0.664168 -0.481360)
|
||||||
|
(xy 0.752841 -0.490158)
|
||||||
|
(xy 0.806771 -0.503223)
|
||||||
|
(xy 0.836810 -0.522755)
|
||||||
|
(xy 0.848238 -0.539158)
|
||||||
|
(xy 0.913290 -0.606885)
|
||||||
|
(xy 1.017232 -0.655085)
|
||||||
|
(xy 1.143924 -0.676781)
|
||||||
|
(xy 1.167811 -0.677333)
|
||||||
|
)
|
||||||
|
|
||||||
|
(stroke (width 0.000000) (type solid)) (fill solid) (layer "F.SilkS") (tstamp 776a8a2f-41bb-4cbc-b0be-6c9ea146df53))
|
||||||
|
(fp_poly
|
||||||
|
(pts
|
||||||
|
(xy -1.047610 -1.647727)
|
||||||
|
(xy -0.985222 -1.631585)
|
||||||
|
(xy -0.932496 -1.593092)
|
||||||
|
(xy -0.888788 -1.547716)
|
||||||
|
(xy -0.794134 -1.444431)
|
||||||
|
(xy -0.484261 -1.434827)
|
||||||
|
(xy -0.346803 -1.429766)
|
||||||
|
(xy -0.252227 -1.422635)
|
||||||
|
(xy -0.186982 -1.410313)
|
||||||
|
(xy -0.137515 -1.389682)
|
||||||
|
(xy -0.090274 -1.357620)
|
||||||
|
(xy -0.066027 -1.338549)
|
||||||
|
(xy 0.033764 -1.242941)
|
||||||
|
(xy 0.097440 -1.138070)
|
||||||
|
(xy 0.131157 -1.009158)
|
||||||
|
(xy 0.141067 -0.841425)
|
||||||
|
(xy 0.141067 -0.841211)
|
||||||
|
(xy 0.139279 -0.728284)
|
||||||
|
(xy 0.131564 -0.657425)
|
||||||
|
(xy 0.114486 -0.614314)
|
||||||
|
(xy 0.084604 -0.584629)
|
||||||
|
(xy 0.078387 -0.580156)
|
||||||
|
(xy 0.022452 -0.544875)
|
||||||
|
(xy -0.016495 -0.542386)
|
||||||
|
(xy -0.067105 -0.572268)
|
||||||
|
(xy -0.075165 -0.577899)
|
||||||
|
(xy -0.108691 -0.611754)
|
||||||
|
(xy -0.129324 -0.665081)
|
||||||
|
(xy -0.141424 -0.752568)
|
||||||
|
(xy -0.145750 -0.815715)
|
||||||
|
(xy -0.156903 -0.942594)
|
||||||
|
(xy -0.179676 -1.029777)
|
||||||
|
(xy -0.223331 -1.084628)
|
||||||
|
(xy -0.297130 -1.114510)
|
||||||
|
(xy -0.410334 -1.126790)
|
||||||
|
(xy -0.539603 -1.128889)
|
||||||
|
(xy -0.668608 -1.127757)
|
||||||
|
(xy -0.752679 -1.122959)
|
||||||
|
(xy -0.803307 -1.112394)
|
||||||
|
(xy -0.831980 -1.093959)
|
||||||
|
(xy -0.846510 -1.072737)
|
||||||
|
(xy -0.911784 -1.003554)
|
||||||
|
(xy -1.013926 -0.953673)
|
||||||
|
(xy -1.134380 -0.931694)
|
||||||
|
(xy -1.151536 -0.931333)
|
||||||
|
(xy -1.285728 -0.957746)
|
||||||
|
(xy -1.399504 -1.030666)
|
||||||
|
(xy -1.479522 -1.140613)
|
||||||
|
(xy -1.493099 -1.173949)
|
||||||
|
(xy -1.517829 -1.293905)
|
||||||
|
(xy -1.498193 -1.400965)
|
||||||
|
(xy -1.430574 -1.509344)
|
||||||
|
(xy -1.398285 -1.546545)
|
||||||
|
(xy -1.337923 -1.606991)
|
||||||
|
(xy -1.284711 -1.638144)
|
||||||
|
(xy -1.215233 -1.649587)
|
||||||
|
(xy -1.143000 -1.651000)
|
||||||
|
)
|
||||||
|
|
||||||
|
(stroke (width 0.000000) (type solid)) (fill solid) (layer "F.SilkS") (tstamp 01ac52df-a17a-4784-9efb-a7bd9808d656))
|
||||||
|
)
|
144
EDA/Panels/Front/ADB_4mm.pretty/Untitled.kicad_mod
Normal file
144
EDA/Panels/Front/ADB_4mm.pretty/Untitled.kicad_mod
Normal file
|
@ -0,0 +1,144 @@
|
||||||
|
(footprint "LOGO" (version 20221018) (generator bitmap2component)
|
||||||
|
(layer "F.Cu")
|
||||||
|
(attr board_only exclude_from_pos_files exclude_from_bom)
|
||||||
|
(fp_text reference "G***" (at 0 0) (layer "F.SilkS")
|
||||||
|
(effects (font (size 1.5 1.5) (thickness 0.3)))
|
||||||
|
(tstamp 7a502b98-1547-4eee-b558-16b64e9d1e25)
|
||||||
|
)
|
||||||
|
(fp_text value "LOGO" (at 0.75 0) (layer "F.SilkS") hide
|
||||||
|
(effects (font (size 1.5 1.5) (thickness 0.3)))
|
||||||
|
(tstamp fbe39f27-c970-4b01-b8f6-1e2925fe7bc3)
|
||||||
|
)
|
||||||
|
(fp_poly
|
||||||
|
(pts
|
||||||
|
(xy 0.089038 -0.896103)
|
||||||
|
(xy 0.268073 -0.863017)
|
||||||
|
(xy 0.413247 -0.790463)
|
||||||
|
(xy 0.525487 -0.676820)
|
||||||
|
(xy 0.605721 -0.520470)
|
||||||
|
(xy 0.654872 -0.319792)
|
||||||
|
(xy 0.673869 -0.073167)
|
||||||
|
(xy 0.670114 0.120058)
|
||||||
|
(xy 0.650135 0.342081)
|
||||||
|
(xy 0.612932 0.516754)
|
||||||
|
(xy 0.555002 0.651480)
|
||||||
|
(xy 0.472837 0.753660)
|
||||||
|
(xy 0.362934 0.830697)
|
||||||
|
(xy 0.324555 0.849770)
|
||||||
|
(xy 0.204989 0.884808)
|
||||||
|
(xy 0.055656 0.900154)
|
||||||
|
(xy -0.100141 0.895335)
|
||||||
|
(xy -0.239099 0.869884)
|
||||||
|
(xy -0.264590 0.861649)
|
||||||
|
(xy -0.406259 0.782930)
|
||||||
|
(xy -0.524757 0.661680)
|
||||||
|
(xy -0.607836 0.510746)
|
||||||
|
(xy -0.613201 0.496021)
|
||||||
|
(xy -0.636589 0.411856)
|
||||||
|
(xy -0.643755 0.364231)
|
||||||
|
(xy -0.372946 0.364231)
|
||||||
|
(xy -0.360659 0.388025)
|
||||||
|
(xy -0.352953 0.394965)
|
||||||
|
(xy -0.322084 0.410909)
|
||||||
|
(xy -0.286258 0.400569)
|
||||||
|
(xy -0.232872 0.357834)
|
||||||
|
(xy -0.188096 0.315009)
|
||||||
|
(xy -0.121037 0.252266)
|
||||||
|
(xy -0.069502 0.209650)
|
||||||
|
(xy -0.048321 0.197555)
|
||||||
|
(xy -0.039970 0.223805)
|
||||||
|
(xy -0.033315 0.294678)
|
||||||
|
(xy -0.029179 0.398361)
|
||||||
|
(xy -0.028223 0.486127)
|
||||||
|
(xy -0.028223 0.774698)
|
||||||
|
(xy 0.183444 0.564444)
|
||||||
|
(xy 0.270656 0.475308)
|
||||||
|
(xy 0.340409 0.399248)
|
||||||
|
(xy 0.384273 0.345753)
|
||||||
|
(xy 0.395111 0.326149)
|
||||||
|
(xy 0.376563 0.293452)
|
||||||
|
(xy 0.327799 0.234001)
|
||||||
|
(xy 0.259140 0.160320)
|
||||||
|
(xy 0.254997 0.156109)
|
||||||
|
(xy 0.114883 0.014111)
|
||||||
|
(xy 0.252494 -0.142649)
|
||||||
|
(xy 0.390105 -0.299408)
|
||||||
|
(xy 0.182248 -0.523649)
|
||||||
|
(xy -0.025609 -0.747889)
|
||||||
|
(xy -0.026916 -0.458611)
|
||||||
|
(xy -0.029282 -0.338540)
|
||||||
|
(xy -0.034640 -0.242813)
|
||||||
|
(xy -0.042117 -0.183229)
|
||||||
|
(xy -0.048321 -0.169334)
|
||||||
|
(xy -0.077689 -0.187619)
|
||||||
|
(xy -0.133288 -0.235029)
|
||||||
|
(xy -0.188096 -0.286787)
|
||||||
|
(xy -0.257730 -0.351476)
|
||||||
|
(xy -0.302379 -0.380167)
|
||||||
|
(xy -0.334645 -0.378972)
|
||||||
|
(xy -0.352953 -0.366744)
|
||||||
|
(xy -0.371526 -0.343750)
|
||||||
|
(xy -0.367478 -0.314695)
|
||||||
|
(xy -0.335198 -0.269724)
|
||||||
|
(xy -0.269073 -0.198982)
|
||||||
|
(xy -0.241401 -0.170861)
|
||||||
|
(xy -0.167556 -0.093081)
|
||||||
|
(xy -0.112431 -0.029007)
|
||||||
|
(xy -0.085755 0.009880)
|
||||||
|
(xy -0.084667 0.014111)
|
||||||
|
(xy -0.103274 0.045440)
|
||||||
|
(xy -0.152610 0.104646)
|
||||||
|
(xy -0.222943 0.180246)
|
||||||
|
(xy -0.241401 0.199082)
|
||||||
|
(xy -0.318929 0.279614)
|
||||||
|
(xy -0.360907 0.331379)
|
||||||
|
(xy -0.372946 0.364231)
|
||||||
|
(xy -0.643755 0.364231)
|
||||||
|
(xy -0.651831 0.310560)
|
||||||
|
(xy -0.660156 0.179504)
|
||||||
|
(xy -0.662791 0.006062)
|
||||||
|
(xy -0.662789 -0.014111)
|
||||||
|
(xy -0.661490 -0.171597)
|
||||||
|
(xy -0.656854 -0.286168)
|
||||||
|
(xy -0.647125 -0.371333)
|
||||||
|
(xy -0.630543 -0.440600)
|
||||||
|
(xy -0.605350 -0.507478)
|
||||||
|
(xy -0.595725 -0.529372)
|
||||||
|
(xy -0.500697 -0.689135)
|
||||||
|
(xy -0.378025 -0.802697)
|
||||||
|
(xy -0.224107 -0.871987)
|
||||||
|
(xy -0.035341 -0.898935)
|
||||||
|
)
|
||||||
|
|
||||||
|
(stroke (width 0.000000) (type solid)) (fill solid) (layer "F.SilkS") (tstamp 4334ed97-a708-4f13-92de-630863ad37c0))
|
||||||
|
(fp_poly
|
||||||
|
(pts
|
||||||
|
(xy 0.155222 0.225777)
|
||||||
|
(xy 0.203229 0.279613)
|
||||||
|
(xy 0.225572 0.321881)
|
||||||
|
(xy 0.225777 0.324555)
|
||||||
|
(xy 0.206811 0.364483)
|
||||||
|
(xy 0.160609 0.418178)
|
||||||
|
(xy 0.155222 0.423333)
|
||||||
|
(xy 0.084666 0.489616)
|
||||||
|
(xy 0.084666 0.324555)
|
||||||
|
(xy 0.084666 0.159494)
|
||||||
|
)
|
||||||
|
|
||||||
|
(stroke (width 0.000000) (type solid)) (fill solid) (layer "F.SilkS") (tstamp 29f36ae6-04c7-437b-b68f-e92a1bcc071c))
|
||||||
|
(fp_poly
|
||||||
|
(pts
|
||||||
|
(xy 0.155222 -0.395111)
|
||||||
|
(xy 0.211843 -0.329289)
|
||||||
|
(xy 0.219724 -0.275950)
|
||||||
|
(xy 0.180282 -0.221693)
|
||||||
|
(xy 0.174166 -0.216041)
|
||||||
|
(xy 0.126554 -0.179063)
|
||||||
|
(xy 0.099454 -0.180294)
|
||||||
|
(xy 0.087337 -0.225869)
|
||||||
|
(xy 0.084666 -0.315364)
|
||||||
|
(xy 0.084666 -0.461395)
|
||||||
|
)
|
||||||
|
|
||||||
|
(stroke (width 0.000000) (type solid)) (fill solid) (layer "F.SilkS") (tstamp 29155b15-cb43-451f-bd37-a9b5e52b2a57))
|
||||||
|
)
|
3715
EDA/Panels/Front/quack_FP.kicad_pcb
Normal file
3715
EDA/Panels/Front/quack_FP.kicad_pcb
Normal file
File diff suppressed because it is too large
Load Diff
Binary file not shown.
92
main/adb.c
92
main/adb.c
|
@ -59,6 +59,7 @@ static void adb_rx_setup(void);
|
||||||
static void adb_tx_as(void);
|
static void adb_tx_as(void);
|
||||||
static void adb_tx_one(void);
|
static void adb_tx_one(void);
|
||||||
static void adb_tx_setup(void);
|
static void adb_tx_setup(void);
|
||||||
|
static void adb_tx_stop(void);
|
||||||
static void adb_tx_zero(void);
|
static void adb_tx_zero(void);
|
||||||
|
|
||||||
/* functions */
|
/* functions */
|
||||||
|
@ -127,7 +128,7 @@ inline bool adb_is_host(void) {
|
||||||
void adb_probe(void) {
|
void adb_probe(void) {
|
||||||
uint16_t register3;
|
uint16_t register3;
|
||||||
|
|
||||||
ESP_LOGI(TAG, "Probing for mouse...");
|
ESP_LOGI(TAG, "Probing for mouse…");
|
||||||
xTaskNotify(t_yellow, LED_SLOW, eSetValueWithOverwrite);
|
xTaskNotify(t_yellow, LED_SLOW, eSetValueWithOverwrite);
|
||||||
|
|
||||||
/* for some reason, RMT misses the first exchange sometimes. Flush the device should give it time */
|
/* for some reason, RMT misses the first exchange sometimes. Flush the device should give it time */
|
||||||
|
@ -136,17 +137,52 @@ void adb_probe(void) {
|
||||||
vTaskDelay(12 / portTICK_PERIOD_MS);
|
vTaskDelay(12 / portTICK_PERIOD_MS);
|
||||||
|
|
||||||
while (true) {
|
while (true) {
|
||||||
|
|
||||||
adb_tx_cmd(ADB_MOUSE|ADB_TALK|ADB_REG3);
|
adb_tx_cmd(ADB_MOUSE|ADB_TALK|ADB_REG3);
|
||||||
register3 = adb_rx_mouse();
|
register3 = adb_rx_mouse();
|
||||||
ESP_LOGD("ADB", "Device $3 register3: %x", register3);
|
ESP_LOGD("ADB", "Device $3 register3: %04x", register3);
|
||||||
|
|
||||||
if (register3 && (register3 & ADB_H_ALL) == ADB_H_ERR)
|
if (register3 && (register3 & ADB_H_ALL) == ADB_H_ERR)
|
||||||
ESP_LOGE(TAG, "Mouse failed self init test");
|
ESP_LOGE(TAG, "Mouse failed self init test");
|
||||||
|
|
||||||
|
/*
|
||||||
|
* try to unglue composite devices (Kensington)
|
||||||
|
* the idea is to move detected devices to $9, and check $3 again
|
||||||
|
* if there is something again at $3, it may be a composite device, or the user
|
||||||
|
* plugged two devices.
|
||||||
|
* if there is nothing anymore, move back $9 to $3
|
||||||
|
*
|
||||||
|
* we will handle that further down the line by checking the handler
|
||||||
|
*/
|
||||||
|
if (register3 & ADB_H_ALL) {
|
||||||
|
ESP_LOGI(TAG, "\tMoving $3 to $9 to check for composite devices");
|
||||||
|
adb_tx_listen(ADB_MOUSE|ADB_LISTEN|ADB_REG3, (ADB_TMP<<4)|ADB_H_MOVE);
|
||||||
|
vTaskDelay(7 / portTICK_PERIOD_MS);
|
||||||
|
ESP_LOGI(TAG, "\tChecking $3 again…");
|
||||||
|
adb_tx_cmd(ADB_MOUSE|ADB_TALK|ADB_REG3);
|
||||||
|
register3 = adb_rx_mouse();
|
||||||
|
if (register3) {
|
||||||
|
adb_tx_cmd(ADB_TMP|ADB_TALK|ADB_REG3);
|
||||||
|
register3 = adb_rx_mouse();
|
||||||
|
ESP_LOGI(TAG, "\t… something was there, $9 handler: $%02x", register3 & ADB_H_ALL);
|
||||||
|
xTaskNotify(t_red, LED_ONCE, eSetValueWithOverwrite);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
ESP_LOGI(TAG, "\t… nothing, moving $9 back to $3");
|
||||||
|
adb_tx_listen(ADB_TMP|ADB_LISTEN|ADB_REG3, (ADB_MOUSE<<4)|ADB_H_MOVE);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* restore register3 from $3 for handler detection */
|
||||||
|
vTaskDelay(7 / portTICK_PERIOD_MS);
|
||||||
|
adb_tx_cmd(ADB_MOUSE|ADB_TALK|ADB_REG3);
|
||||||
|
register3 = adb_rx_mouse();
|
||||||
|
}
|
||||||
|
|
||||||
/* Accept all known handlers */
|
/* Accept all known handlers */
|
||||||
if (((register3 & ADB_H_ALL) == ADB_H_C100) || ((register3 & ADB_H_ALL) == ADB_H_C200) ||
|
if (((register3 & ADB_H_ALL) == ADB_H_C100) || ((register3 & ADB_H_ALL) == ADB_H_C200) ||
|
||||||
((register3 & ADB_H_ALL) == ADB_H_MTRC)) {
|
((register3 & ADB_H_ALL) == ADB_H_MTRC) || ((register3 & ADB_H_ALL) == ADB_H_KSGT)) {
|
||||||
ESP_LOGI(TAG, "... detected mouse at $3");
|
ESP_LOGI(TAG, "… detected mouse at $3");
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -172,6 +208,13 @@ void adb_probe(void) {
|
||||||
case ADB_H_MTRC:
|
case ADB_H_MTRC:
|
||||||
ESP_LOGD(TAG, "MacTRAC running at default cpi");
|
ESP_LOGD(TAG, "MacTRAC running at default cpi");
|
||||||
break;
|
break;
|
||||||
|
case ADB_H_KSGT:
|
||||||
|
ESP_LOGD(TAG, "Kensington detected, switching to standard device");
|
||||||
|
adb_tx_listen(ADB_MOUSE|ADB_LISTEN|ADB_REG3, (ADB_KML1<<4)|ADB_H_MOVE);
|
||||||
|
adb_tx_listen(ADB_TMP|ADB_LISTEN|ADB_REG3, (ADB_MOUSE<<4)|ADB_H_MOVE);
|
||||||
|
adb_tx_listen(ADB_MOUSE|ADB_LISTEN|ADB_REG3, 0x6000|(ADB_MOUSE<<4)|ADB_H_C200);
|
||||||
|
ESP_LOGD(TAG, "Kensington running at 200cpi");
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
ESP_LOGE(TAG, "Mouse running with unknow handler: %x", register3 & ADB_H_ALL);
|
ESP_LOGE(TAG, "Mouse running with unknow handler: %x", register3 & ADB_H_ALL);
|
||||||
}
|
}
|
||||||
|
@ -198,13 +241,16 @@ static void adb_rmt_reset() {
|
||||||
void adb_task_host(void *pvParameters) {
|
void adb_task_host(void *pvParameters) {
|
||||||
/* Classic Apple Mouse Protocol is 16 bits long */
|
/* Classic Apple Mouse Protocol is 16 bits long */
|
||||||
uint16_t data;
|
uint16_t data;
|
||||||
uint8_t last = 0;
|
uint8_t last = 0;
|
||||||
int8_t move = 0;
|
int8_t move = 0;
|
||||||
uint8_t state = ADB_S_PROBE;
|
uint8_t state = ADB_S_PROBE;
|
||||||
|
|
||||||
|
/* wait a little for the LED tasks to start on the other core */
|
||||||
|
vTaskDelay(200 / portTICK_PERIOD_MS);
|
||||||
|
|
||||||
/* put green led to steady if BT is disabled. Otherwise BT init will do it */
|
/* put green led to steady if BT is disabled. Otherwise BT init will do it */
|
||||||
if (gpio_get_level(GPIO_BTOFF) == 0)
|
if (gpio_get_level(GPIO_BTOFF) == 0)
|
||||||
xTaskNotify(t_green, LED_ON, eSetValueWithOverwrite);
|
xTaskNotify(t_green, LED_ON, eSetValueWithOverwrite);
|
||||||
ESP_LOGI(TAG, "host started on core %d", xPortGetCoreID());
|
ESP_LOGI(TAG, "host started on core %d", xPortGetCoreID());
|
||||||
|
|
||||||
/* poll the mouse like a maniac. It will answer only if there is user input */
|
/* poll the mouse like a maniac. It will answer only if there is user input */
|
||||||
|
@ -268,7 +314,7 @@ void adb_task_host(void *pvParameters) {
|
||||||
else
|
else
|
||||||
state = ADB_S_KEEP;
|
state = ADB_S_KEEP;
|
||||||
}
|
}
|
||||||
ESP_LOGD("ADB", "Check mouse presence %x", data);
|
ESP_LOGD("ADB", "Check mouse presence %04x", data);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -401,11 +447,15 @@ static inline void adb_rx_setup() {
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void adb_tx_as() {
|
static inline void adb_tx_as() {
|
||||||
/* send attention (800 µs low) + sync (70 µs high) */
|
/*
|
||||||
|
* send attention (800 µs low) + sync (65 µs high).
|
||||||
|
* AN591 mentions 70 µs which is a mistake, make some devices angry
|
||||||
|
*/
|
||||||
|
|
||||||
gpio_set_level(GPIO_ADB, 0);
|
gpio_set_level(GPIO_ADB, 0);
|
||||||
esp_rom_delay_us(800-1);
|
esp_rom_delay_us(800-1);
|
||||||
gpio_set_level(GPIO_ADB, 1);
|
gpio_set_level(GPIO_ADB, 1);
|
||||||
esp_rom_delay_us(70-1);
|
esp_rom_delay_us(65-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
void IRAM_ATTR adb_tx_cmd(unsigned char cmd) {
|
void IRAM_ATTR adb_tx_cmd(unsigned char cmd) {
|
||||||
|
@ -423,13 +473,12 @@ void IRAM_ATTR adb_tx_cmd(unsigned char cmd) {
|
||||||
cmd & 0x01 ? adb_tx_one() : adb_tx_zero();
|
cmd & 0x01 ? adb_tx_one() : adb_tx_zero();
|
||||||
|
|
||||||
/* stop bit */
|
/* stop bit */
|
||||||
adb_tx_zero();
|
adb_tx_stop();
|
||||||
adb_rx_setup();
|
adb_rx_setup();
|
||||||
}
|
}
|
||||||
|
|
||||||
void IRAM_ATTR adb_tx_data(uint16_t data) {
|
void IRAM_ATTR adb_tx_data(uint16_t data) {
|
||||||
adb_tx_setup();
|
adb_tx_setup();
|
||||||
|
|
||||||
adb_tx_one();
|
adb_tx_one();
|
||||||
|
|
||||||
/* send data 2 bytes (unrolled loop) */
|
/* send data 2 bytes (unrolled loop) */
|
||||||
|
@ -451,20 +500,23 @@ void IRAM_ATTR adb_tx_data(uint16_t data) {
|
||||||
data & 0x01 ? adb_tx_one() : adb_tx_zero();
|
data & 0x01 ? adb_tx_one() : adb_tx_zero();
|
||||||
|
|
||||||
/* stop bit */
|
/* stop bit */
|
||||||
adb_tx_zero();
|
adb_tx_stop();
|
||||||
adb_rx_setup();
|
adb_rx_setup();
|
||||||
}
|
}
|
||||||
|
|
||||||
void adb_tx_listen(unsigned char cmd, uint16_t data) {
|
void adb_tx_listen(unsigned char cmd, uint16_t data) {
|
||||||
adb_tx_cmd(cmd);
|
adb_tx_cmd(cmd);
|
||||||
|
|
||||||
/* Stop to start is between 160-240µS. Go for around 160 + time for GPIO setup */
|
/*
|
||||||
|
* Stop to start is between 160-240µS. Go for around 160 + time for GPIO setup
|
||||||
|
* values from AN591 Datasheet minus the estimated call to esp_rom_delay_us
|
||||||
|
*/
|
||||||
|
|
||||||
esp_rom_delay_us(160);
|
esp_rom_delay_us(160);
|
||||||
adb_tx_data(data);
|
adb_tx_data(data);
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void adb_tx_one() {
|
static inline void adb_tx_one() {
|
||||||
/* values from AN591 Datasheet minus the estimated call to esp_rom_delay_us */
|
|
||||||
gpio_set_level(GPIO_ADB, 0);
|
gpio_set_level(GPIO_ADB, 0);
|
||||||
esp_rom_delay_us(ADB_1_LOW - 1);
|
esp_rom_delay_us(ADB_1_LOW - 1);
|
||||||
gpio_set_level(GPIO_ADB, 1);
|
gpio_set_level(GPIO_ADB, 1);
|
||||||
|
@ -489,8 +541,14 @@ static inline void adb_tx_setup() {
|
||||||
gpio_set_level(GPIO_DIR, 1);
|
gpio_set_level(GPIO_DIR, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static inline void adb_tx_stop() {
|
||||||
|
gpio_set_level(GPIO_ADB, 0);
|
||||||
|
esp_rom_delay_us(ADB_S_LOW - 1);
|
||||||
|
gpio_set_level(GPIO_ADB, 1);
|
||||||
|
esp_rom_delay_us(ADB_S_HIGH - 1);
|
||||||
|
}
|
||||||
|
|
||||||
static inline void adb_tx_zero() {
|
static inline void adb_tx_zero() {
|
||||||
/* values from AN591 Datasheet minus the estimated call to esp_rom_delay_us */
|
|
||||||
gpio_set_level(GPIO_ADB, 0);
|
gpio_set_level(GPIO_ADB, 0);
|
||||||
esp_rom_delay_us(ADB_0_LOW - 1);
|
esp_rom_delay_us(ADB_0_LOW - 1);
|
||||||
gpio_set_level(GPIO_ADB, 1);
|
gpio_set_level(GPIO_ADB, 1);
|
||||||
|
|
|
@ -43,6 +43,8 @@ void adb_tx_reset(void);
|
||||||
#define ADB_0_HIGH 35
|
#define ADB_0_HIGH 35
|
||||||
#define ADB_1_LOW 35
|
#define ADB_1_LOW 35
|
||||||
#define ADB_1_HIGH 65
|
#define ADB_1_HIGH 65
|
||||||
|
#define ADB_S_LOW 70
|
||||||
|
#define ADB_S_HIGH 30
|
||||||
|
|
||||||
/* Classic Apple Mouse Protocol bitmasks */
|
/* Classic Apple Mouse Protocol bitmasks */
|
||||||
#define ADB_CMP_B1 (1<<15)
|
#define ADB_CMP_B1 (1<<15)
|
||||||
|
@ -58,8 +60,9 @@ void adb_tx_reset(void);
|
||||||
#define ADB_REG3 0x3
|
#define ADB_REG3 0x3
|
||||||
|
|
||||||
/* Device addresses */
|
/* Device addresses */
|
||||||
#define ADB_MOUSE (3<<4)
|
#define ADB_MOUSE (3<<4) // main device
|
||||||
#define ADB_TMP (9<<4)
|
#define ADB_KML1 (8<<4) // disabled Kensington device
|
||||||
|
#define ADB_TMP (9<<4) // temporary device
|
||||||
|
|
||||||
/* Various stuff */
|
/* Various stuff */
|
||||||
#define ADB_B_UP 0
|
#define ADB_B_UP 0
|
||||||
|
@ -70,6 +73,7 @@ void adb_tx_reset(void);
|
||||||
#define ADB_H_C100 0x01 // Handler 1 (Classic @ 100cpi)
|
#define ADB_H_C100 0x01 // Handler 1 (Classic @ 100cpi)
|
||||||
#define ADB_H_C200 0x02 // Handler 2 (Classic @ 200cpi)
|
#define ADB_H_C200 0x02 // Handler 2 (Classic @ 200cpi)
|
||||||
#define ADB_H_MTRC 0x2f // Handler for MacTRAC 2.0
|
#define ADB_H_MTRC 0x2f // Handler for MacTRAC 2.0
|
||||||
|
#define ADB_H_KSGT 0x32 // Handler for Kensington devices
|
||||||
#define ADB_H_MOVE 0xfe // Move to another address
|
#define ADB_H_MOVE 0xfe // Move to another address
|
||||||
|
|
||||||
/* Host states */
|
/* Host states */
|
||||||
|
|
34
main/blue.c
34
main/blue.c
|
@ -34,9 +34,11 @@
|
||||||
#include "nvs_flash.h"
|
#include "nvs_flash.h"
|
||||||
#include "esp_bt.h"
|
#include "esp_bt.h"
|
||||||
#include "esp_bt_defs.h"
|
#include "esp_bt_defs.h"
|
||||||
|
#if CONFIG_BT_BLE_ENABLED
|
||||||
#include "esp_gap_ble_api.h"
|
#include "esp_gap_ble_api.h"
|
||||||
#include "esp_gatts_api.h"
|
#include "esp_gatts_api.h"
|
||||||
#include "esp_gatt_defs.h"
|
#include "esp_gatt_defs.h"
|
||||||
|
#endif
|
||||||
#include "esp_bt_main.h"
|
#include "esp_bt_main.h"
|
||||||
#include "esp_bt_device.h"
|
#include "esp_bt_device.h"
|
||||||
#include "esp_timer.h"
|
#include "esp_timer.h"
|
||||||
|
@ -75,8 +77,8 @@ static esp_hid_raw_report_map_t *blue_hid_rm_get(esp_hidh_dev_t *dev);
|
||||||
void blue_set_boot_protocol(esp_hidh_dev_t *dev);
|
void blue_set_boot_protocol(esp_hidh_dev_t *dev);
|
||||||
static bool blue_support_boot(esp_hidh_dev_t *dev);
|
static bool blue_support_boot(esp_hidh_dev_t *dev);
|
||||||
|
|
||||||
/* direct calls to bluedroid */
|
/* direct calls to esp_hid_* */
|
||||||
extern void BTA_HhSetProtoMode(uint8_t handle, uint8_t t_type);
|
void bt_gap_event_handler(esp_bt_gap_cb_event_t event, esp_bt_gap_cb_param_t *param);
|
||||||
|
|
||||||
/* Device specific functions blue_d_* */
|
/* Device specific functions blue_d_* */
|
||||||
static void blue_d_callback(void *handler_args, esp_event_base_t base, int32_t id, void *event_data)
|
static void blue_d_callback(void *handler_args, esp_event_base_t base, int32_t id, void *event_data)
|
||||||
|
@ -133,22 +135,21 @@ static void blue_d_connect() {
|
||||||
static void blue_d_disconnect(esp_hidd_event_data_t *dev) {
|
static void blue_d_disconnect(esp_hidd_event_data_t *dev) {
|
||||||
ESP_LOGI(TAG, "Host disconnected, reason: %s",
|
ESP_LOGI(TAG, "Host disconnected, reason: %s",
|
||||||
esp_hid_disconnect_reason_str(esp_hidd_dev_transport_get(dev->disconnect.dev), dev->disconnect.reason));
|
esp_hid_disconnect_reason_str(esp_hidd_dev_transport_get(dev->disconnect.dev), dev->disconnect.reason));
|
||||||
|
#if CONFIG_BT_BLE_ENABLED
|
||||||
esp_hid_ble_gap_adv_start();
|
esp_hid_ble_gap_adv_start();
|
||||||
|
#endif
|
||||||
xTaskNotify(t_blue, LED_SLOW, eSetValueWithOverwrite);
|
xTaskNotify(t_blue, LED_SLOW, eSetValueWithOverwrite);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void blue_d_init() {
|
static void blue_d_init() {
|
||||||
esp_err_t ret;
|
esp_err_t ret;
|
||||||
|
|
||||||
ret = esp_hid_ble_gap_adv_init(ESP_HID_APPEARANCE_MOUSE, m4848_config.device_name);
|
if ((ret = esp_bt_gap_register_callback(bt_gap_event_handler)) != ESP_OK) {
|
||||||
ESP_ERROR_CHECK( ret );
|
ESP_LOGE(TAG, "BT GAP register callback failed: %d", ret);
|
||||||
|
|
||||||
if ((ret = esp_ble_gatts_register_callback(esp_hidd_gatts_event_handler)) != ESP_OK) {
|
|
||||||
ESP_LOGE(TAG, "GATTS register callback failed: %d", ret);
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
ESP_ERROR_CHECK(esp_hidd_dev_init(&m4848_config, ESP_HID_TRANSPORT_BLE, blue_d_callback, &hid_dev));
|
ESP_ERROR_CHECK(esp_hidd_dev_init(&m4848_config, ESP_HID_TRANSPORT_BT, blue_d_callback, &hid_dev));
|
||||||
xTaskCreate(blue_adb2hid, "ADB2BT", 2 * 1024, NULL, tskIDLE_PRIORITY + 1, &t_adb2hid);
|
xTaskCreate(blue_adb2hid, "ADB2BT", 2 * 1024, NULL, tskIDLE_PRIORITY + 1, &t_adb2hid);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -161,12 +162,16 @@ static void blue_d_start()
|
||||||
{
|
{
|
||||||
ESP_LOGD(TAG, "Bluetooth stack started");
|
ESP_LOGD(TAG, "Bluetooth stack started");
|
||||||
xTaskNotify(t_blue, LED_SLOW, eSetValueWithOverwrite);
|
xTaskNotify(t_blue, LED_SLOW, eSetValueWithOverwrite);
|
||||||
|
#if CONFIG_BT_BLE_ENABLED
|
||||||
esp_hid_ble_gap_adv_start();
|
esp_hid_ble_gap_adv_start();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Called by the ADB stack from adb_task_host on mouse activity
|
* Called by the ADB stack from adb_task_host on mouse activity
|
||||||
* Convert the 16bit ADB data to a 3 bytes HID INPUT REPORT matching the m4848
|
* Convert the 16bit ADB data to a 3 bytes HID INPUT REPORT matching the m4848
|
||||||
|
*
|
||||||
|
* The format is also BOOT compatible so don't bother to check what mode we are in
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void blue_adb2hid(void *pvParameters) {
|
void blue_adb2hid(void *pvParameters) {
|
||||||
|
@ -335,9 +340,7 @@ void blue_init(void)
|
||||||
|
|
||||||
ESP_LOGD(TAG, "Starting Bluetooth init on core %d", xPortGetCoreID());
|
ESP_LOGD(TAG, "Starting Bluetooth init on core %d", xPortGetCoreID());
|
||||||
ESP_ERROR_CHECK(ret);
|
ESP_ERROR_CHECK(ret);
|
||||||
/* ESP_BT_MODE_CLASSIC_BT doesn't work, it freezes esp_hidh_init */
|
ESP_ERROR_CHECK(esp_hid_gap_init(ESP_BT_MODE_CLASSIC_BT));
|
||||||
ESP_ERROR_CHECK(esp_hid_gap_init(ESP_BT_MODE_BTDM));
|
|
||||||
ESP_ERROR_CHECK(esp_ble_gattc_register_callback(esp_hidh_gattc_event_handler));
|
|
||||||
|
|
||||||
esp_log_level_set("event", ESP_LOG_INFO);
|
esp_log_level_set("event", ESP_LOG_INFO);
|
||||||
/* complains about wrong data len on BOOT mode and CCONTROL */
|
/* complains about wrong data len on BOOT mode and CCONTROL */
|
||||||
|
@ -555,12 +558,11 @@ void blue_scan(void *pvParameters) {
|
||||||
esp_hid_scan_result_t *r = results;
|
esp_hid_scan_result_t *r = results;
|
||||||
|
|
||||||
while (r) {
|
while (r) {
|
||||||
ESP_LOGI(TAG, "found %s %s device: " ESP_BD_ADDR_STR ", RSSI: %d, NAME: %s",
|
/*
|
||||||
(r->transport == ESP_HID_TRANSPORT_BLE) ? "BLE" : "BT",
|
* as of v1.4.5, esp_hid_gap will print detected devices in console (handle_bt_device_result())
|
||||||
esp_hid_cod_major_str(r->bt.cod.major),
|
* just look for something that looks like Bluetooth Classic mouse
|
||||||
ESP_BD_ADDR_HEX(r->bda), r->rssi, r->name ? r->name : "");
|
*/
|
||||||
|
|
||||||
/* search for something that looks like Bluetooth Classic mouse */
|
|
||||||
if (r->transport == ESP_HID_TRANSPORT_BT &&
|
if (r->transport == ESP_HID_TRANSPORT_BT &&
|
||||||
strcmp("PERIPHERAL", esp_hid_cod_major_str(r->bt.cod.major)) == 0
|
strcmp("PERIPHERAL", esp_hid_cod_major_str(r->bt.cod.major)) == 0
|
||||||
&& (r->bt.cod.minor & ESP_HID_COD_MIN_MOUSE)) {
|
&& (r->bt.cod.minor & ESP_HID_COD_MIN_MOUSE)) {
|
||||||
|
|
|
@ -381,14 +381,16 @@ static void handle_ble_device_result(struct ble_scan_result_evt_param *scan_rst)
|
||||||
}
|
}
|
||||||
#endif /* CONFIG_BT_BLE_ENABLED */
|
#endif /* CONFIG_BT_BLE_ENABLED */
|
||||||
|
|
||||||
|
#warning here1
|
||||||
#if CONFIG_BT_HID_HOST_ENABLED
|
#if CONFIG_BT_HID_HOST_ENABLED
|
||||||
/*
|
/*
|
||||||
* BT GAP
|
* BT GAP
|
||||||
* */
|
* */
|
||||||
|
|
||||||
static void bt_gap_event_handler(esp_bt_gap_cb_event_t event, esp_bt_gap_cb_param_t *param)
|
#warning here2
|
||||||
|
void bt_gap_event_handler(esp_bt_gap_cb_event_t event, esp_bt_gap_cb_param_t *param)
|
||||||
{
|
{
|
||||||
switch (event) {
|
switch (event) {
|
||||||
case ESP_BT_GAP_DISC_STATE_CHANGED_EVT: {
|
case ESP_BT_GAP_DISC_STATE_CHANGED_EVT: {
|
||||||
ESP_LOGV(TAG, "BT GAP DISC_STATE %s", (param->disc_st_chg.state == ESP_BT_GAP_DISCOVERY_STARTED) ? "START" : "STOP");
|
ESP_LOGV(TAG, "BT GAP DISC_STATE %s", (param->disc_st_chg.state == ESP_BT_GAP_DISCOVERY_STARTED) ? "START" : "STOP");
|
||||||
if (param->disc_st_chg.state == ESP_BT_GAP_DISCOVERY_STOPPED) {
|
if (param->disc_st_chg.state == ESP_BT_GAP_DISCOVERY_STOPPED) {
|
||||||
|
|
|
@ -1,31 +1,51 @@
|
||||||
// Copyright 2017-2019 Espressif Systems (Shanghai) PTE LTD
|
/*
|
||||||
//
|
* SPDX-FileCopyrightText: 2021-2023 Espressif Systems (Shanghai) CO LTD
|
||||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
*
|
||||||
// you may not use this file except in compliance with the License.
|
* SPDX-License-Identifier: Unlicense OR CC0-1.0
|
||||||
// You may obtain a copy of the License at
|
*/
|
||||||
|
|
||||||
// http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
//
|
|
||||||
// Unless required by applicable law or agreed to in writing, software
|
|
||||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
// See the License for the specific language governing permissions and
|
|
||||||
// limitations under the License.
|
|
||||||
|
|
||||||
#ifndef _ESP_HID_GAP_H_
|
#ifndef _ESP_HID_GAP_H_
|
||||||
#define _ESP_HID_GAP_H_
|
#define _ESP_HID_GAP_H_
|
||||||
|
|
||||||
|
#define HIDH_IDLE_MODE 0x00
|
||||||
|
#define HIDH_BLE_MODE 0x01
|
||||||
|
#define HIDH_BT_MODE 0x02
|
||||||
|
#define HIDH_BTDM_MODE 0x03
|
||||||
|
|
||||||
|
#if CONFIG_BT_HID_HOST_ENABLED
|
||||||
|
#if CONFIG_BT_BLE_ENABLED
|
||||||
|
#define HID_HOST_MODE HIDH_BTDM_MODE
|
||||||
|
#else
|
||||||
|
#define HID_HOST_MODE HIDH_BT_MODE
|
||||||
|
#endif
|
||||||
|
#elif CONFIG_BT_BLE_ENABLED
|
||||||
|
#define HID_HOST_MODE HIDH_BLE_MODE
|
||||||
|
#elif CONFIG_BT_NIMBLE_ENABLED
|
||||||
|
#define HID_HOST_MODE HIDH_BLE_MODE
|
||||||
|
#else
|
||||||
|
#define HID_HOST_MODE HIDH_IDLE_MODE
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "esp_err.h"
|
#include "esp_err.h"
|
||||||
#include "esp_log.h"
|
#include "esp_log.h"
|
||||||
|
|
||||||
#include "esp_bt.h"
|
#include "esp_bt.h"
|
||||||
|
#if !CONFIG_BT_NIMBLE_ENABLED
|
||||||
#include "esp_bt_defs.h"
|
#include "esp_bt_defs.h"
|
||||||
#include "esp_bt_main.h"
|
#include "esp_bt_main.h"
|
||||||
|
#include "esp_gap_bt_api.h"
|
||||||
|
#endif
|
||||||
|
#include "esp_hid_common.h"
|
||||||
|
#if CONFIG_BT_BLE_ENABLED
|
||||||
#include "esp_gattc_api.h"
|
#include "esp_gattc_api.h"
|
||||||
#include "esp_gatt_defs.h"
|
#include "esp_gatt_defs.h"
|
||||||
#include "esp_gap_ble_api.h"
|
#include "esp_gap_ble_api.h"
|
||||||
#include "esp_gap_bt_api.h"
|
#endif
|
||||||
#include "esp_hid_common.h"
|
|
||||||
|
#if CONFIG_BT_NIMBLE_ENABLED
|
||||||
|
#include "nimble/ble.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
@ -33,13 +53,18 @@ extern "C" {
|
||||||
|
|
||||||
typedef struct esp_hidh_scan_result_s {
|
typedef struct esp_hidh_scan_result_s {
|
||||||
struct esp_hidh_scan_result_s *next;
|
struct esp_hidh_scan_result_s *next;
|
||||||
|
#if CONFIG_BT_NIMBLE_ENABLED
|
||||||
|
uint8_t bda[6];
|
||||||
|
#else
|
||||||
|
esp_bd_addr_t bda;
|
||||||
|
#endif
|
||||||
|
|
||||||
esp_bd_addr_t bda;
|
|
||||||
const char *name;
|
const char *name;
|
||||||
int8_t rssi;
|
int8_t rssi;
|
||||||
esp_hid_usage_t usage;
|
esp_hid_usage_t usage;
|
||||||
esp_hid_transport_t transport; //BT, BLE or USB
|
esp_hid_transport_t transport; //BT, BLE or USB
|
||||||
union {
|
union {
|
||||||
|
#if !CONFIG_BT_NIMBLE_ENABLED
|
||||||
struct {
|
struct {
|
||||||
esp_bt_cod_t cod;
|
esp_bt_cod_t cod;
|
||||||
esp_bt_uuid_t uuid;
|
esp_bt_uuid_t uuid;
|
||||||
|
@ -48,6 +73,12 @@ typedef struct esp_hidh_scan_result_s {
|
||||||
esp_ble_addr_type_t addr_type;
|
esp_ble_addr_type_t addr_type;
|
||||||
uint16_t appearance;
|
uint16_t appearance;
|
||||||
} ble;
|
} ble;
|
||||||
|
#else
|
||||||
|
struct {
|
||||||
|
uint8_t addr_type;
|
||||||
|
uint16_t appearance;
|
||||||
|
} ble;
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
} esp_hid_scan_result_t;
|
} esp_hid_scan_result_t;
|
||||||
|
|
||||||
|
@ -58,8 +89,10 @@ void esp_hid_scan_results_free(esp_hid_scan_result_t *results);
|
||||||
esp_err_t esp_hid_ble_gap_adv_init(uint16_t appearance, const char *device_name);
|
esp_err_t esp_hid_ble_gap_adv_init(uint16_t appearance, const char *device_name);
|
||||||
esp_err_t esp_hid_ble_gap_adv_start(void);
|
esp_err_t esp_hid_ble_gap_adv_start(void);
|
||||||
|
|
||||||
|
#if !CONFIG_BT_NIMBLE_ENABLED
|
||||||
void print_uuid(esp_bt_uuid_t *uuid);
|
void print_uuid(esp_bt_uuid_t *uuid);
|
||||||
const char *ble_addr_type_str(esp_ble_addr_type_t ble_addr_type);
|
const char *ble_addr_type_str(esp_ble_addr_type_t ble_addr_type);
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
|
256
sdkconfig
256
sdkconfig
|
@ -1,6 +1,6 @@
|
||||||
#
|
#
|
||||||
# Automatically generated file. DO NOT EDIT.
|
# Automatically generated file. DO NOT EDIT.
|
||||||
# Espressif IoT Development Framework (ESP-IDF) 5.1.2 Project Configuration
|
# Espressif IoT Development Framework (ESP-IDF) 5.2.2 Project Configuration
|
||||||
#
|
#
|
||||||
CONFIG_SOC_BROWNOUT_RESET_SUPPORTED="Not determined"
|
CONFIG_SOC_BROWNOUT_RESET_SUPPORTED="Not determined"
|
||||||
CONFIG_SOC_TWAI_BRP_DIV_SUPPORTED="Not determined"
|
CONFIG_SOC_TWAI_BRP_DIV_SUPPORTED="Not determined"
|
||||||
|
@ -17,6 +17,7 @@ CONFIG_SOC_PCNT_SUPPORTED=y
|
||||||
CONFIG_SOC_WIFI_SUPPORTED=y
|
CONFIG_SOC_WIFI_SUPPORTED=y
|
||||||
CONFIG_SOC_SDIO_SLAVE_SUPPORTED=y
|
CONFIG_SOC_SDIO_SLAVE_SUPPORTED=y
|
||||||
CONFIG_SOC_TWAI_SUPPORTED=y
|
CONFIG_SOC_TWAI_SUPPORTED=y
|
||||||
|
CONFIG_SOC_EFUSE_SUPPORTED=y
|
||||||
CONFIG_SOC_EMAC_SUPPORTED=y
|
CONFIG_SOC_EMAC_SUPPORTED=y
|
||||||
CONFIG_SOC_ULP_SUPPORTED=y
|
CONFIG_SOC_ULP_SUPPORTED=y
|
||||||
CONFIG_SOC_CCOMP_TIMER_SUPPORTED=y
|
CONFIG_SOC_CCOMP_TIMER_SUPPORTED=y
|
||||||
|
@ -38,6 +39,10 @@ CONFIG_SOC_SECURE_BOOT_SUPPORTED=y
|
||||||
CONFIG_SOC_TOUCH_SENSOR_SUPPORTED=y
|
CONFIG_SOC_TOUCH_SENSOR_SUPPORTED=y
|
||||||
CONFIG_SOC_BOD_SUPPORTED=y
|
CONFIG_SOC_BOD_SUPPORTED=y
|
||||||
CONFIG_SOC_ULP_FSM_SUPPORTED=y
|
CONFIG_SOC_ULP_FSM_SUPPORTED=y
|
||||||
|
CONFIG_SOC_CLK_TREE_SUPPORTED=y
|
||||||
|
CONFIG_SOC_MPU_SUPPORTED=y
|
||||||
|
CONFIG_SOC_WDT_SUPPORTED=y
|
||||||
|
CONFIG_SOC_SPI_FLASH_SUPPORTED=y
|
||||||
CONFIG_SOC_DPORT_WORKAROUND_DIS_INTERRUPT_LVL=5
|
CONFIG_SOC_DPORT_WORKAROUND_DIS_INTERRUPT_LVL=5
|
||||||
CONFIG_SOC_XTAL_SUPPORT_26M=y
|
CONFIG_SOC_XTAL_SUPPORT_26M=y
|
||||||
CONFIG_SOC_XTAL_SUPPORT_40M=y
|
CONFIG_SOC_XTAL_SUPPORT_40M=y
|
||||||
|
@ -54,30 +59,37 @@ CONFIG_SOC_ADC_DIGI_MIN_BITWIDTH=9
|
||||||
CONFIG_SOC_ADC_DIGI_MAX_BITWIDTH=12
|
CONFIG_SOC_ADC_DIGI_MAX_BITWIDTH=12
|
||||||
CONFIG_SOC_ADC_DIGI_RESULT_BYTES=2
|
CONFIG_SOC_ADC_DIGI_RESULT_BYTES=2
|
||||||
CONFIG_SOC_ADC_DIGI_DATA_BYTES_PER_CONV=4
|
CONFIG_SOC_ADC_DIGI_DATA_BYTES_PER_CONV=4
|
||||||
|
CONFIG_SOC_ADC_DIGI_MONITOR_NUM=0
|
||||||
CONFIG_SOC_ADC_SAMPLE_FREQ_THRES_HIGH=2
|
CONFIG_SOC_ADC_SAMPLE_FREQ_THRES_HIGH=2
|
||||||
CONFIG_SOC_ADC_SAMPLE_FREQ_THRES_LOW=20
|
CONFIG_SOC_ADC_SAMPLE_FREQ_THRES_LOW=20
|
||||||
CONFIG_SOC_ADC_RTC_MIN_BITWIDTH=9
|
CONFIG_SOC_ADC_RTC_MIN_BITWIDTH=9
|
||||||
CONFIG_SOC_ADC_RTC_MAX_BITWIDTH=12
|
CONFIG_SOC_ADC_RTC_MAX_BITWIDTH=12
|
||||||
|
CONFIG_SOC_ADC_SHARED_POWER=y
|
||||||
CONFIG_SOC_SHARED_IDCACHE_SUPPORTED=y
|
CONFIG_SOC_SHARED_IDCACHE_SUPPORTED=y
|
||||||
CONFIG_SOC_IDCACHE_PER_CORE=y
|
CONFIG_SOC_IDCACHE_PER_CORE=y
|
||||||
CONFIG_SOC_CPU_CORES_NUM=2
|
CONFIG_SOC_CPU_CORES_NUM=2
|
||||||
CONFIG_SOC_CPU_INTR_NUM=32
|
CONFIG_SOC_CPU_INTR_NUM=32
|
||||||
CONFIG_SOC_CPU_HAS_FPU=y
|
CONFIG_SOC_CPU_HAS_FPU=y
|
||||||
|
CONFIG_SOC_HP_CPU_HAS_MULTIPLE_CORES=y
|
||||||
CONFIG_SOC_CPU_BREAKPOINTS_NUM=2
|
CONFIG_SOC_CPU_BREAKPOINTS_NUM=2
|
||||||
CONFIG_SOC_CPU_WATCHPOINTS_NUM=2
|
CONFIG_SOC_CPU_WATCHPOINTS_NUM=2
|
||||||
CONFIG_SOC_CPU_WATCHPOINT_SIZE=64
|
CONFIG_SOC_CPU_WATCHPOINT_MAX_REGION_SIZE=64
|
||||||
CONFIG_SOC_DAC_CHAN_NUM=2
|
CONFIG_SOC_DAC_CHAN_NUM=2
|
||||||
CONFIG_SOC_DAC_RESOLUTION=8
|
CONFIG_SOC_DAC_RESOLUTION=8
|
||||||
CONFIG_SOC_DAC_DMA_16BIT_ALIGN=y
|
CONFIG_SOC_DAC_DMA_16BIT_ALIGN=y
|
||||||
CONFIG_SOC_GPIO_PORT=1
|
CONFIG_SOC_GPIO_PORT=1
|
||||||
CONFIG_SOC_GPIO_PIN_COUNT=40
|
CONFIG_SOC_GPIO_PIN_COUNT=40
|
||||||
CONFIG_SOC_GPIO_VALID_GPIO_MASK=0xFFFFFFFFFF
|
CONFIG_SOC_GPIO_VALID_GPIO_MASK=0xFFFFFFFFFF
|
||||||
|
CONFIG_SOC_GPIO_IN_RANGE_MAX=39
|
||||||
|
CONFIG_SOC_GPIO_OUT_RANGE_MAX=33
|
||||||
CONFIG_SOC_GPIO_VALID_DIGITAL_IO_PAD_MASK=0xEF0FEA
|
CONFIG_SOC_GPIO_VALID_DIGITAL_IO_PAD_MASK=0xEF0FEA
|
||||||
|
CONFIG_SOC_GPIO_CLOCKOUT_BY_IO_MUX=y
|
||||||
CONFIG_SOC_I2C_NUM=2
|
CONFIG_SOC_I2C_NUM=2
|
||||||
CONFIG_SOC_I2C_FIFO_LEN=32
|
CONFIG_SOC_I2C_FIFO_LEN=32
|
||||||
CONFIG_SOC_I2C_CMD_REG_NUM=16
|
CONFIG_SOC_I2C_CMD_REG_NUM=16
|
||||||
CONFIG_SOC_I2C_SUPPORT_SLAVE=y
|
CONFIG_SOC_I2C_SUPPORT_SLAVE=y
|
||||||
CONFIG_SOC_I2C_SUPPORT_APB=y
|
CONFIG_SOC_I2C_SUPPORT_APB=y
|
||||||
|
CONFIG_SOC_I2C_STOP_INDEPENDENT=y
|
||||||
CONFIG_SOC_I2S_NUM=2
|
CONFIG_SOC_I2S_NUM=2
|
||||||
CONFIG_SOC_I2S_HW_VERSION_1=y
|
CONFIG_SOC_I2S_HW_VERSION_1=y
|
||||||
CONFIG_SOC_I2S_SUPPORTS_APLL=y
|
CONFIG_SOC_I2S_SUPPORTS_APLL=y
|
||||||
|
@ -160,6 +172,7 @@ CONFIG_SOC_TWAI_BRP_MIN=2
|
||||||
CONFIG_SOC_TWAI_CLK_SUPPORT_APB=y
|
CONFIG_SOC_TWAI_CLK_SUPPORT_APB=y
|
||||||
CONFIG_SOC_TWAI_SUPPORT_MULTI_ADDRESS_LAYOUT=y
|
CONFIG_SOC_TWAI_SUPPORT_MULTI_ADDRESS_LAYOUT=y
|
||||||
CONFIG_SOC_UART_NUM=3
|
CONFIG_SOC_UART_NUM=3
|
||||||
|
CONFIG_SOC_UART_HP_NUM=3
|
||||||
CONFIG_SOC_UART_SUPPORT_APB_CLK=y
|
CONFIG_SOC_UART_SUPPORT_APB_CLK=y
|
||||||
CONFIG_SOC_UART_SUPPORT_REF_TICK=y
|
CONFIG_SOC_UART_SUPPORT_REF_TICK=y
|
||||||
CONFIG_SOC_UART_FIFO_LEN=128
|
CONFIG_SOC_UART_FIFO_LEN=128
|
||||||
|
@ -167,10 +180,13 @@ CONFIG_SOC_UART_BITRATE_MAX=5000000
|
||||||
CONFIG_SOC_SPIRAM_SUPPORTED=y
|
CONFIG_SOC_SPIRAM_SUPPORTED=y
|
||||||
CONFIG_SOC_SPI_MEM_SUPPORT_CONFIG_GPIO_BY_EFUSE=y
|
CONFIG_SOC_SPI_MEM_SUPPORT_CONFIG_GPIO_BY_EFUSE=y
|
||||||
CONFIG_SOC_SHA_SUPPORT_PARALLEL_ENG=y
|
CONFIG_SOC_SHA_SUPPORT_PARALLEL_ENG=y
|
||||||
|
CONFIG_SOC_SHA_ENDIANNESS_BE=y
|
||||||
CONFIG_SOC_SHA_SUPPORT_SHA1=y
|
CONFIG_SOC_SHA_SUPPORT_SHA1=y
|
||||||
CONFIG_SOC_SHA_SUPPORT_SHA256=y
|
CONFIG_SOC_SHA_SUPPORT_SHA256=y
|
||||||
CONFIG_SOC_SHA_SUPPORT_SHA384=y
|
CONFIG_SOC_SHA_SUPPORT_SHA384=y
|
||||||
CONFIG_SOC_SHA_SUPPORT_SHA512=y
|
CONFIG_SOC_SHA_SUPPORT_SHA512=y
|
||||||
|
CONFIG_SOC_MPI_MEM_BLOCKS_NUM=4
|
||||||
|
CONFIG_SOC_MPI_OPERATIONS_NUM=y
|
||||||
CONFIG_SOC_RSA_MAX_BIT_LEN=4096
|
CONFIG_SOC_RSA_MAX_BIT_LEN=4096
|
||||||
CONFIG_SOC_AES_SUPPORT_AES_128=y
|
CONFIG_SOC_AES_SUPPORT_AES_128=y
|
||||||
CONFIG_SOC_AES_SUPPORT_AES_192=y
|
CONFIG_SOC_AES_SUPPORT_AES_192=y
|
||||||
|
@ -191,10 +207,6 @@ CONFIG_SOC_PM_SUPPORT_VDDSDIO_PD=y
|
||||||
CONFIG_SOC_PM_SUPPORT_MODEM_PD=y
|
CONFIG_SOC_PM_SUPPORT_MODEM_PD=y
|
||||||
CONFIG_SOC_CONFIGURABLE_VDDSDIO_SUPPORTED=y
|
CONFIG_SOC_CONFIGURABLE_VDDSDIO_SUPPORTED=y
|
||||||
CONFIG_SOC_CLK_APLL_SUPPORTED=y
|
CONFIG_SOC_CLK_APLL_SUPPORTED=y
|
||||||
CONFIG_SOC_APLL_MULTIPLIER_OUT_MIN_HZ=350000000
|
|
||||||
CONFIG_SOC_APLL_MULTIPLIER_OUT_MAX_HZ=500000000
|
|
||||||
CONFIG_SOC_APLL_MIN_HZ=5303031
|
|
||||||
CONFIG_SOC_APLL_MAX_HZ=125000000
|
|
||||||
CONFIG_SOC_CLK_RC_FAST_D256_SUPPORTED=y
|
CONFIG_SOC_CLK_RC_FAST_D256_SUPPORTED=y
|
||||||
CONFIG_SOC_RTC_SLOW_CLK_SUPPORT_RC_FAST_D256=y
|
CONFIG_SOC_RTC_SLOW_CLK_SUPPORT_RC_FAST_D256=y
|
||||||
CONFIG_SOC_CLK_RC_FAST_SUPPORT_CALIBRATION=y
|
CONFIG_SOC_CLK_RC_FAST_SUPPORT_CALIBRATION=y
|
||||||
|
@ -213,9 +225,11 @@ CONFIG_SOC_BLUFI_SUPPORTED=y
|
||||||
CONFIG_SOC_ULP_HAS_ADC=y
|
CONFIG_SOC_ULP_HAS_ADC=y
|
||||||
CONFIG_SOC_PHY_COMBO_MODULE=y
|
CONFIG_SOC_PHY_COMBO_MODULE=y
|
||||||
CONFIG_IDF_CMAKE=y
|
CONFIG_IDF_CMAKE=y
|
||||||
|
CONFIG_IDF_TOOLCHAIN="gcc"
|
||||||
CONFIG_IDF_TARGET_ARCH_XTENSA=y
|
CONFIG_IDF_TARGET_ARCH_XTENSA=y
|
||||||
CONFIG_IDF_TARGET_ARCH="xtensa"
|
CONFIG_IDF_TARGET_ARCH="xtensa"
|
||||||
CONFIG_IDF_TARGET="esp32"
|
CONFIG_IDF_TARGET="esp32"
|
||||||
|
CONFIG_IDF_INIT_VERSION="5.2.2"
|
||||||
CONFIG_IDF_TARGET_ESP32=y
|
CONFIG_IDF_TARGET_ESP32=y
|
||||||
CONFIG_IDF_FIRMWARE_CHIP_ID=0x0000
|
CONFIG_IDF_FIRMWARE_CHIP_ID=0x0000
|
||||||
|
|
||||||
|
@ -236,6 +250,14 @@ CONFIG_APP_BUILD_USE_FLASH_SECTIONS=y
|
||||||
#
|
#
|
||||||
# Bootloader config
|
# Bootloader config
|
||||||
#
|
#
|
||||||
|
|
||||||
|
#
|
||||||
|
# Bootloader manager
|
||||||
|
#
|
||||||
|
CONFIG_BOOTLOADER_COMPILE_TIME_DATE=y
|
||||||
|
CONFIG_BOOTLOADER_PROJECT_VER=1
|
||||||
|
# end of Bootloader manager
|
||||||
|
|
||||||
CONFIG_BOOTLOADER_OFFSET_IN_FLASH=0x1000
|
CONFIG_BOOTLOADER_OFFSET_IN_FLASH=0x1000
|
||||||
CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_SIZE=y
|
CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_SIZE=y
|
||||||
# CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_DEBUG is not set
|
# CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_DEBUG is not set
|
||||||
|
@ -248,6 +270,14 @@ CONFIG_BOOTLOADER_LOG_LEVEL_INFO=y
|
||||||
# CONFIG_BOOTLOADER_LOG_LEVEL_DEBUG is not set
|
# CONFIG_BOOTLOADER_LOG_LEVEL_DEBUG is not set
|
||||||
# CONFIG_BOOTLOADER_LOG_LEVEL_VERBOSE is not set
|
# CONFIG_BOOTLOADER_LOG_LEVEL_VERBOSE is not set
|
||||||
CONFIG_BOOTLOADER_LOG_LEVEL=3
|
CONFIG_BOOTLOADER_LOG_LEVEL=3
|
||||||
|
|
||||||
|
#
|
||||||
|
# Serial Flash Configurations
|
||||||
|
#
|
||||||
|
# CONFIG_BOOTLOADER_FLASH_DC_AWARE is not set
|
||||||
|
CONFIG_BOOTLOADER_FLASH_XMC_SUPPORT=y
|
||||||
|
# end of Serial Flash Configurations
|
||||||
|
|
||||||
# CONFIG_BOOTLOADER_VDDSDIO_BOOST_1_8V is not set
|
# CONFIG_BOOTLOADER_VDDSDIO_BOOST_1_8V is not set
|
||||||
CONFIG_BOOTLOADER_VDDSDIO_BOOST_1_9V=y
|
CONFIG_BOOTLOADER_VDDSDIO_BOOST_1_9V=y
|
||||||
# CONFIG_BOOTLOADER_FACTORY_RESET is not set
|
# CONFIG_BOOTLOADER_FACTORY_RESET is not set
|
||||||
|
@ -262,7 +292,6 @@ CONFIG_BOOTLOADER_WDT_TIME_MS=9000
|
||||||
# CONFIG_BOOTLOADER_SKIP_VALIDATE_ALWAYS is not set
|
# CONFIG_BOOTLOADER_SKIP_VALIDATE_ALWAYS is not set
|
||||||
CONFIG_BOOTLOADER_RESERVE_RTC_SIZE=0
|
CONFIG_BOOTLOADER_RESERVE_RTC_SIZE=0
|
||||||
# CONFIG_BOOTLOADER_CUSTOM_RESERVE_RTC is not set
|
# CONFIG_BOOTLOADER_CUSTOM_RESERVE_RTC is not set
|
||||||
CONFIG_BOOTLOADER_FLASH_XMC_SUPPORT=y
|
|
||||||
# end of Bootloader config
|
# end of Bootloader config
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -291,6 +320,8 @@ CONFIG_ESP_ROM_HAS_JPEG_DECODE=y
|
||||||
CONFIG_ESP_ROM_HAS_UART_BUF_SWITCH=y
|
CONFIG_ESP_ROM_HAS_UART_BUF_SWITCH=y
|
||||||
CONFIG_ESP_ROM_NEEDS_SWSETUP_WORKAROUND=y
|
CONFIG_ESP_ROM_NEEDS_SWSETUP_WORKAROUND=y
|
||||||
CONFIG_ESP_ROM_HAS_NEWLIB_NANO_FORMAT=y
|
CONFIG_ESP_ROM_HAS_NEWLIB_NANO_FORMAT=y
|
||||||
|
CONFIG_ESP_ROM_HAS_SW_FLOAT=y
|
||||||
|
CONFIG_ESP_ROM_USB_SERIAL_DEVICE_NUM=-1
|
||||||
|
|
||||||
#
|
#
|
||||||
# Serial flasher config
|
# Serial flasher config
|
||||||
|
@ -342,7 +373,7 @@ CONFIG_PARTITION_TABLE_MD5=y
|
||||||
#
|
#
|
||||||
# Compiler options
|
# Compiler options
|
||||||
#
|
#
|
||||||
# CONFIG_COMPILER_OPTIMIZATION_DEFAULT is not set
|
# CONFIG_COMPILER_OPTIMIZATION_DEBUG is not set
|
||||||
CONFIG_COMPILER_OPTIMIZATION_SIZE=y
|
CONFIG_COMPILER_OPTIMIZATION_SIZE=y
|
||||||
# CONFIG_COMPILER_OPTIMIZATION_PERF is not set
|
# CONFIG_COMPILER_OPTIMIZATION_PERF is not set
|
||||||
# CONFIG_COMPILER_OPTIMIZATION_NONE is not set
|
# CONFIG_COMPILER_OPTIMIZATION_NONE is not set
|
||||||
|
@ -362,7 +393,10 @@ CONFIG_COMPILER_STACK_CHECK_MODE_NORM=y
|
||||||
CONFIG_COMPILER_STACK_CHECK=y
|
CONFIG_COMPILER_STACK_CHECK=y
|
||||||
CONFIG_COMPILER_WARN_WRITE_STRINGS=y
|
CONFIG_COMPILER_WARN_WRITE_STRINGS=y
|
||||||
# CONFIG_COMPILER_DISABLE_GCC12_WARNINGS is not set
|
# CONFIG_COMPILER_DISABLE_GCC12_WARNINGS is not set
|
||||||
|
# CONFIG_COMPILER_DISABLE_GCC13_WARNINGS is not set
|
||||||
# CONFIG_COMPILER_DUMP_RTL_FILES is not set
|
# CONFIG_COMPILER_DUMP_RTL_FILES is not set
|
||||||
|
CONFIG_COMPILER_RT_LIB_GCCLIB=y
|
||||||
|
CONFIG_COMPILER_RT_LIB_NAME="gcc"
|
||||||
# end of Compiler options
|
# end of Compiler options
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -400,6 +434,7 @@ CONFIG_BT_BLUEDROID_PINNED_TO_CORE_0=y
|
||||||
CONFIG_BT_BLUEDROID_PINNED_TO_CORE=0
|
CONFIG_BT_BLUEDROID_PINNED_TO_CORE=0
|
||||||
CONFIG_BT_BTU_TASK_STACK_SIZE=4096
|
CONFIG_BT_BTU_TASK_STACK_SIZE=4096
|
||||||
# CONFIG_BT_BLUEDROID_MEM_DEBUG is not set
|
# CONFIG_BT_BLUEDROID_MEM_DEBUG is not set
|
||||||
|
CONFIG_BT_BLUEDROID_ESP_COEX_VSC=y
|
||||||
CONFIG_BT_CLASSIC_ENABLED=y
|
CONFIG_BT_CLASSIC_ENABLED=y
|
||||||
CONFIG_BT_CLASSIC_BQB_ENABLED=y
|
CONFIG_BT_CLASSIC_BQB_ENABLED=y
|
||||||
# CONFIG_BT_A2DP_ENABLE is not set
|
# CONFIG_BT_A2DP_ENABLE is not set
|
||||||
|
@ -409,25 +444,7 @@ CONFIG_BT_CLASSIC_BQB_ENABLED=y
|
||||||
CONFIG_BT_HID_ENABLED=y
|
CONFIG_BT_HID_ENABLED=y
|
||||||
CONFIG_BT_HID_HOST_ENABLED=y
|
CONFIG_BT_HID_HOST_ENABLED=y
|
||||||
# CONFIG_BT_HID_DEVICE_ENABLED is not set
|
# CONFIG_BT_HID_DEVICE_ENABLED is not set
|
||||||
CONFIG_BT_SSP_ENABLED=y
|
# CONFIG_BT_BLE_ENABLED is not set
|
||||||
CONFIG_BT_BLE_ENABLED=y
|
|
||||||
CONFIG_BT_GATTS_ENABLE=y
|
|
||||||
# CONFIG_BT_GATTS_PPCP_CHAR_GAP is not set
|
|
||||||
# CONFIG_BT_BLE_BLUFI_ENABLE is not set
|
|
||||||
CONFIG_BT_GATT_MAX_SR_PROFILES=8
|
|
||||||
CONFIG_BT_GATT_MAX_SR_ATTRIBUTES=100
|
|
||||||
# CONFIG_BT_GATTS_SEND_SERVICE_CHANGE_MANUAL is not set
|
|
||||||
CONFIG_BT_GATTS_SEND_SERVICE_CHANGE_AUTO=y
|
|
||||||
CONFIG_BT_GATTS_SEND_SERVICE_CHANGE_MODE=0
|
|
||||||
# CONFIG_BT_GATTS_ROBUST_CACHING_ENABLED is not set
|
|
||||||
# CONFIG_BT_GATTS_DEVICE_NAME_WRITABLE is not set
|
|
||||||
# CONFIG_BT_GATTS_APPEARANCE_WRITABLE is not set
|
|
||||||
CONFIG_BT_GATTC_ENABLE=y
|
|
||||||
CONFIG_BT_GATTC_MAX_CACHE_CHAR=40
|
|
||||||
# CONFIG_BT_GATTC_CACHE_NVS_FLASH is not set
|
|
||||||
CONFIG_BT_GATTC_CONNECT_RETRY_COUNT=3
|
|
||||||
CONFIG_BT_BLE_SMP_ENABLE=y
|
|
||||||
# CONFIG_BT_SMP_SLAVE_CON_PARAMS_UPD_ENABLE is not set
|
|
||||||
# CONFIG_BT_STACK_NO_LOG is not set
|
# CONFIG_BT_STACK_NO_LOG is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -604,26 +621,20 @@ CONFIG_BT_LOG_BLUFI_TRACE_LEVEL=2
|
||||||
# end of BT DEBUG LOG LEVEL
|
# end of BT DEBUG LOG LEVEL
|
||||||
|
|
||||||
CONFIG_BT_ACL_CONNECTIONS=4
|
CONFIG_BT_ACL_CONNECTIONS=4
|
||||||
CONFIG_BT_MULTI_CONNECTION_ENBALE=y
|
|
||||||
# CONFIG_BT_ALLOCATION_FROM_SPIRAM_FIRST is not set
|
# CONFIG_BT_ALLOCATION_FROM_SPIRAM_FIRST is not set
|
||||||
# CONFIG_BT_BLE_DYNAMIC_ENV_MEMORY is not set
|
# CONFIG_BT_BLE_DYNAMIC_ENV_MEMORY is not set
|
||||||
# CONFIG_BT_BLE_HOST_QUEUE_CONG_CHECK is not set
|
|
||||||
CONFIG_BT_SMP_ENABLE=y
|
CONFIG_BT_SMP_ENABLE=y
|
||||||
# CONFIG_BT_BLE_ACT_SCAN_REP_ADV_SCAN is not set
|
CONFIG_BT_SMP_MAX_BONDS=15
|
||||||
CONFIG_BT_BLE_ESTAB_LINK_CONN_TOUT=30
|
|
||||||
CONFIG_BT_MAX_DEVICE_NAME_LEN=32
|
CONFIG_BT_MAX_DEVICE_NAME_LEN=32
|
||||||
# CONFIG_BT_BLE_RPA_SUPPORTED is not set
|
# CONFIG_BT_BLE_RPA_SUPPORTED is not set
|
||||||
CONFIG_BT_BLE_RPA_TIMEOUT=900
|
|
||||||
# CONFIG_BT_BLE_HIGH_DUTY_ADV_INTERVAL is not set
|
|
||||||
# end of Bluedroid Options
|
# end of Bluedroid Options
|
||||||
|
|
||||||
#
|
#
|
||||||
# Controller Options
|
# Controller Options
|
||||||
#
|
#
|
||||||
# CONFIG_BTDM_CTRL_MODE_BLE_ONLY is not set
|
# CONFIG_BTDM_CTRL_MODE_BLE_ONLY is not set
|
||||||
# CONFIG_BTDM_CTRL_MODE_BR_EDR_ONLY is not set
|
CONFIG_BTDM_CTRL_MODE_BR_EDR_ONLY=y
|
||||||
CONFIG_BTDM_CTRL_MODE_BTDM=y
|
# CONFIG_BTDM_CTRL_MODE_BTDM is not set
|
||||||
CONFIG_BTDM_CTRL_BLE_MAX_CONN=3
|
|
||||||
CONFIG_BTDM_CTRL_BR_EDR_MAX_ACL_CONN=2
|
CONFIG_BTDM_CTRL_BR_EDR_MAX_ACL_CONN=2
|
||||||
CONFIG_BTDM_CTRL_BR_EDR_MAX_SYNC_CONN=0
|
CONFIG_BTDM_CTRL_BR_EDR_MAX_SYNC_CONN=0
|
||||||
# CONFIG_BTDM_CTRL_BR_EDR_SCO_DATA_PATH_HCI is not set
|
# CONFIG_BTDM_CTRL_BR_EDR_SCO_DATA_PATH_HCI is not set
|
||||||
|
@ -636,11 +647,9 @@ CONFIG_BTDM_CTRL_PCM_POLAR_FALLING_EDGE=y
|
||||||
# CONFIG_BTDM_CTRL_PCM_POLAR_RISING_EDGE is not set
|
# CONFIG_BTDM_CTRL_PCM_POLAR_RISING_EDGE is not set
|
||||||
CONFIG_BTDM_CTRL_PCM_ROLE_EFF=0
|
CONFIG_BTDM_CTRL_PCM_ROLE_EFF=0
|
||||||
CONFIG_BTDM_CTRL_PCM_POLAR_EFF=0
|
CONFIG_BTDM_CTRL_PCM_POLAR_EFF=0
|
||||||
CONFIG_BTDM_CTRL_AUTO_LATENCY=y
|
|
||||||
CONFIG_BTDM_CTRL_AUTO_LATENCY_EFF=y
|
|
||||||
CONFIG_BTDM_CTRL_LEGACY_AUTH_VENDOR_EVT=y
|
CONFIG_BTDM_CTRL_LEGACY_AUTH_VENDOR_EVT=y
|
||||||
CONFIG_BTDM_CTRL_LEGACY_AUTH_VENDOR_EVT_EFF=y
|
CONFIG_BTDM_CTRL_LEGACY_AUTH_VENDOR_EVT_EFF=y
|
||||||
CONFIG_BTDM_CTRL_BLE_MAX_CONN_EFF=3
|
CONFIG_BTDM_CTRL_BLE_MAX_CONN_EFF=0
|
||||||
CONFIG_BTDM_CTRL_BR_EDR_MAX_ACL_CONN_EFF=2
|
CONFIG_BTDM_CTRL_BR_EDR_MAX_ACL_CONN_EFF=2
|
||||||
CONFIG_BTDM_CTRL_BR_EDR_MAX_SYNC_CONN_EFF=0
|
CONFIG_BTDM_CTRL_BR_EDR_MAX_SYNC_CONN_EFF=0
|
||||||
CONFIG_BTDM_CTRL_PINNED_TO_CORE_0=y
|
CONFIG_BTDM_CTRL_PINNED_TO_CORE_0=y
|
||||||
|
@ -658,23 +667,19 @@ CONFIG_BTDM_CTRL_MODEM_SLEEP_MODE_ORIG=y
|
||||||
CONFIG_BTDM_CTRL_LPCLK_SEL_MAIN_XTAL=y
|
CONFIG_BTDM_CTRL_LPCLK_SEL_MAIN_XTAL=y
|
||||||
# end of MODEM SLEEP Options
|
# end of MODEM SLEEP Options
|
||||||
|
|
||||||
CONFIG_BTDM_BLE_DEFAULT_SCA_250PPM=y
|
|
||||||
CONFIG_BTDM_BLE_SLEEP_CLOCK_ACCURACY_INDEX_EFF=1
|
CONFIG_BTDM_BLE_SLEEP_CLOCK_ACCURACY_INDEX_EFF=1
|
||||||
CONFIG_BTDM_BLE_SCAN_DUPL=y
|
# CONFIG_BTDM_CTRL_SCAN_BACKOFF_UPPERLIMITMAX is not set
|
||||||
CONFIG_BTDM_SCAN_DUPL_TYPE_DEVICE=y
|
|
||||||
# CONFIG_BTDM_SCAN_DUPL_TYPE_DATA is not set
|
|
||||||
# CONFIG_BTDM_SCAN_DUPL_TYPE_DATA_DEVICE is not set
|
|
||||||
CONFIG_BTDM_SCAN_DUPL_TYPE=0
|
|
||||||
CONFIG_BTDM_SCAN_DUPL_CACHE_SIZE=200
|
|
||||||
CONFIG_BTDM_SCAN_DUPL_CACHE_REFRESH_PERIOD=0
|
|
||||||
# CONFIG_BTDM_BLE_MESH_SCAN_DUPL_EN is not set
|
|
||||||
CONFIG_BTDM_CTRL_FULL_SCAN_SUPPORTED=y
|
|
||||||
CONFIG_BTDM_BLE_ADV_REPORT_FLOW_CTRL_SUPP=y
|
|
||||||
CONFIG_BTDM_BLE_ADV_REPORT_FLOW_CTRL_NUM=100
|
|
||||||
CONFIG_BTDM_BLE_ADV_REPORT_DISCARD_THRSHOLD=20
|
|
||||||
CONFIG_BTDM_RESERVE_DRAM=0xdb5c
|
CONFIG_BTDM_RESERVE_DRAM=0xdb5c
|
||||||
CONFIG_BTDM_CTRL_HLI=y
|
CONFIG_BTDM_CTRL_HLI=y
|
||||||
# end of Controller Options
|
# end of Controller Options
|
||||||
|
|
||||||
|
# CONFIG_BT_HCI_LOG_DEBUG_EN is not set
|
||||||
|
|
||||||
|
#
|
||||||
|
# Common Options
|
||||||
|
#
|
||||||
|
CONFIG_BT_ALARM_MAX_NUM=50
|
||||||
|
# end of Common Options
|
||||||
# end of Bluetooth
|
# end of Bluetooth
|
||||||
|
|
||||||
# CONFIG_BLE_MESH is not set
|
# CONFIG_BLE_MESH is not set
|
||||||
|
@ -763,6 +768,7 @@ CONFIG_GPTIMER_ISR_HANDLER_IN_IRAM=y
|
||||||
# RMT Configuration
|
# RMT Configuration
|
||||||
#
|
#
|
||||||
# CONFIG_RMT_ISR_IRAM_SAFE is not set
|
# CONFIG_RMT_ISR_IRAM_SAFE is not set
|
||||||
|
# CONFIG_RMT_RECV_FUNC_IN_IRAM is not set
|
||||||
CONFIG_RMT_SUPPRESS_DEPRECATE_WARN=y
|
CONFIG_RMT_SUPPRESS_DEPRECATE_WARN=y
|
||||||
# CONFIG_RMT_ENABLE_DEBUG_LOG is not set
|
# CONFIG_RMT_ENABLE_DEBUG_LOG is not set
|
||||||
# end of RMT Configuration
|
# end of RMT Configuration
|
||||||
|
@ -793,6 +799,19 @@ CONFIG_RMT_SUPPRESS_DEPRECATE_WARN=y
|
||||||
# CONFIG_DAC_ENABLE_DEBUG_LOG is not set
|
# CONFIG_DAC_ENABLE_DEBUG_LOG is not set
|
||||||
CONFIG_DAC_DMA_AUTO_16BIT_ALIGN=y
|
CONFIG_DAC_DMA_AUTO_16BIT_ALIGN=y
|
||||||
# end of DAC Configuration
|
# end of DAC Configuration
|
||||||
|
|
||||||
|
#
|
||||||
|
# LEDC Configuration
|
||||||
|
#
|
||||||
|
# CONFIG_LEDC_CTRL_FUNC_IN_IRAM is not set
|
||||||
|
# end of LEDC Configuration
|
||||||
|
|
||||||
|
#
|
||||||
|
# I2C Configuration
|
||||||
|
#
|
||||||
|
# CONFIG_I2C_ISR_IRAM_SAFE is not set
|
||||||
|
# CONFIG_I2C_ENABLE_DEBUG_LOG is not set
|
||||||
|
# end of I2C Configuration
|
||||||
# end of Driver Configurations
|
# end of Driver Configurations
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -865,6 +884,10 @@ CONFIG_ESP_EVENT_POST_FROM_IRAM_ISR=y
|
||||||
#
|
#
|
||||||
# GDB Stub
|
# GDB Stub
|
||||||
#
|
#
|
||||||
|
CONFIG_ESP_GDBSTUB_ENABLED=y
|
||||||
|
# CONFIG_ESP_SYSTEM_GDBSTUB_RUNTIME is not set
|
||||||
|
CONFIG_ESP_GDBSTUB_SUPPORT_TASKS=y
|
||||||
|
CONFIG_ESP_GDBSTUB_MAX_TASKS=32
|
||||||
# end of GDB Stub
|
# end of GDB Stub
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -934,6 +957,7 @@ CONFIG_ESP32_UNIVERSAL_MAC_ADDRESSES_TWO=y
|
||||||
# CONFIG_ESP32_UNIVERSAL_MAC_ADDRESSES_FOUR is not set
|
# CONFIG_ESP32_UNIVERSAL_MAC_ADDRESSES_FOUR is not set
|
||||||
CONFIG_ESP32_UNIVERSAL_MAC_ADDRESSES=2
|
CONFIG_ESP32_UNIVERSAL_MAC_ADDRESSES=2
|
||||||
# CONFIG_ESP_MAC_IGNORE_MAC_CRC_ERROR is not set
|
# CONFIG_ESP_MAC_IGNORE_MAC_CRC_ERROR is not set
|
||||||
|
# CONFIG_ESP_MAC_USE_CUSTOM_MAC_AS_BASE_MAC is not set
|
||||||
# end of MAC Config
|
# end of MAC Config
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -944,7 +968,9 @@ CONFIG_ESP_SLEEP_FLASH_LEAKAGE_WORKAROUND=y
|
||||||
# CONFIG_ESP_SLEEP_MSPI_NEED_ALL_IO_PU is not set
|
# CONFIG_ESP_SLEEP_MSPI_NEED_ALL_IO_PU is not set
|
||||||
CONFIG_ESP_SLEEP_RTC_BUS_ISO_WORKAROUND=y
|
CONFIG_ESP_SLEEP_RTC_BUS_ISO_WORKAROUND=y
|
||||||
# CONFIG_ESP_SLEEP_GPIO_RESET_WORKAROUND is not set
|
# CONFIG_ESP_SLEEP_GPIO_RESET_WORKAROUND is not set
|
||||||
CONFIG_ESP_SLEEP_DEEP_SLEEP_WAKEUP_DELAY=2000
|
CONFIG_ESP_SLEEP_WAIT_FLASH_READY_EXTRA_DELAY=2000
|
||||||
|
# CONFIG_ESP_SLEEP_CACHE_SAFE_ASSERTION is not set
|
||||||
|
# CONFIG_ESP_SLEEP_DEBUG is not set
|
||||||
CONFIG_ESP_SLEEP_GPIO_ENABLE_INTERNAL_RESISTORS=y
|
CONFIG_ESP_SLEEP_GPIO_ENABLE_INTERNAL_RESISTORS=y
|
||||||
# end of Sleep Config
|
# end of Sleep Config
|
||||||
|
|
||||||
|
@ -1019,6 +1045,7 @@ CONFIG_ESP_PHY_RF_CAL_PARTIAL=y
|
||||||
# CONFIG_ESP_PHY_RF_CAL_NONE is not set
|
# CONFIG_ESP_PHY_RF_CAL_NONE is not set
|
||||||
# CONFIG_ESP_PHY_RF_CAL_FULL is not set
|
# CONFIG_ESP_PHY_RF_CAL_FULL is not set
|
||||||
CONFIG_ESP_PHY_CALIBRATION_MODE=0
|
CONFIG_ESP_PHY_CALIBRATION_MODE=0
|
||||||
|
# CONFIG_ESP_PHY_PLL_TRACK_DEBUG is not set
|
||||||
# end of PHY
|
# end of PHY
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -1070,7 +1097,6 @@ CONFIG_ESP32_TRACEMEM_RESERVE_DRAM=0x0
|
||||||
CONFIG_ESP_SYSTEM_PANIC_PRINT_REBOOT=y
|
CONFIG_ESP_SYSTEM_PANIC_PRINT_REBOOT=y
|
||||||
# CONFIG_ESP_SYSTEM_PANIC_SILENT_REBOOT is not set
|
# CONFIG_ESP_SYSTEM_PANIC_SILENT_REBOOT is not set
|
||||||
# CONFIG_ESP_SYSTEM_PANIC_GDBSTUB is not set
|
# CONFIG_ESP_SYSTEM_PANIC_GDBSTUB is not set
|
||||||
# CONFIG_ESP_SYSTEM_GDBSTUB_RUNTIME is not set
|
|
||||||
CONFIG_ESP_SYSTEM_PANIC_REBOOT_DELAY_SECONDS=0
|
CONFIG_ESP_SYSTEM_PANIC_REBOOT_DELAY_SECONDS=0
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -1090,7 +1116,6 @@ CONFIG_ESP_CONSOLE_UART_DEFAULT=y
|
||||||
# CONFIG_ESP_CONSOLE_UART_CUSTOM is not set
|
# CONFIG_ESP_CONSOLE_UART_CUSTOM is not set
|
||||||
# CONFIG_ESP_CONSOLE_NONE is not set
|
# CONFIG_ESP_CONSOLE_NONE is not set
|
||||||
CONFIG_ESP_CONSOLE_UART=y
|
CONFIG_ESP_CONSOLE_UART=y
|
||||||
CONFIG_ESP_CONSOLE_MULTIPLE_UART=y
|
|
||||||
CONFIG_ESP_CONSOLE_UART_NUM=0
|
CONFIG_ESP_CONSOLE_UART_NUM=0
|
||||||
CONFIG_ESP_CONSOLE_UART_BAUDRATE=115200
|
CONFIG_ESP_CONSOLE_UART_BAUDRATE=115200
|
||||||
CONFIG_ESP_INT_WDT=y
|
CONFIG_ESP_INT_WDT=y
|
||||||
|
@ -1176,22 +1201,20 @@ CONFIG_ESP_WIFI_MGMT_SBUF_NUM=32
|
||||||
# CONFIG_ESP_WIFI_EXTRA_IRAM_OPT is not set
|
# CONFIG_ESP_WIFI_EXTRA_IRAM_OPT is not set
|
||||||
# CONFIG_ESP_WIFI_RX_IRAM_OPT is not set
|
# CONFIG_ESP_WIFI_RX_IRAM_OPT is not set
|
||||||
# CONFIG_ESP_WIFI_ENABLE_WPA3_SAE is not set
|
# CONFIG_ESP_WIFI_ENABLE_WPA3_SAE is not set
|
||||||
CONFIG_ESP_WIFI_ENABLE_WPA3_OWE_STA=y
|
# CONFIG_ESP_WIFI_ENABLE_WPA3_OWE_STA is not set
|
||||||
# CONFIG_ESP_WIFI_SLP_IRAM_OPT is not set
|
# CONFIG_ESP_WIFI_SLP_IRAM_OPT is not set
|
||||||
CONFIG_ESP_WIFI_STA_DISCONNECTED_PM_ENABLE=y
|
CONFIG_ESP_WIFI_STA_DISCONNECTED_PM_ENABLE=y
|
||||||
# CONFIG_ESP_WIFI_GMAC_SUPPORT is not set
|
# CONFIG_ESP_WIFI_GMAC_SUPPORT is not set
|
||||||
CONFIG_ESP_WIFI_SOFTAP_SUPPORT=y
|
# CONFIG_ESP_WIFI_SOFTAP_SUPPORT is not set
|
||||||
# CONFIG_ESP_WIFI_SLP_BEACON_LOST_OPT is not set
|
# CONFIG_ESP_WIFI_SLP_BEACON_LOST_OPT is not set
|
||||||
CONFIG_ESP_WIFI_ESPNOW_MAX_ENCRYPT_NUM=7
|
CONFIG_ESP_WIFI_ESPNOW_MAX_ENCRYPT_NUM=7
|
||||||
# CONFIG_ESP_WIFI_NAN_ENABLE is not set
|
# CONFIG_ESP_WIFI_NAN_ENABLE is not set
|
||||||
CONFIG_ESP_WIFI_MBEDTLS_CRYPTO=y
|
# CONFIG_ESP_WIFI_MBEDTLS_CRYPTO is not set
|
||||||
CONFIG_ESP_WIFI_MBEDTLS_TLS_CLIENT=y
|
|
||||||
# CONFIG_ESP_WIFI_WAPI_PSK is not set
|
# CONFIG_ESP_WIFI_WAPI_PSK is not set
|
||||||
# CONFIG_ESP_WIFI_11KV_SUPPORT is not set
|
# CONFIG_ESP_WIFI_11KV_SUPPORT is not set
|
||||||
# CONFIG_ESP_WIFI_MBO_SUPPORT is not set
|
# CONFIG_ESP_WIFI_MBO_SUPPORT is not set
|
||||||
# CONFIG_ESP_WIFI_DPP_SUPPORT is not set
|
# CONFIG_ESP_WIFI_DPP_SUPPORT is not set
|
||||||
# CONFIG_ESP_WIFI_11R_SUPPORT is not set
|
# CONFIG_ESP_WIFI_11R_SUPPORT is not set
|
||||||
# CONFIG_ESP_WIFI_WPS_SOFTAP_REGISTRAR is not set
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# WPS Configuration Options
|
# WPS Configuration Options
|
||||||
|
@ -1202,7 +1225,7 @@ CONFIG_ESP_WIFI_MBEDTLS_TLS_CLIENT=y
|
||||||
|
|
||||||
# CONFIG_ESP_WIFI_DEBUG_PRINT is not set
|
# CONFIG_ESP_WIFI_DEBUG_PRINT is not set
|
||||||
# CONFIG_ESP_WIFI_TESTING_OPTIONS is not set
|
# CONFIG_ESP_WIFI_TESTING_OPTIONS is not set
|
||||||
CONFIG_ESP_WIFI_ENTERPRISE_SUPPORT=y
|
# CONFIG_ESP_WIFI_ENTERPRISE_SUPPORT is not set
|
||||||
# end of Wi-Fi
|
# end of Wi-Fi
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -1250,6 +1273,7 @@ CONFIG_FATFS_TIMEOUT_MS=10000
|
||||||
CONFIG_FATFS_PER_FILE_CACHE=y
|
CONFIG_FATFS_PER_FILE_CACHE=y
|
||||||
# CONFIG_FATFS_USE_FASTSEEK is not set
|
# CONFIG_FATFS_USE_FASTSEEK is not set
|
||||||
CONFIG_FATFS_VFS_FSTAT_BLKSIZE=0
|
CONFIG_FATFS_VFS_FSTAT_BLKSIZE=0
|
||||||
|
# CONFIG_FATFS_IMMEDIATE_FSYNC is not set
|
||||||
# end of FAT Filesystem support
|
# end of FAT Filesystem support
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -1271,6 +1295,7 @@ CONFIG_FREERTOS_IDLE_TASK_STACKSIZE=1536
|
||||||
# CONFIG_FREERTOS_USE_TICK_HOOK is not set
|
# CONFIG_FREERTOS_USE_TICK_HOOK is not set
|
||||||
CONFIG_FREERTOS_MAX_TASK_NAME_LEN=16
|
CONFIG_FREERTOS_MAX_TASK_NAME_LEN=16
|
||||||
# CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY is not set
|
# CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY is not set
|
||||||
|
CONFIG_FREERTOS_TIMER_SERVICE_TASK_NAME="Tmr Svc"
|
||||||
CONFIG_FREERTOS_TIMER_TASK_PRIORITY=1
|
CONFIG_FREERTOS_TIMER_TASK_PRIORITY=1
|
||||||
CONFIG_FREERTOS_TIMER_TASK_STACK_DEPTH=2048
|
CONFIG_FREERTOS_TIMER_TASK_STACK_DEPTH=2048
|
||||||
CONFIG_FREERTOS_TIMER_QUEUE_LENGTH=10
|
CONFIG_FREERTOS_TIMER_QUEUE_LENGTH=10
|
||||||
|
@ -1278,6 +1303,7 @@ CONFIG_FREERTOS_QUEUE_REGISTRY_SIZE=0
|
||||||
CONFIG_FREERTOS_TASK_NOTIFICATION_ARRAY_ENTRIES=1
|
CONFIG_FREERTOS_TASK_NOTIFICATION_ARRAY_ENTRIES=1
|
||||||
# CONFIG_FREERTOS_USE_TRACE_FACILITY is not set
|
# CONFIG_FREERTOS_USE_TRACE_FACILITY is not set
|
||||||
# CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS is not set
|
# CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS is not set
|
||||||
|
# CONFIG_FREERTOS_USE_APPLICATION_TASK_TAG is not set
|
||||||
# end of Kernel
|
# end of Kernel
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -1285,6 +1311,7 @@ CONFIG_FREERTOS_TASK_NOTIFICATION_ARRAY_ENTRIES=1
|
||||||
#
|
#
|
||||||
# CONFIG_FREERTOS_WATCHPOINT_END_OF_STACK is not set
|
# CONFIG_FREERTOS_WATCHPOINT_END_OF_STACK is not set
|
||||||
CONFIG_FREERTOS_TLSP_DELETION_CALLBACKS=y
|
CONFIG_FREERTOS_TLSP_DELETION_CALLBACKS=y
|
||||||
|
# CONFIG_FREERTOS_TASK_PRE_DELETION_HOOK is not set
|
||||||
# CONFIG_FREERTOS_ENABLE_STATIC_TASK_CLEAN_UP is not set
|
# CONFIG_FREERTOS_ENABLE_STATIC_TASK_CLEAN_UP is not set
|
||||||
CONFIG_FREERTOS_CHECK_MUTEX_GIVEN_BY_OWNER=y
|
CONFIG_FREERTOS_CHECK_MUTEX_GIVEN_BY_OWNER=y
|
||||||
CONFIG_FREERTOS_ISR_STACKSIZE=1536
|
CONFIG_FREERTOS_ISR_STACKSIZE=1536
|
||||||
|
@ -1295,14 +1322,15 @@ CONFIG_FREERTOS_CORETIMER_0=y
|
||||||
# CONFIG_FREERTOS_CORETIMER_1 is not set
|
# CONFIG_FREERTOS_CORETIMER_1 is not set
|
||||||
CONFIG_FREERTOS_SYSTICK_USES_CCOUNT=y
|
CONFIG_FREERTOS_SYSTICK_USES_CCOUNT=y
|
||||||
# CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH is not set
|
# CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH is not set
|
||||||
# CONFIG_FREERTOS_PLACE_SNAPSHOT_FUNS_INTO_FLASH is not set
|
|
||||||
# CONFIG_FREERTOS_CHECK_PORT_CRITICAL_COMPLIANCE is not set
|
# CONFIG_FREERTOS_CHECK_PORT_CRITICAL_COMPLIANCE is not set
|
||||||
CONFIG_FREERTOS_ENABLE_TASK_SNAPSHOT=y
|
|
||||||
# end of Port
|
# end of Port
|
||||||
|
|
||||||
|
CONFIG_FREERTOS_PORT=y
|
||||||
CONFIG_FREERTOS_NO_AFFINITY=0x7FFFFFFF
|
CONFIG_FREERTOS_NO_AFFINITY=0x7FFFFFFF
|
||||||
CONFIG_FREERTOS_SUPPORT_STATIC_ALLOCATION=y
|
CONFIG_FREERTOS_SUPPORT_STATIC_ALLOCATION=y
|
||||||
CONFIG_FREERTOS_DEBUG_OCDAWARE=y
|
CONFIG_FREERTOS_DEBUG_OCDAWARE=y
|
||||||
|
CONFIG_FREERTOS_ENABLE_TASK_SNAPSHOT=y
|
||||||
|
CONFIG_FREERTOS_PLACE_SNAPSHOT_FUNS_INTO_FLASH=y
|
||||||
# end of FreeRTOS
|
# end of FreeRTOS
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -1332,9 +1360,6 @@ CONFIG_HEAP_TRACING_OFF=y
|
||||||
# CONFIG_HEAP_PLACE_FUNCTION_INTO_FLASH is not set
|
# CONFIG_HEAP_PLACE_FUNCTION_INTO_FLASH is not set
|
||||||
# end of Heap memory debugging
|
# end of Heap memory debugging
|
||||||
|
|
||||||
CONFIG_IEEE802154_CCA_THRESHOLD=-60
|
|
||||||
CONFIG_IEEE802154_PENDING_TABLE_SIZE=20
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Log output
|
# Log output
|
||||||
#
|
#
|
||||||
|
@ -1348,6 +1373,7 @@ CONFIG_LOG_DEFAULT_LEVEL=4
|
||||||
CONFIG_LOG_MAXIMUM_EQUALS_DEFAULT=y
|
CONFIG_LOG_MAXIMUM_EQUALS_DEFAULT=y
|
||||||
# CONFIG_LOG_MAXIMUM_LEVEL_VERBOSE is not set
|
# CONFIG_LOG_MAXIMUM_LEVEL_VERBOSE is not set
|
||||||
CONFIG_LOG_MAXIMUM_LEVEL=4
|
CONFIG_LOG_MAXIMUM_LEVEL=4
|
||||||
|
# CONFIG_LOG_MASTER_LEVEL is not set
|
||||||
CONFIG_LOG_COLORS=y
|
CONFIG_LOG_COLORS=y
|
||||||
CONFIG_LOG_TIMESTAMP_SOURCE_RTOS=y
|
CONFIG_LOG_TIMESTAMP_SOURCE_RTOS=y
|
||||||
# CONFIG_LOG_TIMESTAMP_SOURCE_SYSTEM is not set
|
# CONFIG_LOG_TIMESTAMP_SOURCE_SYSTEM is not set
|
||||||
|
@ -1356,6 +1382,7 @@ CONFIG_LOG_TIMESTAMP_SOURCE_RTOS=y
|
||||||
#
|
#
|
||||||
# LWIP
|
# LWIP
|
||||||
#
|
#
|
||||||
|
CONFIG_LWIP_ENABLE=y
|
||||||
CONFIG_LWIP_LOCAL_HOSTNAME="espressif"
|
CONFIG_LWIP_LOCAL_HOSTNAME="espressif"
|
||||||
# CONFIG_LWIP_NETIF_API is not set
|
# CONFIG_LWIP_NETIF_API is not set
|
||||||
CONFIG_LWIP_TCPIP_TASK_PRIO=18
|
CONFIG_LWIP_TCPIP_TASK_PRIO=18
|
||||||
|
@ -1367,6 +1394,7 @@ CONFIG_LWIP_DNS_SUPPORT_MDNS_QUERIES=y
|
||||||
# CONFIG_LWIP_EXTRA_IRAM_OPTIMIZATION is not set
|
# CONFIG_LWIP_EXTRA_IRAM_OPTIMIZATION is not set
|
||||||
CONFIG_LWIP_TIMERS_ONDEMAND=y
|
CONFIG_LWIP_TIMERS_ONDEMAND=y
|
||||||
CONFIG_LWIP_ND6=y
|
CONFIG_LWIP_ND6=y
|
||||||
|
# CONFIG_LWIP_FORCE_ROUTER_FORWARDING is not set
|
||||||
CONFIG_LWIP_MAX_SOCKETS=10
|
CONFIG_LWIP_MAX_SOCKETS=10
|
||||||
# CONFIG_LWIP_USE_ONLY_LWIP_SELECT is not set
|
# CONFIG_LWIP_USE_ONLY_LWIP_SELECT is not set
|
||||||
# CONFIG_LWIP_SO_LINGER is not set
|
# CONFIG_LWIP_SO_LINGER is not set
|
||||||
|
@ -1374,6 +1402,7 @@ CONFIG_LWIP_SO_REUSE=y
|
||||||
CONFIG_LWIP_SO_REUSE_RXTOALL=y
|
CONFIG_LWIP_SO_REUSE_RXTOALL=y
|
||||||
# CONFIG_LWIP_SO_RCVBUF is not set
|
# CONFIG_LWIP_SO_RCVBUF is not set
|
||||||
# CONFIG_LWIP_NETBUF_RECVINFO is not set
|
# CONFIG_LWIP_NETBUF_RECVINFO is not set
|
||||||
|
CONFIG_LWIP_IP_DEFAULT_TTL=64
|
||||||
CONFIG_LWIP_IP4_FRAG=y
|
CONFIG_LWIP_IP4_FRAG=y
|
||||||
CONFIG_LWIP_IP6_FRAG=y
|
CONFIG_LWIP_IP6_FRAG=y
|
||||||
# CONFIG_LWIP_IP4_REASSEMBLY is not set
|
# CONFIG_LWIP_IP4_REASSEMBLY is not set
|
||||||
|
@ -1400,6 +1429,7 @@ CONFIG_LWIP_DHCP_COARSE_TIMER_SECS=1
|
||||||
CONFIG_LWIP_DHCPS=y
|
CONFIG_LWIP_DHCPS=y
|
||||||
CONFIG_LWIP_DHCPS_LEASE_UNIT=60
|
CONFIG_LWIP_DHCPS_LEASE_UNIT=60
|
||||||
CONFIG_LWIP_DHCPS_MAX_STATION_NUM=8
|
CONFIG_LWIP_DHCPS_MAX_STATION_NUM=8
|
||||||
|
CONFIG_LWIP_DHCPS_STATIC_ENTRIES=y
|
||||||
# end of DHCP server
|
# end of DHCP server
|
||||||
|
|
||||||
# CONFIG_LWIP_AUTOIP is not set
|
# CONFIG_LWIP_AUTOIP is not set
|
||||||
|
@ -1428,6 +1458,8 @@ CONFIG_LWIP_TCP_SND_BUF_DEFAULT=5744
|
||||||
CONFIG_LWIP_TCP_WND_DEFAULT=5744
|
CONFIG_LWIP_TCP_WND_DEFAULT=5744
|
||||||
CONFIG_LWIP_TCP_RECVMBOX_SIZE=6
|
CONFIG_LWIP_TCP_RECVMBOX_SIZE=6
|
||||||
CONFIG_LWIP_TCP_QUEUE_OOSEQ=y
|
CONFIG_LWIP_TCP_QUEUE_OOSEQ=y
|
||||||
|
CONFIG_LWIP_TCP_OOSEQ_TIMEOUT=6
|
||||||
|
CONFIG_LWIP_TCP_OOSEQ_MAX_PBUFS=4
|
||||||
# CONFIG_LWIP_TCP_SACK_OUT is not set
|
# CONFIG_LWIP_TCP_SACK_OUT is not set
|
||||||
CONFIG_LWIP_TCP_OVERSIZE_MSS=y
|
CONFIG_LWIP_TCP_OVERSIZE_MSS=y
|
||||||
# CONFIG_LWIP_TCP_OVERSIZE_QUARTER_MSS is not set
|
# CONFIG_LWIP_TCP_OVERSIZE_QUARTER_MSS is not set
|
||||||
|
@ -1482,6 +1514,13 @@ CONFIG_LWIP_SNTP_MAX_SERVERS=1
|
||||||
CONFIG_LWIP_SNTP_UPDATE_DELAY=3600000
|
CONFIG_LWIP_SNTP_UPDATE_DELAY=3600000
|
||||||
# end of SNTP
|
# end of SNTP
|
||||||
|
|
||||||
|
#
|
||||||
|
# DNS
|
||||||
|
#
|
||||||
|
CONFIG_LWIP_DNS_MAX_SERVERS=3
|
||||||
|
# CONFIG_LWIP_FALLBACK_DNS_SERVER_SUPPORT is not set
|
||||||
|
# end of DNS
|
||||||
|
|
||||||
CONFIG_LWIP_BRIDGEIF_MAX_PORTS=7
|
CONFIG_LWIP_BRIDGEIF_MAX_PORTS=7
|
||||||
CONFIG_LWIP_ESP_LWIP_ASSERT=y
|
CONFIG_LWIP_ESP_LWIP_ASSERT=y
|
||||||
|
|
||||||
|
@ -1548,7 +1587,9 @@ CONFIG_MBEDTLS_CERTIFICATE_BUNDLE_MAX_CERTS=200
|
||||||
# CONFIG_MBEDTLS_ECP_RESTARTABLE is not set
|
# CONFIG_MBEDTLS_ECP_RESTARTABLE is not set
|
||||||
CONFIG_MBEDTLS_CMAC_C=y
|
CONFIG_MBEDTLS_CMAC_C=y
|
||||||
CONFIG_MBEDTLS_HARDWARE_AES=y
|
CONFIG_MBEDTLS_HARDWARE_AES=y
|
||||||
|
# CONFIG_MBEDTLS_GCM_SUPPORT_NON_AES_CIPHER is not set
|
||||||
CONFIG_MBEDTLS_HARDWARE_MPI=y
|
CONFIG_MBEDTLS_HARDWARE_MPI=y
|
||||||
|
# CONFIG_MBEDTLS_LARGE_KEY_SOFTWARE_MPI is not set
|
||||||
CONFIG_MBEDTLS_HARDWARE_SHA=y
|
CONFIG_MBEDTLS_HARDWARE_SHA=y
|
||||||
CONFIG_MBEDTLS_ROM_MD5=y
|
CONFIG_MBEDTLS_ROM_MD5=y
|
||||||
# CONFIG_MBEDTLS_ATCA_HW_ECDSA_SIGN is not set
|
# CONFIG_MBEDTLS_ATCA_HW_ECDSA_SIGN is not set
|
||||||
|
@ -1633,7 +1674,7 @@ CONFIG_MBEDTLS_ECP_FIXED_POINT_OPTIM=y
|
||||||
# CONFIG_MBEDTLS_CHACHA20_C is not set
|
# CONFIG_MBEDTLS_CHACHA20_C is not set
|
||||||
# CONFIG_MBEDTLS_HKDF_C is not set
|
# CONFIG_MBEDTLS_HKDF_C is not set
|
||||||
# CONFIG_MBEDTLS_THREADING_C is not set
|
# CONFIG_MBEDTLS_THREADING_C is not set
|
||||||
# CONFIG_MBEDTLS_LARGE_KEY_SOFTWARE_MPI is not set
|
CONFIG_MBEDTLS_ERROR_STRINGS=y
|
||||||
# end of mbedTLS
|
# end of mbedTLS
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -1671,6 +1712,7 @@ CONFIG_NEWLIB_TIME_SYSCALL_USE_HRT=y
|
||||||
# NVS
|
# NVS
|
||||||
#
|
#
|
||||||
# CONFIG_NVS_ASSERT_ERROR_CHECK is not set
|
# CONFIG_NVS_ASSERT_ERROR_CHECK is not set
|
||||||
|
# CONFIG_NVS_LEGACY_DUP_KEYS_COMPATIBILITY is not set
|
||||||
# end of NVS
|
# end of NVS
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -1691,6 +1733,13 @@ CONFIG_OPENTHREAD_NETWORK_PSKC="104810e2315100afd6bc9215a6bfac53"
|
||||||
# end of Thread Operational Dataset
|
# end of Thread Operational Dataset
|
||||||
|
|
||||||
CONFIG_OPENTHREAD_XTAL_ACCURACY=130
|
CONFIG_OPENTHREAD_XTAL_ACCURACY=130
|
||||||
|
# CONFIG_OPENTHREAD_SPINEL_ONLY is not set
|
||||||
|
CONFIG_OPENTHREAD_RX_ON_WHEN_IDLE=y
|
||||||
|
|
||||||
|
#
|
||||||
|
# Thread Address Query Config
|
||||||
|
#
|
||||||
|
# end of Thread Address Query Config
|
||||||
# end of OpenThread
|
# end of OpenThread
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -1722,6 +1771,27 @@ CONFIG_MMU_PAGE_MODE="64KB"
|
||||||
CONFIG_MMU_PAGE_SIZE=0x10000
|
CONFIG_MMU_PAGE_SIZE=0x10000
|
||||||
# end of MMU Config
|
# end of MMU Config
|
||||||
|
|
||||||
|
#
|
||||||
|
# Main Flash configuration
|
||||||
|
#
|
||||||
|
|
||||||
|
#
|
||||||
|
# SPI Flash behavior when brownout
|
||||||
|
#
|
||||||
|
CONFIG_SPI_FLASH_BROWNOUT_RESET_XMC=y
|
||||||
|
CONFIG_SPI_FLASH_BROWNOUT_RESET=y
|
||||||
|
# end of SPI Flash behavior when brownout
|
||||||
|
|
||||||
|
#
|
||||||
|
# Optional and Experimental Features (READ DOCS FIRST)
|
||||||
|
#
|
||||||
|
|
||||||
|
#
|
||||||
|
# Features here require specific hardware (READ DOCS FIRST!)
|
||||||
|
#
|
||||||
|
# end of Optional and Experimental Features (READ DOCS FIRST)
|
||||||
|
# end of Main Flash configuration
|
||||||
|
|
||||||
#
|
#
|
||||||
# SPI Flash driver
|
# SPI Flash driver
|
||||||
#
|
#
|
||||||
|
@ -1741,13 +1811,6 @@ CONFIG_SPI_FLASH_WRITE_CHUNK_SIZE=8192
|
||||||
# CONFIG_SPI_FLASH_CHECK_ERASE_TIMEOUT_DISABLED is not set
|
# CONFIG_SPI_FLASH_CHECK_ERASE_TIMEOUT_DISABLED is not set
|
||||||
# CONFIG_SPI_FLASH_OVERRIDE_CHIP_DRIVER_LIST is not set
|
# CONFIG_SPI_FLASH_OVERRIDE_CHIP_DRIVER_LIST is not set
|
||||||
|
|
||||||
#
|
|
||||||
# SPI Flash behavior when brownout
|
|
||||||
#
|
|
||||||
CONFIG_SPI_FLASH_BROWNOUT_RESET_XMC=y
|
|
||||||
CONFIG_SPI_FLASH_BROWNOUT_RESET=y
|
|
||||||
# end of SPI Flash behavior when brownout
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Auto-detect flash chips
|
# Auto-detect flash chips
|
||||||
#
|
#
|
||||||
|
@ -1834,11 +1897,6 @@ CONFIG_UNITY_ENABLE_IDF_TEST_RUNNER=y
|
||||||
# CONFIG_UNITY_ENABLE_BACKTRACE_ON_FAIL is not set
|
# CONFIG_UNITY_ENABLE_BACKTRACE_ON_FAIL is not set
|
||||||
# end of Unity unit testing library
|
# end of Unity unit testing library
|
||||||
|
|
||||||
#
|
|
||||||
# Root Hub configuration
|
|
||||||
#
|
|
||||||
# end of Root Hub configuration
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Virtual file system
|
# Virtual file system
|
||||||
#
|
#
|
||||||
|
@ -1846,6 +1904,7 @@ CONFIG_VFS_SUPPORT_IO=y
|
||||||
CONFIG_VFS_SUPPORT_DIR=y
|
CONFIG_VFS_SUPPORT_DIR=y
|
||||||
CONFIG_VFS_SUPPORT_SELECT=y
|
CONFIG_VFS_SUPPORT_SELECT=y
|
||||||
CONFIG_VFS_SUPPRESS_SELECT_DEBUG_OUTPUT=y
|
CONFIG_VFS_SUPPRESS_SELECT_DEBUG_OUTPUT=y
|
||||||
|
# CONFIG_VFS_SELECT_IN_RAM is not set
|
||||||
CONFIG_VFS_SUPPORT_TERMIOS=y
|
CONFIG_VFS_SUPPORT_TERMIOS=y
|
||||||
CONFIG_VFS_MAX_COUNT=8
|
CONFIG_VFS_MAX_COUNT=8
|
||||||
|
|
||||||
|
@ -1901,6 +1960,7 @@ CONFIG_FLASHMODE_DIO=y
|
||||||
CONFIG_MONITOR_BAUD=115200
|
CONFIG_MONITOR_BAUD=115200
|
||||||
# CONFIG_OPTIMIZATION_LEVEL_DEBUG is not set
|
# CONFIG_OPTIMIZATION_LEVEL_DEBUG is not set
|
||||||
# CONFIG_COMPILER_OPTIMIZATION_LEVEL_DEBUG is not set
|
# CONFIG_COMPILER_OPTIMIZATION_LEVEL_DEBUG is not set
|
||||||
|
# CONFIG_COMPILER_OPTIMIZATION_DEFAULT is not set
|
||||||
CONFIG_OPTIMIZATION_LEVEL_RELEASE=y
|
CONFIG_OPTIMIZATION_LEVEL_RELEASE=y
|
||||||
CONFIG_COMPILER_OPTIMIZATION_LEVEL_RELEASE=y
|
CONFIG_COMPILER_OPTIMIZATION_LEVEL_RELEASE=y
|
||||||
CONFIG_OPTIMIZATION_ASSERTIONS_ENABLED=y
|
CONFIG_OPTIMIZATION_ASSERTIONS_ENABLED=y
|
||||||
|
@ -1928,14 +1988,6 @@ CONFIG_BTU_TASK_STACK_SIZE=4096
|
||||||
CONFIG_CLASSIC_BT_ENABLED=y
|
CONFIG_CLASSIC_BT_ENABLED=y
|
||||||
# CONFIG_A2DP_ENABLE is not set
|
# CONFIG_A2DP_ENABLE is not set
|
||||||
# CONFIG_HFP_ENABLE is not set
|
# CONFIG_HFP_ENABLE is not set
|
||||||
CONFIG_GATTS_ENABLE=y
|
|
||||||
# CONFIG_GATTS_SEND_SERVICE_CHANGE_MANUAL is not set
|
|
||||||
CONFIG_GATTS_SEND_SERVICE_CHANGE_AUTO=y
|
|
||||||
CONFIG_GATTS_SEND_SERVICE_CHANGE_MODE=0
|
|
||||||
CONFIG_GATTC_ENABLE=y
|
|
||||||
# CONFIG_GATTC_CACHE_NVS_FLASH is not set
|
|
||||||
CONFIG_BLE_SMP_ENABLE=y
|
|
||||||
# CONFIG_SMP_SLAVE_CON_PARAMS_UPD_ENABLE is not set
|
|
||||||
# CONFIG_HCI_TRACE_LEVEL_NONE is not set
|
# CONFIG_HCI_TRACE_LEVEL_NONE is not set
|
||||||
# CONFIG_HCI_TRACE_LEVEL_ERROR is not set
|
# CONFIG_HCI_TRACE_LEVEL_ERROR is not set
|
||||||
CONFIG_HCI_TRACE_LEVEL_WARNING=y
|
CONFIG_HCI_TRACE_LEVEL_WARNING=y
|
||||||
|
@ -2097,34 +2149,19 @@ CONFIG_BLUFI_TRACE_LEVEL_WARNING=y
|
||||||
# CONFIG_BLUFI_TRACE_LEVEL_DEBUG is not set
|
# CONFIG_BLUFI_TRACE_LEVEL_DEBUG is not set
|
||||||
# CONFIG_BLUFI_TRACE_LEVEL_VERBOSE is not set
|
# CONFIG_BLUFI_TRACE_LEVEL_VERBOSE is not set
|
||||||
CONFIG_BLUFI_INITIAL_TRACE_LEVEL=2
|
CONFIG_BLUFI_INITIAL_TRACE_LEVEL=2
|
||||||
# CONFIG_BLE_HOST_QUEUE_CONGESTION_CHECK is not set
|
|
||||||
CONFIG_SMP_ENABLE=y
|
CONFIG_SMP_ENABLE=y
|
||||||
# CONFIG_BLE_ACTIVE_SCAN_REPORT_ADV_SCAN_RSP_INDIVIDUALLY is not set
|
|
||||||
CONFIG_BLE_ESTABLISH_LINK_CONNECTION_TIMEOUT=30
|
|
||||||
# CONFIG_BTDM_CONTROLLER_MODE_BLE_ONLY is not set
|
# CONFIG_BTDM_CONTROLLER_MODE_BLE_ONLY is not set
|
||||||
# CONFIG_BTDM_CONTROLLER_MODE_BR_EDR_ONLY is not set
|
CONFIG_BTDM_CONTROLLER_MODE_BR_EDR_ONLY=y
|
||||||
CONFIG_BTDM_CONTROLLER_MODE_BTDM=y
|
# CONFIG_BTDM_CONTROLLER_MODE_BTDM is not set
|
||||||
CONFIG_BTDM_CONTROLLER_BLE_MAX_CONN=3
|
|
||||||
CONFIG_BTDM_CONTROLLER_BR_EDR_MAX_ACL_CONN=2
|
CONFIG_BTDM_CONTROLLER_BR_EDR_MAX_ACL_CONN=2
|
||||||
CONFIG_BTDM_CONTROLLER_BR_EDR_MAX_SYNC_CONN=0
|
CONFIG_BTDM_CONTROLLER_BR_EDR_MAX_SYNC_CONN=0
|
||||||
CONFIG_BTDM_CONTROLLER_BLE_MAX_CONN_EFF=3
|
CONFIG_BTDM_CONTROLLER_BLE_MAX_CONN_EFF=0
|
||||||
CONFIG_BTDM_CONTROLLER_BR_EDR_MAX_ACL_CONN_EFF=2
|
CONFIG_BTDM_CONTROLLER_BR_EDR_MAX_ACL_CONN_EFF=2
|
||||||
CONFIG_BTDM_CONTROLLER_BR_EDR_MAX_SYNC_CONN_EFF=0
|
CONFIG_BTDM_CONTROLLER_BR_EDR_MAX_SYNC_CONN_EFF=0
|
||||||
CONFIG_BTDM_CONTROLLER_PINNED_TO_CORE=0
|
CONFIG_BTDM_CONTROLLER_PINNED_TO_CORE=0
|
||||||
CONFIG_BTDM_CONTROLLER_HCI_MODE_VHCI=y
|
CONFIG_BTDM_CONTROLLER_HCI_MODE_VHCI=y
|
||||||
# CONFIG_BTDM_CONTROLLER_HCI_MODE_UART_H4 is not set
|
# CONFIG_BTDM_CONTROLLER_HCI_MODE_UART_H4 is not set
|
||||||
CONFIG_BTDM_CONTROLLER_MODEM_SLEEP=y
|
CONFIG_BTDM_CONTROLLER_MODEM_SLEEP=y
|
||||||
CONFIG_BLE_SCAN_DUPLICATE=y
|
|
||||||
CONFIG_SCAN_DUPLICATE_BY_DEVICE_ADDR=y
|
|
||||||
# CONFIG_SCAN_DUPLICATE_BY_ADV_DATA is not set
|
|
||||||
# CONFIG_SCAN_DUPLICATE_BY_ADV_DATA_AND_DEVICE_ADDR is not set
|
|
||||||
CONFIG_SCAN_DUPLICATE_TYPE=0
|
|
||||||
CONFIG_DUPLICATE_SCAN_CACHE_SIZE=200
|
|
||||||
# CONFIG_BLE_MESH_SCAN_DUPLICATE_EN is not set
|
|
||||||
CONFIG_BTDM_CONTROLLER_FULL_SCAN_SUPPORTED=y
|
|
||||||
CONFIG_BLE_ADV_REPORT_FLOW_CONTROL_SUPPORTED=y
|
|
||||||
CONFIG_BLE_ADV_REPORT_FLOW_CONTROL_NUM=100
|
|
||||||
CONFIG_BLE_ADV_REPORT_DISCARD_THRSHOLD=20
|
|
||||||
CONFIG_ADC2_DISABLE_DAC=y
|
CONFIG_ADC2_DISABLE_DAC=y
|
||||||
# CONFIG_MCPWM_ISR_IN_IRAM is not set
|
# CONFIG_MCPWM_ISR_IN_IRAM is not set
|
||||||
# CONFIG_SW_COEXIST_ENABLE is not set
|
# CONFIG_SW_COEXIST_ENABLE is not set
|
||||||
|
@ -2133,12 +2170,15 @@ CONFIG_ADC2_DISABLE_DAC=y
|
||||||
# CONFIG_EVENT_LOOP_PROFILING is not set
|
# CONFIG_EVENT_LOOP_PROFILING is not set
|
||||||
CONFIG_POST_EVENTS_FROM_ISR=y
|
CONFIG_POST_EVENTS_FROM_ISR=y
|
||||||
CONFIG_POST_EVENTS_FROM_IRAM_ISR=y
|
CONFIG_POST_EVENTS_FROM_IRAM_ISR=y
|
||||||
|
CONFIG_GDBSTUB_SUPPORT_TASKS=y
|
||||||
|
CONFIG_GDBSTUB_MAX_TASKS=32
|
||||||
# CONFIG_OTA_ALLOW_HTTP is not set
|
# CONFIG_OTA_ALLOW_HTTP is not set
|
||||||
CONFIG_TWO_UNIVERSAL_MAC_ADDRESS=y
|
CONFIG_TWO_UNIVERSAL_MAC_ADDRESS=y
|
||||||
# CONFIG_FOUR_UNIVERSAL_MAC_ADDRESS is not set
|
# CONFIG_FOUR_UNIVERSAL_MAC_ADDRESS is not set
|
||||||
CONFIG_NUMBER_OF_UNIVERSAL_MAC_ADDRESS=2
|
CONFIG_NUMBER_OF_UNIVERSAL_MAC_ADDRESS=2
|
||||||
# CONFIG_ESP_SYSTEM_PD_FLASH is not set
|
# CONFIG_ESP_SYSTEM_PD_FLASH is not set
|
||||||
CONFIG_ESP32_DEEP_SLEEP_WAKEUP_DELAY=2000
|
CONFIG_ESP32_DEEP_SLEEP_WAKEUP_DELAY=2000
|
||||||
|
CONFIG_ESP_SLEEP_DEEP_SLEEP_WAKEUP_DELAY=2000
|
||||||
CONFIG_ESP32_RTC_CLK_SRC_INT_RC=y
|
CONFIG_ESP32_RTC_CLK_SRC_INT_RC=y
|
||||||
CONFIG_ESP32_RTC_CLOCK_SOURCE_INTERNAL_RC=y
|
CONFIG_ESP32_RTC_CLOCK_SOURCE_INTERNAL_RC=y
|
||||||
# CONFIG_ESP32_RTC_CLK_SRC_EXT_CRYS is not set
|
# CONFIG_ESP32_RTC_CLK_SRC_EXT_CRYS is not set
|
||||||
|
@ -2232,15 +2272,13 @@ CONFIG_ESP32_WIFI_MGMT_SBUF_NUM=32
|
||||||
# CONFIG_ESP32_WIFI_IRAM_OPT is not set
|
# CONFIG_ESP32_WIFI_IRAM_OPT is not set
|
||||||
# CONFIG_ESP32_WIFI_RX_IRAM_OPT is not set
|
# CONFIG_ESP32_WIFI_RX_IRAM_OPT is not set
|
||||||
# CONFIG_ESP32_WIFI_ENABLE_WPA3_SAE is not set
|
# CONFIG_ESP32_WIFI_ENABLE_WPA3_SAE is not set
|
||||||
CONFIG_ESP32_WIFI_ENABLE_WPA3_OWE_STA=y
|
# CONFIG_ESP32_WIFI_ENABLE_WPA3_OWE_STA is not set
|
||||||
CONFIG_WPA_MBEDTLS_CRYPTO=y
|
# CONFIG_WPA_MBEDTLS_CRYPTO is not set
|
||||||
CONFIG_WPA_MBEDTLS_TLS_CLIENT=y
|
|
||||||
# CONFIG_WPA_WAPI_PSK is not set
|
# CONFIG_WPA_WAPI_PSK is not set
|
||||||
# CONFIG_WPA_11KV_SUPPORT is not set
|
# CONFIG_WPA_11KV_SUPPORT is not set
|
||||||
# CONFIG_WPA_MBO_SUPPORT is not set
|
# CONFIG_WPA_MBO_SUPPORT is not set
|
||||||
# CONFIG_WPA_DPP_SUPPORT is not set
|
# CONFIG_WPA_DPP_SUPPORT is not set
|
||||||
# CONFIG_WPA_11R_SUPPORT is not set
|
# CONFIG_WPA_11R_SUPPORT is not set
|
||||||
# CONFIG_WPA_WPS_SOFTAP_REGISTRAR is not set
|
|
||||||
# CONFIG_WPA_WPS_STRICT is not set
|
# CONFIG_WPA_WPS_STRICT is not set
|
||||||
# CONFIG_WPA_DEBUG_PRINT is not set
|
# CONFIG_WPA_DEBUG_PRINT is not set
|
||||||
# CONFIG_WPA_TESTING_OPTIONS is not set
|
# CONFIG_WPA_TESTING_OPTIONS is not set
|
||||||
|
|
Loading…
Reference in New Issue
Block a user