overlay stuff
This commit is contained in:
parent
0f761744a9
commit
2eba3e1f2a
|
@ -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
|
|
@ -37,6 +37,5 @@ BR2_ROOTFS_OVERLAY="$(BR2_EXTERNAL_UPSILON_PATH)/board/litex_vexriscv/rootfs_ove
|
|||
BR2_PACKAGE_MICROPYTHON=y
|
||||
BR2_PACKAGE_MICROPYTHON_LIB=y
|
||||
BR2_PACKAGE_DROPBEAR=y
|
||||
BR2_PACKAGE_DROPBEAR_CLIENT=n
|
||||
BR2_PACKAGE_DROPBEAR_DISABLE_REVERSEDNS=y
|
||||
BR2_PACKAGE_DROPBEAR_SMALL=y
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue