Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maix Amigo support #12

Closed
stepansnigirev opened this issue Aug 2, 2021 · 5 comments · Fixed by #119
Closed

Maix Amigo support #12

stepansnigirev opened this issue Aug 2, 2021 · 5 comments · Fixed by #119

Comments

@stepansnigirev
Copy link
Contributor

Hi! Great project!
Do you think it might be possible to make krux compatible with Maix Amigo?
It is a pretty cheap devboard that has a large screen with touch, camera and SD card slot.
MCU is the same as in M5StickV - K210.
https://www.seeedstudio.com/Sipeed-Maix-Amigo-p-4689.html

@ghost
Copy link

ghost commented Aug 2, 2021

Interesting! Yes, that should be possible. It probably wouldn't take a ton of effort to add support in the firmware for it, however, the experience on that device would likely be subpar without additional effort.

Krux's UI / input logic right now is unfortunately tightly coupled with the M5StickV and wouldn't take advantage of the extra screen space in a smart way, and it definitely wouldn't support touch input/buttons without some work. The build process would also need to now take the device into account when deciding which 'project' to build the firmware for, etc.

I'll need to get my hands on one of these devices and see what I can do.

@valerio-vaccaro
Copy link

Nice project,
patched maixpy firmware is running on amigo (need some fix on cmake flags like for m5stickv and same builtin python files)
Some fix needed in buttons definition/screen/etc, menu crash with an "out of memory alert" but i think we can reduce the display allocated buffer.
In next days i think i will create a branch for amigo boards.

@ghost
Copy link

ghost commented Aug 16, 2021

@valerio-vaccaro I have an Amigo now to test with if you're still planning on putting up a PR! Hope the recent changes in main don't make this too much of a headache 😅

Until then, I'm focused on this issue and will circle back to this after that's complete

@ghost
Copy link

ghost commented Oct 28, 2021

Just dropping in here to note that I haven't forgotten about this! A few weeks ago I built the firmware for this device and tried to test it out, but I ran into problems flashing it with kflash, so I switched my focus to other issues.

@valerio-vaccaro What did you end up using to flash it to the device?

Also, is the power button on the Amigo fake or did they just send me a broken device? 🤣

Anyway, I filed another issue related to this to move away from MaixPy and toward plain MicroPython so that Krux can stay up to date and more easily support other architectures/devices in the future: #39

@valerio-vaccaro
Copy link

I think I have to find out some hours and try to work a bit more on this. I flashed the device in the same manner used for m5stickv.
Power button will not work so easily because is controlled from a different AXP chip (a not well documented power management chip used by m5).
I agree on move to a standard MicroPython (maybe adding driver and libs from maixpy project).

@ghost ghost linked a pull request Apr 20, 2022 that will close this issue
@ghost ghost closed this as completed Apr 23, 2022
odudex referenced this issue in odudex/krux Mar 30, 2023
 visible QR scan progress bar on all devices
odudex added a commit that referenced this issue Aug 15, 2023
Firmware font: change to docs and 2 fonts added to amigo-bold
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants