John-Mark Gurney
0b580fc32b
now that we support an OBJDIR, fix up the python tests...
3 years ago
John-Mark Gurney
2dda31e4f4
add starting readme for the project..
3 years ago
John-Mark Gurney
01519c05aa
add recommended build dir to be ignored..
3 years ago
John-Mark Gurney
ecec669bf5
fix return to return false, not -1...
3 years ago
John-Mark Gurney
0835e16706
add ability to send arbitrary packets that are hex encoded..
3 years ago
John-Mark Gurney
8a9c2927dc
add framework for properly receiving/handling incoming data..
The old method would introduce a race condition where the buffer
could be overwritten before the data was consumed. For slow, single
character typing this was fine, but w/ packets being generated by
a computer, this would cause corruption of the incoming data..
3 years ago
John-Mark Gurney
36967b2146
init rx/tx from same set of parameters...
3 years ago
John-Mark Gurney
90ff8701a8
get tx/rx working between two Node151's..
3 years ago
John-Mark Gurney
f121e665b4
fix up white space, drop board-config.h so it doesn't collide with the
custom one..
3 years ago
John-Mark Gurney
a808d359e8
Merge commit '247ed3545b7d83a266440e86188d33cf152389aa' as 'loramac'
3 years ago
John-Mark Gurney
247ed3545b
Squashed 'loramac/' content from commit 34f8c272
git-subtree-dir: loramac
git-subtree-split: 34f8c27281
3 years ago
John-Mark Gurney
e0ee973abb
add loramac, and make the subtree stuff generic..
3 years ago
John-Mark Gurney
e5d6a4e73c
make path a parameter as well...
3 years ago
John-Mark Gurney
adafb3a411
print out some randomness when starting up for now.. shows it's
all working...
3 years ago
John-Mark Gurney
a070e6802b
make the linker information work... add an inline to ignore warning..
symbols defined by the linker script are all treated as addresses, so
we need to get the address, and cast it to an integer for the length
case..
The return value must be used, but as we init early on, we don't need
to check it, so just hide the error w/ an inline function..
3 years ago
John-Mark Gurney
df2aac27e6
clang doesn't work yet because there isn't a minimal set of headers for it..
3 years ago
John-Mark Gurney
319e499b68
add fix so that if it's busy we wait and try again...
3 years ago
John-Mark Gurney
ab2637258f
get basic usb CDC working, and basic strobe working...
3 years ago
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