Skip to content

Commit b3474d5

Browse files
committed
libs/base: Add Echo Base support.
Signed-off-by: lbuque <[email protected]>
1 parent cb4f90a commit b3474d5

File tree

45 files changed

+727
-27
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+727
-27
lines changed

docs/en/base/echo.rst

+127
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,127 @@
1+
Atomic Echo Base
2+
================
3+
4+
.. sku: A149
5+
6+
.. include:: ../refs/base.echo.ref
7+
8+
The following products are supported:
9+
10+
|Atomic Echo Base|
11+
12+
Below is the detailed support for Speaker on the host:
13+
14+
.. table::
15+
:widths: auto
16+
:align: center
17+
18+
+-----------------+-------------------+
19+
|Controller | Atomic Echo Base |
20+
+=================+===================+
21+
| Atom Echo | |O| |
22+
+-----------------+-------------------+
23+
| Atom Lite | |S| |
24+
+-----------------+-------------------+
25+
| Atom Matrix | |S| |
26+
+-----------------+-------------------+
27+
| AtomS3 | |S| |
28+
+-----------------+-------------------+
29+
| AtomS3 Lite | |S| |
30+
+-----------------+-------------------+
31+
| AtomS3R | |S| |
32+
+-----------------+-------------------+
33+
| AtomS3R-CAM | |S| |
34+
+-----------------+-------------------+
35+
| AtomS3R-Ext | |S| |
36+
+-----------------+-------------------+
37+
38+
.. |S| unicode:: U+2705
39+
.. |O| unicode:: U+2B55
40+
41+
42+
Micropython Example:
43+
44+
.. literalinclude:: ../../../examples/base/echo/atoms3_echo_example.py
45+
:language: python
46+
:linenos:
47+
48+
49+
UIFLOW2 Example:
50+
51+
|example.png|
52+
53+
54+
.. only:: builder_html
55+
56+
|atoms3_echo_example.m5f2|
57+
58+
59+
class ATOMEchoBase
60+
------------------
61+
62+
Constructors
63+
------------
64+
65+
.. class:: ATOMEchoBase(i2c, address: int = 0x18, i2s_port: int = 1, sample_rate: int = 44100, i2s_sck: int = -1, i2s_ws: int = -1, i2s_di: int = -1, i2s_do: int = -1)
66+
67+
Create an ATOMEchoBase object.
68+
69+
:param I2C i2c: I2C object
70+
:param int address: The I2C address of the ES8311. Default is 0x18.
71+
:param int i2s_port: The I2S port number. Default is 1.
72+
:param int sample_rate: The sample rate of the audio. Default is 44100.
73+
:param int i2s_sck: The I2S SCK pin. Default is -1.
74+
:param int i2s_ws: The I2S WS pin. Default is -1.
75+
:param int i2s_di: The I2S DI pin. Default is -1.
76+
:param int i2s_do: The I2S DO pin. Default is -1.
77+
78+
UIFLOW2:
79+
80+
|init.png|
81+
82+
Micropython::
83+
84+
from hardware import I2C
85+
from hardware import Pin
86+
from base import ATOMEchoBase
87+
88+
# atom echo
89+
i2c1 = I2C(1, scl=Pin(21), sda=Pin(25), freq=100000)
90+
echo = ATOMEchoBase(i2c1, address=0x18, i2s_port=1, sample_rate=44100, i2s_sck=33, i2s_ws=19, i2s_di=23, i2s_do=22)
91+
92+
# atom lite
93+
i2c1 = I2C(1, scl=Pin(21), sda=Pin(25), freq=100000)
94+
echo = ATOMEchoBase(i2c1, address=0x18, i2s_port=1, sample_rate=44100, i2s_sck=33, i2s_ws=19, i2s_di=23, i2s_do=22)
95+
96+
# atom matrix
97+
i2c1 = I2C(1, scl=Pin(21), sda=Pin(25), freq=100000)
98+
echo = ATOMEchoBase(i2c1, address=0x18, i2s_port=1, sample_rate=44100, i2s_sck=33, i2s_ws=19, i2s_di=23, i2s_do=22)
99+
100+
# atoms3 / atoms3 lite
101+
i2c1 = I2C(1, scl=Pin(39), sda=Pin(38), freq=100000)
102+
echo = ATOMEchoBase(i2c1, address=0x18, i2s_port=1, sample_rate=44100, i2s_sck=8, i2s_ws=6, i2s_di=7, i2s_do=5)
103+
104+
# atoms3r / atoms3r-cam / atoms3-ext
105+
i2c1 = I2C(1, scl=Pin(39), sda=Pin(38), freq=100000)
106+
echo = ATOMEchoBase(i2c1, address=0x18, i2s_port=1, sample_rate=44100, i2s_sck=8, i2s_ws=6, i2s_di=7, i2s_do=5)
107+
108+
echo.speaker.tone(2000, 1000)
109+
echo.speaker.playWavFile('res/audio/66.wav')
110+
111+
112+
Attributes
113+
----------
114+
115+
.. attribute:: ATOMEchoBase.speaker
116+
117+
Objects of the Speaker class.
118+
119+
See :ref:`hardware.Speaker.Methods <hardware.Speaker.Methods>` for more details on how to use the ATOMEchoBase.speaker properties.
120+
121+
.. attribute:: ATOMEchoBase.microphone
122+
123+
Objects of the Microphone class.
124+
125+
See :ref:`hardware.Mic.Methods <hardware.Mic.Methods>` for more details on how to use the ATOMEchoBase.microphone properties.
126+
127+
.. Note:: Microphone is not quite ready yet.

