bundles/raspberrypi: add options for camera and gpu_mem
All checks were successful
bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2020-10-18 19:51:52 +02:00
parent f36e36d74a
commit 07dcb813f3
Signed by: kunsi
GPG key ID: 12E3D2136B818350
2 changed files with 9 additions and 0 deletions

View file

@ -7,6 +7,8 @@ max_framebuffers=2
hdmi_drive=2
force_turbo=1
gpu_mem=${node.metadata['raspberrypi'].get('gpu_mem', 128)}
% if node.os == 'debian':
arm_64bit=1
% endif
@ -14,3 +16,7 @@ arm_64bit=1
% for item in sorted(node.metadata['raspberrypi'].get('config.txt', set())):
${item}
% endfor
% if node.metadata['raspberrypi'].get('camera', False):
start_x=1
% endif

View file

@ -35,6 +35,9 @@ nodes['home.octoprint-vielschichtigkeit'] = {
},
},
},
'raspberrypi': {
'camera': True,
},
'vm': {
'cpu': 4,
'ram': 1,