John-Mark Gurney
52316ea2cc
add an include guard...
2 yıl önce
John-Mark Gurney
fa6a25d7b1
add adc and flash HAL files, delete customhid, as it won't be used..
2 yıl önce
John-Mark Gurney
105314a453
add warning about the license excluding use by ST.
ST if free to contact me about licensing the code (or improving their
own code to be USB standard compliant)..
2 yıl önce
John-Mark Gurney
6d2a66ee62
add the descriptor length here..
2 yıl önce
John-Mark Gurney
a3eb1e8b4d
get the basic rs485 to cdc gateway working...
This follows the same protocol as the lora code, so the same
server should just work.
2 yıl önce
John-Mark Gurney
784e175652
add info on how to debug irq handler issues..
2 yıl önce
John-Mark Gurney
3d9d8a3d9c
add wrapper, si_usb.h, clean up si_usb a little, and use wrapper
2 yıl önce
John-Mark Gurney
606ba3ea78
use SYSINIT and break things out/make more generic and modular...
This gets USB CDC printing working..
2 yıl önce
John-Mark Gurney
bbab428226
make compile w/o other header pollution..
2 yıl önce
John-Mark Gurney
c171ea44b0
make sysinit's work, required a make to the linker script..
add some more missing files now that it includes the symbols..
2 yıl önce
John-Mark Gurney
ac1a5177b4
add framework to get things started...
2 yıl önce
John-Mark Gurney
dbf02e30d0
pull in the files need for f103c8t6
2 yıl önce
John-Mark Gurney
cd7bd758ea
move more into mu.progs.mk, reorder depends..
2 yıl önce
John-Mark Gurney
e171cb4ad8
ignore my standard venv dir name..
2 yıl önce
John-Mark Gurney
e3655696da
move some more generic infra over
2 yıl önce
John-Mark Gurney
2e02dccfc1
pull this from same dir we parsed from..
2 yıl önce
John-Mark Gurney
30dec330dc
include from the current dir..
2 yıl önce
John-Mark Gurney
30338ee49b
move runbuild to .progs, improve comments..
2 yıl önce
John-Mark Gurney
c5bb2d4d68
break up the README to an overview and the parts..
2 yıl önce
John-Mark Gurney
1a4eaedea5
refactor things a bit more into support mk files...
2 yıl önce
John-Mark Gurney
4a2795a593
s/liblora/libsyote/ s/lora_comms/syote_comms/
2 yıl önce
John-Mark Gurney
6ae7529c16
rearch builds a bit.. start migrating various build options to mk/* files..
2 yıl önce
John-Mark Gurney
3bda6240a8
forgot to fix this to compile w/ new api
2 yıl önce
John-Mark Gurney
6f74cee4e6
implement the C (responder) side of ecdhe...
2 yıl önce
John-Mark Gurney
d0c6981410
use bytes.fromhex instead...
2 yıl önce
John-Mark Gurney
07fea7395f
mention the specific curve/dh used..
2 yıl önce
John-Mark Gurney
550ee42cfb
implement the python initiator for ecdhe key exchange...
2 yıl önce
John-Mark Gurney
8501f5ab27
implement an x25519 class and add various tests for it
2 yıl önce
John-Mark Gurney
a3d7add3e5
move x25519 tests to _comms module, more will be added..
2 yıl önce
John-Mark Gurney
c6a082befe
fix deprecation notice, add shared to test name
2 yıl önce
John-Mark Gurney
27619d0050
start ecdhe support, wrap x25519 as this will be needed..
2 yıl önce
John-Mark Gurney
188e475c86
add the ecdhe definition, this has not been reviewed yet..
2 yıl önce
John-Mark Gurney
f5d3142efb
move key negotiation to common section, define ecdhe
2 yıl önce
John-Mark Gurney
db35f09a36
clean up key negotiation, and document commands and queueing system..
2 yıl önce
John-Mark Gurney
5fcf20ed36
pull in the domain defines in prep to support additional (ecdhe) ones
2 yıl önce
John-Mark Gurney
b3ec53c4cb
drop debug print
2 yıl önce
John-Mark Gurney
2a35f5648e
use funopen/stdio to buffer output, "fix" for FreeBSD...
convert to using stdio to line buffer usb output... This reduces
usb traffic like when doing hexdump...
The delay works, but could be a problem on slower systems... It's
been reported, so hopefully a fix will happen..
2 yıl önce
John-Mark Gurney
95c19fa600
use python3, note how to run w/ FreeBSD, and code quality...
python2 is incompatible w/ python3 code, and assuming that python
is 3 is bad, so use python3 which ensures that the correct version
will be run...
2 yıl önce
John-Mark Gurney
aed17ebf69
use python3 to run python 3 programs... Using python is a mistake
and should only be used w/ Python 2 scripts.
2 yıl önce
John-Mark Gurney
5baba3ad59
add memory debug buffer.. Fix FreeBSD by adding a delay..
2 yıl önce
John-Mark Gurney
e77c0edcdc
if pkt too large, ignore, restart rx on err/timeout, loop processing schedule..
The first one is just more defensive programming, not sure if I'd seen
this failure..
The middle one did fix some hangs...
Last one is to ensure that the schedule processes more quickly and
not enforce each command to take one ms...
3 yıl önce
John-Mark Gurney
9bbf03c6db
use sbrk(0) instead of end to get the uninitalized memory...
This is better, as if anyone allocated memory before, we will not use
that memory, and still use uninitalized memory..
3 yıl önce
John-Mark Gurney
5642c46c66
make sure a short packet doesn't cause an assert failure...
3 yıl önce
John-Mark Gurney
4a4ef7b580
make sure OBJDIR doesn't match CURDIR..
3 yıl önce
John-Mark Gurney
de3acae8ab
the files need to be marked PHONEY so they are ALWAYS rebuilt..
3 yıl önce
John-Mark Gurney
91a6fb590b
convert link to https..
3 yıl önce
John-Mark Gurney
831fe68862
various spelling fixes..
3 yıl önce
John-Mark Gurney
fe44e796bf
language fixes, improvments, and document commands..
Better describe how to hook things up..
Also, document all the commands, and the difference between the
immediate commands and the queue commands..
3 yıl önce
John-Mark Gurney
dfac9f97b0
the deps make duplicate files, uniqify them so entr can handle the list...
3 yıl önce
John-Mark Gurney
e8b1fc65d3
make sure the irrigation key file is ignored...
3 yıl önce