43 lines
1.1 KiB
Plaintext
43 lines
1.1 KiB
Plaintext
# Please note that this is only a sample, we recommend you to change it to fit
|
|
# your needs.
|
|
# You should override this file using BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE.
|
|
# See http://buildroot.org/manual.html#rootfs-custom
|
|
# and http://elinux.org/RPiconfig for a description of config.txt syntax
|
|
|
|
start_file=start.elf
|
|
fixup_file=fixup.dat
|
|
|
|
kernel=zImage
|
|
|
|
# To use an external initramfs file
|
|
#initramfs rootfs.cpio.gz
|
|
|
|
# Disable overscan assuming the display supports displaying the full resolution
|
|
# If the text shown on the screen disappears off the edge, comment this out
|
|
disable_overscan=1
|
|
|
|
# How much memory in MB to assign to the GPU on Pi models having
|
|
# 256, 512 or 1024 MB total memory
|
|
gpu_mem_256=100
|
|
gpu_mem_512=100
|
|
gpu_mem_1024=100
|
|
|
|
# Set I2C speed to 400kHz(Fast mode)
|
|
dtparam=i2c_arm=on,i2c_arm_baudrate=400000
|
|
|
|
# Enable spidev node
|
|
dtparam=spi=on
|
|
|
|
# Add PCF8574A GPIO expander
|
|
dtoverlay=pcf857x,pcf8574a,addr=0x38,interrupt=22
|
|
|
|
# Add DS3231 driver
|
|
dtoverlay=i2c-rtc,ds3231
|
|
|
|
# Add BME280 sensor
|
|
dtoverlay=i2c-sensor,bme280,addr=0x76
|
|
|
|
# PPS signal
|
|
dtoverlay=pps-gpio,gpiopin=17,capture_clear
|
|
|