Skip to content

Commit

Permalink
Merge 60f57d2 into lvgl_javascript_v8
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Jul 14, 2022
2 parents 7b42aed + 60f57d2 commit 8d54ecd
Show file tree
Hide file tree
Showing 6 changed files with 44 additions and 98 deletions.
25 changes: 25 additions & 0 deletions ports/esp32/boards/M5CORE2/board.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"deploy": [
"../deploy.md"
],
"docs": "https://docs.m5stack.com/en/core/core2",
"features": [
"BLE",
"WiFi",
"SPIRAM",
"IMU",
"RTC",
"PMU",
"SDCard",
"Microphone",
"USB-C"
],
"images": [
"m5core2.jpg"
],
"mcu": "esp32",
"product": "M5Stack Core2",
"thumbnail": "",
"url": "https://m5stack.com/",
"vendor": "M5 Stack"
}
2 changes: 1 addition & 1 deletion ports/esp32/boards/M5CORE2/manifest.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
freeze("modules")
include("$(PORT_DIR)/boards/manifest.py")
freeze("./modules")
88 changes: 0 additions & 88 deletions ports/esp32/boards/M5CORE2/modules/inisetup.py

This file was deleted.

18 changes: 18 additions & 0 deletions ports/esp32/boards/M5CORE2/modules/m5core2.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name = "m5core2"

def init():
# Init LVGL
import lvgl as lv
lv.init()

# Power Management
from power import Power
Power()

# LCD screen
from ili9XXX import ili9341
ili9341(mosi=23, miso=38, clk=18, dc=15, cs=5, invert=True, rot=0x10, width=320, height=240, rst=-1, power=-1, backlight=-1)

# Touch sensor
from ft6x36 import ft6x36
ft6x36(width=320, height=280)
File renamed without changes.
9 changes: 0 additions & 9 deletions ports/esp32/boards/M5CORE2/mpconfigboard.mk

This file was deleted.

0 comments on commit 8d54ecd

Please sign in to comment.