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

    Using PlatformIO (VS Code) with Tab5

    PROJECTS
    2
    2
    42
    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.
    • R
      RonaldoDuarte
      last edited by

      Has anyone used VS Code/PlatformIO to successfully program the new Tab5? If yes, how to configure the board in platformio.ini?

      1 Reply Last reply Reply Quote 0
      • kurikoK
        kuriko
        last edited by

        [env:esp32p4_pioarduino]
        platform = https://github.com/pioarduino/platform-espressif32.git#54.03.20
        upload_speed = 1500000
        monitor_speed = 115200
        build_type = debug
        framework = arduino
        board = esp32-p4-evboard
        board_build.mcu = esp32p4
        board_build.flash_mode = qio
        
        build_flags =  
            -DBOARD_HAS_PSRAM
            -DCORE_DEBUG_LEVEL=5
            -DARDUINO_USB_CDC_ON_BOOT=1
        	-DARDUINO_USB_MODE=1
        
        
        lib_deps = 
            https://github.com/M5Stack/M5Unified.git
            https://github.com/M5Stack/M5GFX.git
        

        Good morning, and welcome to the Black Mesa Transit System.

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