docs/en/base/index.rst

+1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ Base
66

77
atom_can.rst
88
atom_socket.rst
9+
echo.rst
910
motion.rst

docs/en/hardware/mic.rst

+1
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ class Mic
5959

6060
All calls to methods of Mic objects should be placed after ``M5.begin()`` |M5.begin.svg|, and ``M5.update()`` |M5.update.svg| should be called in the main loop.
6161

62+
.. _hardware.Mic.Methods:
6263

6364
Methods
6465
-------

docs/en/hardware/speaker.rst

+1
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ class Speaker
9696

9797
All calls to methods of Speaker objects should be placed after ``M5.begin()`` |M5.begin.png|, and ``M5.update()`` |M5.update.png| should be called in the main loop.
9898

99+
.. _hardware.Speaker.Methods:
99100

100101
Methods
101102
-------

docs/en/refs/base.echo.ref

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
2+
.. |Atomic Echo Base| image:: https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/products/atom/Atomic%20Echo%20Base/4.webp
3+
:target: https://docs.m5stack.com/en/atom/Atomic%20Echo%20Base
4+
:height: 200px
5+
:width: 200px
6+
7+
.. |init.png| image:: https://static-cdn.m5stack.com/mpy_docs/base/echo/init.png
8+
9+
.. |example.png| image:: https://static-cdn.m5stack.com/mpy_docs/base/echo/example.png
10+
11+
.. |atoms3_echo_example.m5f2| raw:: html
12+
13+
<a
14+
href="https://uiflow2.m5stack.com/?example=https://raw.githubusercontent.com/m5stack/uiflow-micropython/examples/base/echo/atoms3_echo_example.m5f2"
15+
target="_blank"
16+
>
17+
atoms3_echo_example.m5f2
18+
</a>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"version":"V2.0","versionNumber":"V2.2.1","type":"atoms3","components":[{"name":"screen","type":"screen","layer":0,"screenId":"builtin","screenName":"","id":"__atoms3_screen","createTime":1737084553743,"x":0,"y":0,"width":128,"height":128,"backgroundColor":"#000000","size":0,"isSelected":true}],"resources":[{"hardware":["hardware_button","hardware_pin_button","imu","ir","i2c"]},{"base":["base_echo"]}],"units":[],"hats":[],"bases":[{"type":"base_echo","name":"base_echo","id":"d8-tdmntVcKjGf1j","createTime":1737084559333,"bus":"i2c1","busList":["i2c1"],"initBlockType":"base_echo_init","initBlockId":"H}ly|!9vSHD`qKl!2f*|"}],"i2cs":[{"id":"i2c1","portType":"base","userPort":[22,21],"freq":"100000","blockId":"*s+UDC|ce#xZ2`(CF4;8"}],"blockly":"<block type=\"basic_on_setup\" id=\"setup_block\" deletable=\"false\" x=\"50\" y=\"50\"><mutation isBegin=\"true\"></mutation><field name=\"UPDATEOP\">true</field><statement name=\"FUNC\"><block type=\"system_m5_begin\" id=\"system_m5_begin\"><next><block type=\"i2c_init\" id=\"*s+UDC|ce#xZ2`(CF4;8\"><field name=\"NAME\">1</field><field name=\"FREQ\">100000</field><value name=\"SCL\"><shadow type=\"math_number\" id=\"{Gxla#PlyL@S7J~h6sc:\"><mutation max=\"Infinity\" min=\"-Infinity\" precision=\"0\"></mutation><field name=\"NUM\">39</field></shadow></value><value name=\"SDA\"><shadow type=\"math_number\" id=\"#GFI]lvsIf^UVJ(tISpx\"><mutation max=\"Infinity\" min=\"-Infinity\" precision=\"0\"></mutation><field name=\"NUM\">38</field></shadow></value><next><block type=\"base_echo_init\" id=\"H}ly|!9vSHD`qKl!2f*|\"><value name=\"ADDR\"><shadow type=\"base_echo_addr_option\" id=\";,hvvs,0zapXP8Z.NbB]\"><field name=\"VALUE\">0x18</field></shadow></value><value name=\"I2S\"><shadow type=\"math_number\" id=\"^hWuV%j)K2w4j:E_Gv+-\"><mutation max=\"Infinity\" min=\"-Infinity\" precision=\"0\"></mutation><field name=\"NUM\">1</field></shadow></value><value name=\"RATE\"><shadow type=\"math_number\" id=\"Ld|lA0H@0,GIj)KI6Dqn\"><mutation max=\"Infinity\" min=\"-Infinity\" precision=\"0\"></mutation><field name=\"NUM\">44100</field></shadow></value><value name=\"SCK\"><shadow type=\"math_number\" id=\"1mAX7|Cs:s/9lVSAwiz^\"><mutation max=\"Infinity\" min=\"-Infinity\" precision=\"0\"></mutation><field name=\"NUM\">8</field></shadow></value><value name=\"WS\"><shadow type=\"math_number\" id=\"c+f`-Sed25i.fP-{.$P4\"><mutation max=\"Infinity\" min=\"-Infinity\" precision=\"0\"></mutation><field name=\"NUM\">6</field></shadow></value><value name=\"DI\"><shadow type=\"math_number\" id=\"%{4ZvrX_GW+}m3T6.w/F\"><mutation max=\"Infinity\" min=\"-Infinity\" precision=\"0\"></mutation><field name=\"NUM\">7</field></shadow></value><value name=\"DO\"><shadow type=\"math_number\" id=\"E)*5IuG,@HH!qo,)[X5*\"><mutation max=\"Infinity\" min=\"-Infinity\" precision=\"0\"></mutation><field name=\"NUM\">5</field></shadow></value><next><block type=\"base_echo_speaker_playwav_file\" id=\"^Sz3-Oz%S-E0qX$WE`51\"><field name=\"TYPE\">flash</field><value name=\"FILE\"><shadow type=\"text\" id=\"+O*RoJOeJ:{SrwYyjWbU\"><field name=\"TEXT\">66.wav</field></shadow></value></block></next></block></next></block></next></block></statement></block><block type=\"basic_on_loop\" id=\"loop_block\" deletable=\"false\" x=\"450\" y=\"50\"><mutation isUpdate=\"true\"></mutation><field name=\"UPDATEOP\">true</field><statement name=\"FUNC\"><block type=\"system_m5_update\" id=\"system_m5_update\"></block></statement></block>","screen":[{"simulationName":"Built-in","type":"builtin","width":128,"height":128,"scale":1.3,"screenName":"","blockId":"","screenColorType":0,"id":"builtin","createTime":1737084553743}],"logicWhenNum":0,"customList":[]}
+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# SPDX-FileCopyrightText: 2024 M5Stack Technology CO LTD
2+
#
3+
# SPDX-License-Identifier: MIT
4+
5+
import os, sys, io
6+
import M5
7+
from M5 import *
8+
from hardware import I2C
9+
from hardware import Pin
10+
from base import ATOMEchoBase
11+
12+
13+
i2c1 = None
14+
base_echo = None
15+
16+
17+
def setup():
18+
global i2c1, base_echo
19+
20+
M5.begin()
21+
i2c1 = I2C(1, scl=Pin(39), sda=Pin(38), freq=100000)
22+
base_echo = ATOMEchoBase(i2c1, 0x18, 1, 44100, 8, 6, 7, 5)
23+
base_echo.speaker.playWavFile("/flash/res/audio/66.wav")
24+
25+
26+
def loop():
27+
global i2c1, base_echo
28+
M5.update()
29+
30+
31+
if __name__ == "__main__":
32+
try:
33+
setup()
34+
while True:
35+
loop()
36+
except (Exception, KeyboardInterrupt) as e:
37+
try:
38+
from utility import print_error_msg
39+
40+
print_error_msg(e)
41+
except ImportError:
42+
print("please update to latest firmware")

