62 lines
1007 B
Plaintext
62 lines
1007 B
Plaintext
# SPDX-License-Identifier: Apache-2.0
|
|
# Copyright (c) 2019 Martin Jäger (Libre Solar)
|
|
#
|
|
# Invisible (hardware-specific) Kconfig symbols
|
|
#
|
|
|
|
config DEVICE_TYPE
|
|
string
|
|
help
|
|
Device type name, e.g. MPPT-2420-LC
|
|
|
|
config HARDWARE_VERSION
|
|
string
|
|
help
|
|
Version of the PCB
|
|
|
|
config HAS_DCDC_CONVERTER
|
|
bool
|
|
help
|
|
Board has a DC/DC converter.
|
|
|
|
if HAS_DCDC_CONVERTER
|
|
|
|
config DCDC_PWM_FREQUENCY_KHZ
|
|
int
|
|
range 30 100
|
|
help
|
|
PWM frequency of DC/DC converter in kHz, range 30 to 100.
|
|
|
|
config DCDC_PWM_DEADTIME_NS
|
|
int
|
|
range 100 300
|
|
help
|
|
Dead time for synchronous PWM generation in nanoseconds.
|
|
|
|
endif # HAS_DCDC_CONVERTER
|
|
|
|
config HAS_PWM_SWITCH
|
|
bool
|
|
help
|
|
PCB has PWM power switch.
|
|
|
|
config HAS_LOAD_OUTPUT
|
|
bool
|
|
help
|
|
PCB has a load output.
|
|
|
|
config NUM_LED_PINS
|
|
int
|
|
help
|
|
Number of LED pins for charlieplexing.
|
|
|
|
config LOW_SIDE_VOLTAGE_MAX
|
|
int
|
|
help
|
|
Low side (usually battery) voltage maximum.
|
|
|
|
config HIGH_SIDE_VOLTAGE_MAX
|
|
int
|
|
help
|
|
High side (usually solar panel) voltage maximum.
|