🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    "New 16MB" M5Stack - Core - Grey, but only 4MB on Arduino?

    Arduino
    1
    1
    2.9k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      SarahC
      last edited by

      https://docs.m5stack.com/en/core/gray
      On the spec grid it says: Flash Memory............ 16MB (old: 4MB)

      But checking the Arduino boards.txt file:
      m5stack-core-esp32.name=M5Stack-Core-ESP32
      m5stack-core-esp32.upload.tool=esptool_py
      m5stack-core-esp32.upload.maximum_size=1310720
      m5stack-core-esp32.upload.maximum_data_size=327680
      m5stack-core-esp32.build.board=M5Stack_Core_ESP32
      m5stack-core-esp32.build.f_cpu=240000000L
      m5stack-core-esp32.build.flash_size=4MB

      4MB!

      My question then is..... Am I able to upload a program to my Core-Grey that shows available Flash memory that WON'T be effected by what Arduino thinks it should be? My concern is that these details here will effect what the functions report after the sketch is uploaded, and I'll never see 16MB if it's there.

      ( C:\Users[--user--]\ AppData\Local\ Arduino15\packages\ esp32\hardware\esp32\ 1.0.6\boards.txt )

      My plan is to tweak the boards.txt file to match the Core2 if I find the board has 16MB flash.

      It's a pity that the M5Stack new revision with 16MB flash doesn't report itself as a slightly different version, so IDE's like Arduino can see them!

      1 Reply Last reply Reply Quote 0
      • First post
        Last post