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

24.03.0 update #495

Closed
wants to merge 79 commits into from
Closed

24.03.0 update #495

wants to merge 79 commits into from

Conversation

odudex
Copy link

@odudex odudex commented Mar 6, 2024

No description provided.

Jeff S and others added 30 commits March 12, 2022 02:34
.gitmodules:
  - Add jreesun/micropython fork as new 'core'
  - Add diybitcoinhardware/secp256k1-embedded module for elliptic curve logic used by embit
  - Add jreesun/qrcode module for generating QR code images
  - Add jreesun/uhashlib module for bitcoin-specific hashlib used by embit

components/micropython/Kconfig
  - Add configs so that existing functionality (e.g., "network" modules) can be turned off and removed from build
  - Add configs for enabling new modules

components/micropython/CMakeLists.txt
  - Use new configs to exclude unused modules from build
  - Add memzip to build (if config enabled) so it can be used instead of frozen mpy

components/micropython/port/include/mpconfigport.h
  - Remove dependence on SPIFFS (reader VFS, frozen mpy)
  - Add uio alias 'io'
  - Add new hashlib, qrcode, and SECP256K1 modules
  - Force all allocations onto (secure-wiped) heap, enable mem stats and info by default
  - Enable sys exc info

components/micropython/port/src/Maix/include/modMaix.h
components/micropython/port/src/Maix/modMaix.c
components/micropython/port/src/modules/py_modules.c
  - Exclude Maix_i2s and Maix_audio from build if audio not enabled

components/micropython/port/src/omv/boards/MAIX/imlib_config.h:
  - Add new omv configs to selectively turn on QR code finding, binary + math ops on images

components/drivers/flash/include/w25qxx.h
  - Remove unused 32k and 64k erase function defs and add missing 64k erase dma func def

components/drivers/sd_card/src/sdcard.c
  - Reduce sd response timeout to speed up booting

components/micropython/port/src/flash
  - Add custom flash module for reading and writing directly to flash memory (for in-app firmware updates)

components/micropython/port/src/maixpy_main.c
  - Add support for booting from memzip files rather than frozen modules, add logic to avoid reading/writing SPIFFs when that is the case

components/micropython/port/src/omv/img/qrcode.c
  - Increase max regions
  - Add function to flip (mirror) QR when finding to increase chances of success

LICENSE.md
components/micropython/port/src/omv/img/font.c
components/micropython/port/src/omv/img/include/font.h
components/micropython/port/src/omv/py/py_lcd.c
  - Replace utf8 logic with adapted version of Bjoern Hoehrmann's utf8 code
  - Consolidate draw_ascii_string and draw_utf8_string into just draw_string with unicode support by default
  - Add font_height and font_width funcs and use them to better render text per chosen font
  - Add function to draw QR code to lcd

projects/
  - Remove unused projects hello_world, maixpy_k210, and mpy_minimum
  - Restructure remaining projects
    - Change board.py format to directly store board.json and later turn into class. Add krux-specific pins section for aliasing
    - Update kendryte.ld to increase memory to boards' available 8M SRAM
    - Add overrides folder for replacing arbitrary files at build-time. An example usage: changing the built-in font in font.c depending on the project/board.
    - Add new configs to config_defaults and explicitly shut off all unused modules and turn on used
      - Increase heap size
* Update py_lcd.c

Allow fill rectangles on hole display area

* Maix AmigoIPS compatibility and Maix Bit project folder

Some extra configurations were also added for M5stickV where necessary

* Amigo compatibility

- Removed fill_rectangle check from py_lcd
- Fixed json typos and other errors
- Moved full filled char to ¡ char(161)

* Font rendering for all sizes and font code cleanup

All font sizes render correctly now and unused variables were removed from the code

* removed duplicated "sensor" on Twatch

removed duplicated "sensor" on Twatch
* Power button as IO for M5stickV, extended ASCII for Amigo and Bit

* Update board.py

- Changed buttons order to help assembly
- Added board button as 'page_prev'

* kflash Kconfiglib mkspiffs submodules updated
* Power button as IO for M5stickV, extended ASCII for Amigo and Bit

* Update board.py

- Changed buttons order to help assembly
- Added board button as 'page_prev'

* kflash Kconfiglib mkspiffs submodules updated

* Maix dock support

* Fix. Dock has no lenses

* Underclocked Amigo to 300MHz to run cooler
Amigo has poor heat dissipation
No noticeble perfonce loss
…obj in order to support hot-plugging microSD
…obj in order to support hot-plugging microSD (#5)
@odudex odudex closed this Mar 6, 2024
@odudex odudex deleted the merge_amigos branch March 24, 2024 16:48
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 this pull request may close these issues.

2 participants