Giter Club home page Giter Club logo

arduino_esp32_himem's Introduction

arduino_esp32_himem

ESP32 รุ่น WROOM32 เป็น ESP32 รุ่นที่สนับสนุน RAM ภายนอก (PSRAM/ SPI RAM)
สำหรับ ArduinoIDE ปกติจะสามารถเข้าถึง ได้เพียง 4MB แรกเท่านั้น
แม้ตัว RAM ภายนอกบางรุ่นได้ต่อไว้ถึง 8MB ก็ตาม

การเข้าถึงคำสั่ง 4MB ส่วนบน (ESP32 HIMEM) สำหรับบน Arduino จะยังไม่สามารถเข้าถึงได้

เช่น คำสั่ง esp_himem_get_phys_size();
--> คำสั่งสำหรับแสดงขนาด พื้นที่ PSRAM ส่วน HIMEM ที่เกินจาก 4MB แรก

คำสั่ง esp_himem_get_free_size();
--> คำสั่งสำหรับแสดงขนาดพื้นที่ส่วน PSRAM ส่วน HIMEM ที่จะสามารถจองพื้นที่ได้

ฯลฯ บน Arduino จะไม่สามารถเรียกใช้งานได้
ตลอดจนคำสั่งจองพื้นที่เม็มในส่วนบนนี้

เพื่อการนำ RAM ภายนอกมาใช้งานได้มากขึ้น
source code ใน repository นี้
จะเป็นตัวเสริมที่ทำให้ Arduino-ESP32 สามารถเข้าถึงคำสั่งจัดการ 4MB ส่วนบน ของ PSRAM ได้ด้วย

Usage

  1. Copy files in folder /core to your Arduino platform folder at
C:\Users\<USER NAME>\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.2\cores
  1. Test Arduino Sketch by /example/ESP32_PSRAM_Himem/ESP32_PSRAM_Himem.ino

image

TridentTD
25 June 2018

arduino_esp32_himem's People

Contributors

tridenttd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

arduino_esp32_himem's Issues

ESP32 Wrover 16MB

Do yo know if this library will give access to the full 16MB PSRAM on some WROVER-B modules?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.