Open nitin710 opened 1 year ago
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
Pros
Cons
_
in stock firmware folder name to bring it to the top
Description
.ini
files defined for stock firmware in EmotiBit examples causes breaking paths.Current Directory Structure (as of v1.8.1)
directory structure template
Problems
renameFw.py
to change the name of the built binary fromfirmware.bin
to<something_more_appropriate>
board_feather_m0.ini
/board_feather_esp32.ini
extra config files. These extra config files use relative path torenameFw.py
and are executed from the root directory of the project (where the original platformIO.ini is located)