m5stack/boards/M5STACK_AirQ/sdkconfig.board

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ CONFIG_TINYUSB_DESC_CDC_STRING="M5Stack AirQ(UiFlow2)"
1818
# SSL
1919
CONFIG_MBEDTLS_AES_USE_INTERRUPT=n
2020

21-
CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y
21+
CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y

m5stack/boards/M5STACK_AtomS3/sdkconfig.board

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ CONFIG_TINYUSB_DESC_CDC_STRING="M5Stack AtomS3(UiFlow2)"
1818
# SSL
1919
CONFIG_MBEDTLS_AES_USE_INTERRUPT=n
2020

21-
CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y
21+
CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y

m5stack/boards/M5STACK_AtomS3R/sdkconfig.board

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ CONFIG_TINYUSB_DESC_CDC_STRING="M5Stack AtomS3R(UiFlow2)"
1818
# SSL
1919
CONFIG_MBEDTLS_AES_USE_INTERRUPT=n
2020

21-
CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y
21+
CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y

m5stack/boards/M5STACK_AtomS3U/sdkconfig.board

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ CONFIG_TINYUSB_DESC_CDC_STRING="M5Stack AtomS3U(UiFlow2)"
1818
# SSL
1919
CONFIG_MBEDTLS_AES_USE_INTERRUPT=n
2020

21-
CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y
21+
CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y

m5stack/boards/M5STACK_AtomS3_Lite/sdkconfig.board

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ CONFIG_TINYUSB_DESC_CDC_STRING="M5Stack AtomS3Lite(UiFlow2)"
1818
# SSL
1919
CONFIG_MBEDTLS_AES_USE_INTERRUPT=n
2020

21-
CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y
21+
CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y

m5stack/boards/M5STACK_AtomU/sdkconfig.board

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ CONFIG_ESPTOOLPY_FLASHFREQ_80M=y
1111
CONFIG_ESPTOOLPY_FLASHFREQ="80m"
1212
CONFIG_ESPTOOLPY_FLASHMODE_QIO=y
1313

14-
CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y
14+
CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y

m5stack/boards/M5STACK_Atom_Lite/sdkconfig.board

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ CONFIG_ESPTOOLPY_FLASHFREQ_80M=y
1111
CONFIG_ESPTOOLPY_FLASHFREQ="80m"
1212
CONFIG_ESPTOOLPY_FLASHMODE_QIO=y
1313

14-
CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y
14+
CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y

m5stack/boards/M5STACK_Atom_Matrix/sdkconfig.board

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ CONFIG_ESPTOOLPY_FLASHFREQ_80M=y
1111
CONFIG_ESPTOOLPY_FLASHFREQ="80m"
1212
CONFIG_ESPTOOLPY_FLASHMODE_QIO=y
1313

