John-Mark Gurney
c602a3a894
add depend target, and use the depend to make files to pass to entr to run build..
3 years ago
John-Mark Gurney
899679fce4
enable all warnings and error on them.. fix a couple warnings/errors..
3 years ago
John-Mark Gurney
eda0e27068
add the code to initalize the RNG w/ SRAM..
3 years ago
John-Mark Gurney
b612ec86fe
add the basics to get the STM32L151CC up for now
a lot more will need to be added as we go on..
This was pulled from heltec's PingPong example, but all licenses
are free.. Also, the files were cleaned up, that is CRs removed,
and trailing white space removed from lines...
3 years ago
John-Mark Gurney
8b95dbadc1
add license
3 years ago
John-Mark Gurney
54d76eeac5
add the required python packages..
3 years ago
John-Mark Gurney
d037cee5de
start the Makefile.. some basic arm building, and python test running..
3 years ago
John-Mark Gurney
bf06204545
ignore some standards files to ignore..
3 years ago
John-Mark Gurney
ed0d08b126
start of the lorenode initiator
3 years ago
John-Mark Gurney
fc52e15241
update link as the paper has moved... same cert for new domains as parent of old..
3 years ago
John-Mark Gurney
4e7ecba30e
update links to use https...
3 years ago
John-Mark Gurney
e7548fd353
add a set_state_from method to overwrite current state...
This can be useful for doing trial receptions of messages, and
if they work, update the state when successful... Setting the
state on the old object is best as it's hard to change all references
to the new object..
copyof = strb.copy()
try:
copyof.recv_enc(msg)
copyof.recv_mac(mac)
except AuthenticationFailed: # failed, ignore message
return
else: # it worked
strb.set_state_from(copyof)
<process msg>
3 years ago
John-Mark Gurney
552d42c622
add tests for copy, and fix up copy method to work properly
3 years ago
John-Mark Gurney
545a7b3773
clean up white space..
3 years ago
John-Mark Gurney
3b7581337e
ignore object files..
3 years ago
John-Mark Gurney
cf6d14a843
ignore some generated python files
3 years ago
John-Mark Gurney
b7869f2cbc
Add a setup.py so this works as a package...
3 years ago
John-Mark Gurney
21f81daeac
fix for Python3, make this a byte string so it works w/ bytearray
3 years ago
John-Mark Gurney
af00e2f94b
start of makefile, targets to maintain strobe..
3 years ago
John-Mark Gurney
c2f97d55bb
Merge commit '190022e7600cb2f63dcbe19b59f9fff3df6b5053' as 'strobe'
3 years ago
John-Mark Gurney
190022e760
Squashed 'strobe/' content from commit 66b501f
git-subtree-dir: strobe
git-subtree-split: 66b501fdde
3 years ago
John-Mark Gurney
b3284592ad
initial
3 years ago