Navigation

    M5Stack Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. jdonth
    3. Best
    J
    • Continue chat with jdonth
    • Start new chat with jdonth
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups

    Best posts made by jdonth

    • RE: Looking for Factory Test Source code for Core2

      @erich
      Thank you for your suggestion. I downloaded and ran the EasyLoader code and my unit runs the Core2_Test with the proper microphone (per the FFT bar graph).

      Compiling the code at https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Core/M5Core2/Arduino/Core2_Factory_Test

      When I run the Core2_Factory_Test I get no microphone indication (and the speaker is silent during the scrolling test phase).

      I am assuming I have some misconfiguration in my Ardunio IDE but I don't know where. The following is the compiler messages from when I compile the test program (sorry for the size, I don't know what I can safely edit, except for [many] repeated warning:excess elements in array initializer):

      C:\Users\jld\Documents\Arduino\Core2_Factory_test\SettingAppImage.c:3169:56: warning: excess elements in array initializer
      C:\Users\jld\Documents\Arduino\Core2_Factory_test\Core2_Factory_test.ino: In function 'bool InitI2SSpakerOrMic(int)':
      C:\Users\jld\Documents\Arduino\Core2_Factory_test\Core2_Factory_test.ino:291:33: warning: 'I2S_COMM_FORMAT_I2S' is deprecated [-Wdeprecated-declarations]
      .communication_format = I2S_COMM_FORMAT_I2S,
      ^~~~~~~~~~~~~~~~~~~
      In file included from C:\Users\jld\AppData\Local\Arduino15\packages\m5stack\hardware\esp32\2.0.1/tools/sdk/esp32/include/driver/include/driver/i2s.h:16,
      from C:\Users\jld\Documents\Arduino\Core2_Factory_test\Core2_Factory_test.ino:2:
      C:\Users\jld\AppData\Local\Arduino15\packages\m5stack\hardware\esp32\2.0.1/tools/sdk/esp32/include/hal/include/hal/i2s_types.h:95:5: note: declared here
      I2S_COMM_FORMAT_I2S attribute((deprecated)) = 0x01, /
      !< I2S communication format I2S, correspond to I2S_COMM_FORMAT_STAND_I2S*/
      ^~~~~~~~~~~~~~~~~~~
      Sketch uses 1360173 bytes (20%) of program storage space. Maximum is 6553600 bytes.
      Global variables use 49368 bytes (1%) of dynamic memory, leaving 4472616 bytes for local variables. Maximum is 4521984 bytes.*

      posted in Core 2
      J
      jdonth