forked from nerves-project/nerves_system_rpi3
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.txt
27 lines (21 loc) · 974 Bytes
/
config.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Please note that this is only a sample, we recommend you to change it to fit
# your needs.
# You should override this file using a post-build script.
# See http://buildroot.org/downloads/manual/manual.html#rootfs-custom
# and http://elinux.org/RPiconfig for a description of config.txt syntax
# Device tree options are documented at
# https://github.com/raspberrypi/documentation/blob/master/configuration/device-tree.md
kernel=zImage
# This, along with the Raspberry Pi "x" firmware is need for the camera
# to work. See Target packages->Hardware handling->Firmware for "x" firmware.
gpu_mem=192
# Enable I2C and SPI
dtparam=i2c_arm=on,spi=on
# Comment this in or modify to enable OneWire
# NOTE: check that the overlay that you specify is in the boot partition or
# this won't work.
#dtoverlay=w1-gpio-pullup,gpiopin=4
# Add a can0 spi overlay
dtoverlay=mcp2515-can0,oscillator=16000000,interrupt=25
# Enable the UART (/dev/ttyS0) on the RPi3.
enable_uart=1