M5Cardputer user demo for hardware evaluation.
git clone https://github.com/m5stack/M5Cardputer-UserDemo
cd M5Cardputer-UserDemo
idf.py build
M5Cardputer user demo for hardware evaluation.
License: MIT License
M5Cardputer user demo for hardware evaluation.
git clone https://github.com/m5stack/M5Cardputer-UserDemo
cd M5Cardputer-UserDemo
idf.py build
After adding "arduinoesp32" to this project, with no personal code changes, the Cardputer boot loops with no display output.
I'm using ESP-IDF 4.4.6 as my build system, and added version 2.0.14 of arduinoesp32 to the project.
I've tried configuration changes to no avail. The errors below are from an unmodified pull (minus the addition of the library).
[1970-01-01 00:00:01.320] [info] init display
Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled.
0x4212e5a5: lgfx::v1::IPanel::width() const at c:\users\lithiuman\desktop\cardputer\components\lovyangfx\src\lgfx\v1/panel.hpp:103
(inlined by) lgfx::v1::LGFXBase::width() const at c:\users\lithiuman\desktop\cardputer\components\lovyangfx\src\lgfx\v1/LGFXBase.hpp:284
(inlined by) lgfx::v1::LGFXBase::clearClipRect() at c:\users\lithiuman\desktop\cardputer\components\lovyangfx\src\lgfx\v1/LGFXBase.cpp:118
0x4212e5a2: lgfx::v1::LGFXBase::clearClipRect() at c:\users\lithiuman\desktop\cardputer\components\lovyangfx\src\lgfx\v1/LGFXBase.cpp:117
0x42033ca5: lgfx::v1::LGFXBase::setRotation(unsigned int) at c:\users\lithiuman\desktop\cardputer\components\lovyangfx\src\lgfx\v1/LGFXBase.cpp:62
0x4202de31: lgfx::v1::LGFX_Sprite::createSprite(int, int) at c:\users\lithiuman\desktop\cardputer\components\lovyangfx\src\lgfx/v1/LGFX_Sprite.hpp:181
0x4202f126: HAL::HalCardputer::_display_init() at C:/Users/Lithiuman/Desktop/Cardputer/main/hal/hal_cardputer.cpp:36
0x4202f8f5: HAL::HalCardputer::init() at C:/Users/Lithiuman/Desktop/Cardputer/main/hal/hal_cardputer.cpp:119
0x42009df6: app_main at C:/Users/Lithiuman/Desktop/Cardputer/main/cardputer.cpp:38
0x42136591: main_task at C:/Espressif/frameworks/esp-idf-v4.4.6-2/components/freertos/port/port_common.c:141
0x4038497d: vPortTaskWrapper at C:/Espressif/frameworks/esp-idf-v4.4.6-2/components/freertos/port/xtensa/port.c:142
Any thoughts are appreciated :)
I installed esp-idf 4.4.6, ran . ./export.sh and when I try to run idf.py build:
Executing action: all (aliases: build)
Running ninja in directory /home/axon/source/M5Cardputer-UserDemo/build
Executing "ninja all"...
[0/1] Re-running CMake...
-- Building ESP-IDF components for target esp32s3
Processing 3 dependencies:
[1/3] espressif/cmake_utilities (0.5.2)
[2/3] espressif/esp-now (2.4.0)
[3/3] idf (4.4.6)
-- LovyanGFX use components = nvs_flash;efuse;esp_lcd
-- Project sdkconfig file /home/axon/source/M5Cardputer-UserDemo/sdkconfig
Traceback (most recent call last):
File "/home/axon/Downloads/esp-idf-v4.4.6/tools/kconfig_new/confgen.py", line 35, in <module>
from future.utils import iteritems
ModuleNotFoundError: No module named 'future'
CMake Error at /home/axon/Downloads/esp-idf-v4.4.6/tools/cmake/kconfig.cmake:266 (message):
Failed to run confgen.py
(/home/axon/.espressif/python_env/idf5.1_py3.11_env/bin/python;/home/axon/Downloads/esp-idf-v4.4.6/tools/kconfig_new/confgen.py;--kconfig;/home/axon/Downloads/esp-idf-v4.4.6/Kconfig;--sdkconfig-rename;/home/axon/Downloads/esp-idf-v4.4.6/sdkconfig.rename;--config;/home/axon/source/M5Cardputer-UserDemo/sdkconfig;--env-file;/home/axon/source/M5Cardputer-UserDemo/build/config.env).
Error 1
Call Stack (most recent call first):
/home/axon/Downloads/esp-idf-v4.4.6/tools/cmake/build.cmake:534 (__kconfig_generate_config)
/home/axon/Downloads/esp-idf-v4.4.6/tools/cmake/project.cmake:476 (idf_build_process)
CMakeLists.txt:14 (project)
-- Configuring incomplete, errors occurred!
FAILED: build.ninja
/usr/bin/cmake --regenerate-during-build -S/home/axon/source/M5Cardputer-UserDemo -B/home/axon/source/M5Cardputer-UserDemo/build
ninja: error: rebuilding 'build.ninja': subcommand failed
ninja failed with exit code 1
When I run pip3 install future from within the esp-idf virtual env, I get:
Requirement already satisfied: future in /home/axon/.espressif/python_env/idf4.4_py3.11_env/lib/python3.11/site-packages (0.18.3)
So I tried installing python-future system wide with my package manager. It successfully installed. Re-launching a fresh virtualenv after rebooting still gets the same error about no module named 'future'
ideas? I am on a fully-updated Manjaro Linux system.
Hi!
I followed the steps on my mac and I got this result:
CMake Error at /Users/giovanni/esp/esp-idf/tools/cmake/component.cmake:381 (__component_get_property):
__component_get_property Function invoked with incorrect arguments for
function named: __component_get_property
Call Stack (most recent call first):
main/CMakeLists.txt:24 (idf_component_get_property)
CMake Error at main/CMakeLists.txt:26 (target_link_libraries):
Cannot specify link libraries for target "CONFIG_SOC_MPU_MIN_REGION_SIZE"
which is not built by this project.
-- Configuring incomplete, errors occurred!
It seems something is missing.
How could I solve it?
can we get a feature so that we can switch espnow modes? like between short and long range mode?
I'm trying to write a tutorial for the Card Computers REPL but when I try to move beyond basic functions, I just get module errors.
when connected as a bluetooth keyboard,
When I press the arrow keys in combination with the fn key,
The fact that the fn key is pressed is ignored.
It is not recognized as an arrow key and I want to fix it.
Noticed that this project uses other libraries but the files are directly copy pasted. Is there a way to know which version of each library is (especially for LovyanGFX and mooncake)? Or it is unecessary to consider upgrading those libs?
I'm having a lot of fun tinkering with the Cardputer user demo. Are there any other community hangouts besides this official github?
The code and libraries all seem to be easy to read and well documented thus far. I'm looking for help with the logistical side of things, such as how to set up a proper dev/debug environment (instead of full clean/rebuild/reflash for every small change)
Thanks in advance!
Is current implementation utilizing the dual core capability of the chip?
If not, is it possbile to integrate the second core into the current framework to do some backend work?
The answer sound of the key touch is too loud, I would like to add a feature to reduce or turn it off.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.