Merge branch 'OpenIPC:master' into IQ

pull/311/head
RoboSchmied 2024-01-24 22:23:59 +01:00 committed by GitHub
commit e67324c52d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 30 additions and 4 deletions

View File

@ -67,13 +67,13 @@ Example: you want to add the RTL8188EUS driver:
### Step 4: Build your firmware ### Step 4: Build your firmware
Return to the root directory of the openipc firmware directory `openipc-firmware/`. Return to the root directory of the openipc firmware directory `openipc-firmware/`.
Run `./building.sh` and select the configuration you have edited in the previous step. Run `make` and select the configuration you have edited in the previous step.
Alternatively, you can run `./building.sh <your_config>`, where `<your_config>` is the name of the config file you have just edited, minus the `_defconfig` Alternatively, you can run `make BOARD=<your_config>`, where `<your_config>` is the name of the config file you have just edited, minus the `_defconfig`
Example: you want to build `ultimate` for `hi3516ev200`: Example: you want to build `ultimate` for `hi3516ev200`:
`./building.sh hi3516ev200_ultimate` `make BOARD=hi3516ev200_ultimate`
When the build is complete, you will find the output in the `output/images/` directory: When the build is complete, you will find the output in the `output/images/` directory:

View File

@ -35,11 +35,37 @@ At the moment it is possible to change parameters in the configuration file via
This allows parameters to be changed with a single line in pseudo-dynamic mode on some platforms This allows parameters to be changed with a single line in pseudo-dynamic mode on some platforms
simply by forcing a re-read of the configuration file. simply by forcing a re-read of the configuration file.
``` ```
cli -s .video0.codec h264 ; cli -s .video0.fps 10 ; killall -1 majestic cli -s .video0.codec h264 ; cli -s .video0.fps 10 ; killall -HUP majestic
``` ```
### Experimental Control Features (not yet described in endpoints)
```
/metrics/gain
```
```
/night/ircut
```
```
/night/light
```
### Auto day/night detection ### Auto day/night detection
If the light sensor gpio is set, it will use the default mode.
The settings work like this:
```day < [minThreshold] | hysteresis | [maxThreshold] < night```
If the sensor gain is 1024 on a bright day the minThreshold could be set to 2000,
if the sensor gain is 32000 on a dark night the maxThreshold could be set to 10000.
```
cli -s .nightMode.minThreshold 10
cli -s .nightMode.maxThreshold 50
```
The experiments continue... The experiments continue...