summaryrefslogtreecommitdiff
path: root/main.lua
blob: 8d44b51dfd7341fb456c84be7f10aff318d95995 (plain)
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
 --[[
Eugeniy Mikhailov
1 June 2021
 ]]
 
startup=nil
abortTest=nil
abortInit=nil

-- if we want the debug messages set the DEBUG variable
-- DEBUG=true

dofile("binaryLib.lua")
dofile("microwire.lua")
dofile("lmx2487lib.lua")

if file.exists("version.lua") then
	dofile("version.lua")
else
	print("Unknown version of lua scripts")
end

-- if you want benchmarking do
-- dofile("bench_lmx2487.lua")

set_lmx2487_board_to_default_state()
setFreq(6.834e9)