14-
CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y
14+
CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y

m5stack/boards/M5STACK_Basic/sdkconfig.board

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ CONFIG_ESPTOOLPY_FLASHFREQ_80M=y
1111
CONFIG_ESPTOOLPY_FLASHFREQ="80m"
1212
CONFIG_ESPTOOLPY_FLASHMODE_QIO=y
1313

14-
CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y
14+
CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y

m5stack/boards/M5STACK_Basic_4MB/sdkconfig.board

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ CONFIG_ESPTOOLPY_FLASHFREQ_80M=y
1111
CONFIG_ESPTOOLPY_FLASHFREQ="80m"
1212
CONFIG_ESPTOOLPY_FLASHMODE_QIO=y
1313

14-
CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y
14+
CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y

m5stack/boards/M5STACK_Capsule/sdkconfig.board

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ CONFIG_TINYUSB_DESC_CDC_STRING="M5Stack Capsule(UiFlow2)"
1818
# SSL
1919
CONFIG_MBEDTLS_AES_USE_INTERRUPT=n
2020

21-
CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y
21+
CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y

m5stack/boards/M5STACK_Cardputer/sdkconfig.board

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ CONFIG_TINYUSB_DESC_CDC_STRING="M5Stack Cardputer(UiFlow2)"
1818
# SSL
1919
CONFIG_MBEDTLS_AES_USE_INTERRUPT=n
2020

21-
CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y
21+
CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y

m5stack/boards/M5STACK_Core2/sdkconfig.board

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ CONFIG_SPIRAM_SPEED_80M=y
2323
# CONFIG_SPIRAM_MALLOC_RESERVE_INTERNAL=16384
2424
CONFIG_SPIRAM_TRY_ALLOCATE_WIFI_LWIP=y
2525

26-
CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y
26+
CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y

m5stack/boards/M5STACK_CoreInk/sdkconfig.board

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ CONFIG_ESPTOOLPY_FLASHFREQ_80M=y
1111
CONFIG_ESPTOOLPY_FLASHFREQ="80m"
1212
CONFIG_ESPTOOLPY_FLASHMODE_QIO=y
1313

14-
CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y
14+
CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y

m5stack/boards/M5STACK_Dial/sdkconfig.board

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ CONFIG_TINYUSB_DESC_CDC_STRING="M5Stack Dial(UiFlow2)"
1818
# SSL
1919
CONFIG_MBEDTLS_AES_USE_INTERRUPT=n
2020

21-
CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y
21+
CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y

m5stack/boards/M5STACK_DinMeter/sdkconfig.board

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ CONFIG_TINYUSB_DESC_CDC_STRING="M5Stack DinMeter(UiFlow2)"
1818
# SSL
1919
CONFIG_MBEDTLS_AES_USE_INTERRUPT=n
2020

21-
CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y
21+
CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y

m5stack/boards/M5STACK_Fire/sdkconfig.board

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ CONFIG_SPIRAM_SPEED_80M=y
3939
# CONFIG_SPIRAM_MALLOC_RESERVE_INTERNAL=16384
4040
CONFIG_SPIRAM_TRY_ALLOCATE_WIFI_LWIP=y
4141

