Skip to content

Copy assets from flash to SD on firstboot #33

@anarchyysm

Description

@anarchyysm

Problem

Goal: reference databases are available offline on the SD card after the first boot.
Estimated effort: 1 day

Proposed Solution

  • Implement copy of mf_classic_dict to nfc/assets/ in first_boot_setup()
  • Implement copy of aid_db to nfc/assets/
  • Implement copy of protocol_db to rfid/assets/
  • Implement copy of frequency_list and protocol_db to subghz/assets/
  • Implement copy of universal_remotes.ir to ir/assets/
  • Implement copy of oui_db and wpa_wordlist to wifi/assets/
  • Implement copy of company_ids to ble/assets/
  • Implement copy of frequency_plans to lora/assets/
  • Implement copy of keyboard_layouts to badusb/assets/
  • Rule: only copy if the file does not exist on SD — never overwrite
  • Test: ls each */assets/ after first boot with empty SD

Use Case

No response

Alternatives Considered

No response

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

Projects

Status

In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions