summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2020-06-09Consolidated rtos-master.c and master.crtosAditya Naik
2020-06-09Master mergeAditya Naik
2020-06-09Added port files for STM32F405RG and minor address change to slaveAditya Naik
2020-06-09Moved nanopb files to library dir; changed main filenamesAditya Naik
2020-06-08Routing bugfixAditya Naik
2020-06-08This CL adds a major refactor to the protocol implementation by moving away ↵Aditya Naik
from protobuf for non-nested messages, simplifying the communications and reducing encoding/decoding overhead for both the master and slave. Smaller changes added include changes in address schemes and changes to the relevant macros to match the addressing changes. Changes by this CL have been tested to work with multiple slaves on different platforms (STM32 HAL-based and Micropython based). Documentation of the refactored protocol to specify the exact byte ordering for each message is pending. Author: Aditya Naik Reviewers: None Task list: None
2020-06-01Renamed master and slave files, small edits to codeAditya Naik
2020-05-28Added slave file, handshake to slaveAditya Naik
2020-05-28This CL adds bookkeeping structures for routing, including the routing ↵Aditya Naik
buffer, routing index buffer, and the routing table. It also adds the main routing function, slave-side implementation of receiving subscribed data and master implementation of managed data in the routing buffer. This CL supports only routing data (branch 1) and only honors subscriptions based on module ID. CL also adds minor changes to the dataflow process, including inserting data into the routing buffer and incrementing routing pointer. CL also adds a configuration macro MASTER_I2C_BUS_INTERVAL in config.h to delay master I2C operations in order to minimize I2C timeout errors on the bus. Author: Aditya Naik Reviewers: None Task list: ef9e3917106842259ce2c32f40d7e9be 2f0c741a66db4b79904e295356b657cd
2020-05-14This CL adds structures for bookkeeping for dataflow based on the dataflow ↵Aditya Naik
protocol. It also adds a master and slave-side implementation of a single root-to-tree path in the protocol, which involves SOR=1 (master denoting a slave send operation) and DOC=5 (slave denoting data send operation). CL includes dataflow status typedef, SOR code typedef, DOC/SOR encoding, transmitting and decoding, CTS/data encoding, transmitting and decoding. Commit by: Aditya Naik Reviewed by: None Task list: 2cabf06b6a354e83aed9a1c7ff22bd14 49ca5b3a768a48778259d3a449890ccb d34854d85c7947f5b63bc897136c6c28 88a636ba03c24d3bac77ccc9ab9822db
2020-04-22Added dataflow protocol filesAditya Naik
2020-04-22Manually added MDRAditya Naik
2020-04-22Manually add MDRAditya Naik
2020-04-22Better idea: treat hs as done, manually add MDRAditya Naik
2020-04-22Better idea: treat hs as done, manually add MDRAditya Naik
2020-04-21New working main fileAditya Naik
2020-04-09Master roggleAditya Naik
2020-04-09BSS overflowAditya Naik
2020-04-09Builds with RTOS, now creating/testing tasksAditya Naik
2020-04-09RTOS testsAditya Naik
2020-04-09main.c and corresponding makefileAditya Naik
2020-04-09Added cient code to master hsAditya Naik
2020-04-09Added cient code to master hsAditya Naik
2020-04-09Project refactorAditya Naik
2020-03-24Initial working MDR request, now ACKAditya Naik
2020-03-23InitialAditya Naik