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

Add SD card support #445

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from
Open

Add SD card support #445

wants to merge 4 commits into from

Commits on Dec 3, 2021

  1. Update FW: add SDcard support, accessible from Script nodes usually at:

      /media/mmcsd-0-0    -- first partition
      /media/mmcsd-0-1    -- second partition
      ...
    The partition(s) should be pre-formatted as FAT32.
    Note the Script node must set: .setProcessor(dai.ProcessorType.LEON_CSS)
    alex-luxonis committed Dec 3, 2021
    Configuration menu
    Copy the full SHA
    c81c456 View commit details
    Browse the repository at this point in the history
  2. Add script_jpeg_to_sdcard.py example:

    - displays an uncompressed preview stream of RGB camera at 640x360
    - creates a HTTP server listing all files on the first partition of the SDcard
    - when `C` is pressed, saves a 12MP JPEG capture to SDcard, file names starting from 1000.jpg
    alex-luxonis committed Dec 3, 2021
    Configuration menu
    Copy the full SHA
    5449d22 View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2022

  1. Configuration menu
    Copy the full SHA
    fbe31e5 View commit details
    Browse the repository at this point in the history
  2. Update core/FW: unmount SDcard on shutdown. Note:

    No file handles should be left opened for unmount to succeed, not even `os.chdir('/media/mmcsd-0-0')`.
    Anyway, a `sync()` is attempted first
    alex-luxonis committed Mar 9, 2022
    Configuration menu
    Copy the full SHA
    c2d04a3 View commit details
    Browse the repository at this point in the history