42-
CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y
42+
CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y

m5stack/boards/M5STACK_Paper/sdkconfig.board

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ CONFIG_SPIRAM_SPEED_80M=y
2323
# CONFIG_SPIRAM_MALLOC_RESERVE_INTERNAL=16384
2424
CONFIG_SPIRAM_TRY_ALLOCATE_WIFI_LWIP=y
2525

26-
CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y
26+
CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y

m5stack/boards/M5STACK_S3_8MB/sdkconfig.board

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ CONFIG_ESPTOOLPY_FLASHFREQ_80M=y
99
CONFIG_ESPTOOLPY_FLASHSIZE_DETECT=y
1010
CONFIG_ESPTOOLPY_AFTER_NORESET=y
1111

12-
CONFIG_SPIRAM_MEMTEST=
12+
CONFIG_SPIRAM_MEMTEST=

m5stack/boards/M5STACK_SPIRAM_16MB/sdkconfig.board

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ CONFIG_SPIRAM_SPEED_80M=y
2323
# CONFIG_SPIRAM_MALLOC_RESERVE_INTERNAL=16384
2424
CONFIG_SPIRAM_TRY_ALLOCATE_WIFI_LWIP=y
2525

26-
CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y
26+
CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y

m5stack/boards/M5STACK_SPIRAM_8MB/sdkconfig.board

+1
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,4 @@ CONFIG_SPIRAM_SPEED_80M=y
2222
# CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL=8192
2323
# CONFIG_SPIRAM_MALLOC_RESERVE_INTERNAL=16384
2424
CONFIG_SPIRAM_TRY_ALLOCATE_WIFI_LWIP=y
25+

m5stack/boards/M5STACK_StampS3/sdkconfig.board

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ CONFIG_TINYUSB_DESC_CDC_STRING="M5Stack StampS3(UiFlow2)"
1818
# SSL
1919
CONFIG_MBEDTLS_AES_USE_INTERRUPT=n
2020

21-
CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y
21+
CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y

m5stack/boards/M5STACK_Stamp_PICO/sdkconfig.board

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ CONFIG_ESPTOOLPY_FLASHFREQ_80M=y
1111
CONFIG_ESPTOOLPY_FLASHFREQ="80m"
1212
CONFIG_ESPTOOLPY_FLASHMODE_QIO=y
1313

14-
CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y
14+
CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y

m5stack/boards/M5STACK_Station/sdkconfig.board

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ CONFIG_ESPTOOLPY_FLASHFREQ_80M=y
1111
CONFIG_ESPTOOLPY_FLASHFREQ="80m"
1212
CONFIG_ESPTOOLPY_FLASHMODE_QIO=y
1313

14-
CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y
14+
CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y

m5stack/boards/M5STACK_StickC_PLUS/mpconfigboard.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ set(TINY_FLAG 1)
2727

2828
# NOTE: 这里的配置是无效的,仅为了兼容ADF,保证编译通过
2929
set(ADF_COMPS "$ENV{ADF_PATH}/components")
30-
set(ADF_BOARD_DIR "$ENV{ADF_PATH}/components/audio_board/lyrat_mini_v1_1")
30+
#set(ADF_BOARD_DIR "$ENV{ADF_PATH}/components/audio_board/lyrat_mini_v1_1")
3131

3232
list(APPEND EXTRA_COMPONENT_DIRS
3333
$ENV{ADF_PATH}/components/audio_pipeline

m5stack/boards/M5STACK_StickC_PLUS/sdkconfig.board

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@ CONFIG_ESPTOOLPY_FLASHFREQ_80M=y
1111
CONFIG_ESPTOOLPY_FLASHFREQ="80m"
1212
CONFIG_ESPTOOLPY_FLASHMODE_QIO=y
1313

14-
CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y
14+
CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y
15+
#CONFIG_FREERTOS_HZ=100

0 commit comments

Comments
 (0)