Skip to content

Commit

Permalink
change default settings in gs.conf
Browse files Browse the repository at this point in the history
Signed-off-by: Ruixi Zhou <[email protected]>
  • Loading branch information
zhouruixi committed Oct 11, 2024
1 parent 0d26eff commit 51ab7c9
Showing 1 changed file with 17 additions and 13 deletions.
30 changes: 17 additions & 13 deletions gs/gs.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,18 @@ BTN_CU_PIN='18'
BTN_CD_PIN='16'
BTN_CL_PIN='13'
BTN_CR_PIN='11'
BTN_CC_PIN=x
BTN_CC_PIN=''

## LED Configuration
# Video recording LED ( red )
REC_LED_PIN='22'
# if direct connect LED to GPIO, should use `push-pull` drive mode
REC_LED_drive='open-drain'
# LED GPIO drive mode can be push-pull or open-drain.
# If LED direct connected to GPIO, should use `push-pull` drive mode
# If LED is connected to a pull-up resistor, should use `open-drain` mode
REC_LED_drive='push-pull'
# Power LED ( green )
PWR_LED_PIN='15'
# if direct connect LED to GPIO, should use `push-pull` drive mode
PWR_LED_drive='open-drain'
PWR_LED_drive='push-pull'

## Network Configuration
# WiFi device integrated by radxa zero 3W is named wlan0 in OS.
Expand All @@ -46,6 +47,7 @@ usb0_fixed_ip='192.168.3.20/24'
## Video Configuration
# If you want to boot into the terminal, set video_on_boot to no.
video_on_boot='yes'
# CAUTION: Invalid screen mode settings may cause pixelpilot fail to start.
SCREEN_MODE='1920x1080@60'
# video_player can be pixelpilot or gstreamer.
video_player='pixelpilot'
Expand All @@ -56,14 +58,15 @@ osd_elements='video,wfbng,telem'
osd_telem_lvl='2'

## Record Configuration
# Folder for saving video files
# Folder for saving video files.
REC_Dir='/home/radxa/Videos'
# Must be the same value setting in IPC.
REC_FPS='60'
# Video recording start and stop button
# Video recording start and stop button.
REC_GPIO_PIN=$BTN_Q1_PIN

## System Configuration
# Rootfs reserved space
# Rootfs reserved space in MB.
rootfs_reserved_space='1500'
# Enable GPIO functions
# To disable functions in list [ TODO: auto disable ]
Expand All @@ -79,14 +82,15 @@ otg_mode_LED_drive=$PWR_LED_drive

## Cooling Configuration
fan_service_enable='yes'
# need enable the pwm chip and channel in dtbo
# Must enable the following pwm chip and channel in dtbo
fan_PWM_chip='14'
fan_PWM_channel='0'
fan_PWM_frequency='25000'
# if direct connect pwm pin to fan, need set polarity to normal
fan_PWM_polarity='inversed'
fan_PWM_MIN_duty_cycle='20'
fan_PWM_MAX_duty_cycle='90'
# If fan direct connected to pwm pin, should set polarity to normal
# If fan connected to a pull-up resistor, should set polarity to inversed
fan_PWM_polarity='normal'
fan_PWM_MIN_duty_cycle='0'
fan_PWM_MAX_duty_cycle='80'
fan_PWM_step_duty_cycle='5'
fan_target_temperature='50'
fan_target_temperature_deviation='3'
Expand Down

0 comments on commit 51ab7c9

Please sign in to comment.