EmotiBit / EmotiBit_FeatherWing

Firmware to run Emotibit with Adafruit feather M0 WiFi and Feather ESP32
MIT License
19 stars 8 forks source link

Restructure EmotiBit examples to use PIO scripts #276

Open nitin710 opened 1 year ago

nitin710 commented 1 year ago

Description

Current Directory Structure (as of v1.8.1)

directory structure template

EmotiBit FeatherWing
├── EmotiBit_stock_firmwares
│   ├── EmotiBit_sotck_firmware
│   │   ├── EmotiBit_stock_firmware.ino
│   │   └── platformio.ini
│   └── EmotiBit_sotck_firmware_PPG_100Hz
│       └── platformio.ini
├── examples
│   └── EmotiBit_examples
│       ├── charlieplex_heartbeatOnSleeve
│       │   └── charlieplex_heartbeatOnSleeve.ino
│       ├── input_digitalPinLogging
│       │   ├── input_digitalPinLogging.ino
│       │   └── platformio.ini
│       ├── input_digitalPinLogging_PPG_100Hz
│       │   └── platformio.ini
│       └── sevenseg_displayTemperature
│           └── sevenseg_displayTemperature.ino
├── testing
│   ├── boardTests
│   ├── EmotiBitWifiTest
│   └── MemoryController
├── pio_scripts
│   └── renameFw.py
├── board_feather_m0.ini
├── board_feather_esp32.ini
├── library.properties
├── *.h
└── *.cpp

Problems

nitin710 commented 1 year ago

directory structure template

EmotiBit FeatherWing
├── _EmotiBit_stock_firmwares (leading underscore keeps the directory at the top)
│   ├── EmotiBit_sotck_firmware
│   │   ├── EmotiBit_stock_firmware.ino
│   │   └── platformio.ini
│   └── EmotiBit_sotck_firmware_PPG_100Hz (All variants reference the original .ino file)
│       └── platformio.ini
├── EmotiBit_examples
│   ├── charlieplex_heartbeatOnSleeve
│   │   └── charlieplex_heartbeatOnSleeve.ino
│   ├── input_digitalPinLogging
│   │   ├── input_digitalPinLogging.ino
│   │   └── platformio.ini
│   ├── input_digitalPinLogging_PPG_100Hz (All variants reference the original .ino file)
│   │   └── platformio.ini
│   └── sevenseg_displayTemperature
│       └── sevenseg_displayTemperature.ino
├── testing
│   ├── test1
│   │   ├── test1.ino
│   │   └── platformio.ini
│   ├── test2
│   │   ├── test2.ino
│   │   └── platformio.ini
│   └── test3
│       ├── test3.ino
│       └── platformio.ini
├── pio
│   ├── scripts
│   │   └── renameFw.py
│   └── extra_configs
│       ├── board_feather_m0.ini
│       └── board_feather_esp32.ini
├── library.properties
├── *.h
└── *.cpp