2023-07-21 13:48:41 +05:30
|
|
|
### error -> FileNotFoundError: [Errno 2] No such file or directory: 'arduino-cli'
|
|
|
|
|
|
|
|
|
|
install arduino-cli
|
|
|
|
|
|
2023-08-07 10:33:23 +05:30
|
|
|
https://arduino.github.io/arduino-cli/0.33/installation/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### prerequisites
|
|
|
|
|
|
|
|
|
|
arduino-cli
|
|
|
|
|
|
|
|
|
|
python
|
|
|
|
|
|
|
|
|
|
pyinstaller
|
|
|
|
|
|
|
|
|
|
### install
|
|
|
|
|
|
|
|
|
|
pip install -r requirements.txt
|
|
|
|
|
|
|
|
|
|
### run
|
|
|
|
|
|
|
|
|
|
python hemocube.py
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### build
|
|
|
|
|
|
|
|
|
|
pyinstaller --noconfirm --noconsole -i "smi.ico" --windowed --clean hemocube.py
|
|
|
|
|
|
|
|
|
|
### build error
|
|
|
|
|
|
|
|
|
|
>fqdn error: replace the check with nano fqdn explictly.
|
|
|
|
|
In Sketch.py of everywhereml/arduino replace line 167 and 228 with:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
self.fqbn = 'arduino:avr:nano:cpu=atmega328old'`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
>arduino library not found: manually copy all required libary in the same folder
|
|
|
|
|
|
2023-08-08 00:58:06 +05:30
|
|
|
>Error during build: Platform 'arduino:avr' not found: platform not installed
|
|
|
|
|
Try running `arduino-cli core install arduino:avr`
|
2023-08-07 10:33:23 +05:30
|
|
|
|
|
|
|
|
### installation after release
|
|
|
|
|
|
|
|
|
|
> first install the `arduino-cli.exe` and add it to path. verify it using terminal/cmd.
|
|
|
|
|
|
|
|
|
|
> then, connect the device and run the app exe. the port selection should have show an entry
|
|
|
|
|
|
|
|
|
|
> enter the values and select the port to upload the new dac values for QC
|
|
|
|
|
|
|
|
|
|
> the status will be show in the logging box. device will be ready, only if the upload sccuess is shown.
|