overlay stuff

This commit is contained in:
Peter McGoron 2023-06-07 21:26:07 -04:00
parent 0f761744a9
commit 2eba3e1f2a
3 changed files with 19 additions and 1 deletions

View File

@ -0,0 +1,9 @@
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.1.100
netmask 255.255.255.0
network 192.168.1.0
gateway 192.168.1.1

View File

@ -37,6 +37,5 @@ BR2_ROOTFS_OVERLAY="$(BR2_EXTERNAL_UPSILON_PATH)/board/litex_vexriscv/rootfs_ove
BR2_PACKAGE_MICROPYTHON=y BR2_PACKAGE_MICROPYTHON=y
BR2_PACKAGE_MICROPYTHON_LIB=y BR2_PACKAGE_MICROPYTHON_LIB=y
BR2_PACKAGE_DROPBEAR=y BR2_PACKAGE_DROPBEAR=y
BR2_PACKAGE_DROPBEAR_CLIENT=n
BR2_PACKAGE_DROPBEAR_DISABLE_REVERSEDNS=y BR2_PACKAGE_DROPBEAR_DISABLE_REVERSEDNS=y
BR2_PACKAGE_DROPBEAR_SMALL=y BR2_PACKAGE_DROPBEAR_SMALL=y

10
linux/test_dac.py Normal file
View File

@ -0,0 +1,10 @@
import machine
from micropython import const
dac_0_arm = Const(4026531852)
dac_0_finished = Const(4026531848)
machine.mem8[dac_0_arm] = 1
while machine.mem8[dac_0_finished] != 1:
pass
machine.mem8[dac_0_arm] = 0