Commit Graph
100 Commits
Author SHA1 Message Date
MightyPork 538a4876b2 ADC skeleton 2018-02-03 11:59:59 +01:00
MightyPork 611b38c5e6 cleaning 2018-02-03 11:54:22 +01:00
MightyPork 96a7b58091 1wire split 2018-02-03 11:43:05 +01:00
MightyPork d47d487b8a split SPI 2018-02-03 11:35:16 +01:00
MightyPork 5a853244d5 din renames, dout split 2018-02-03 11:30:22 +01:00
MightyPork 41364db93a split neopixel 2018-02-03 10:48:24 +01:00
MightyPork 2006936c21 added the template unit 2018-02-03 10:42:37 +01:00
MightyPork 8643d16989 Split i2c 2018-02-03 10:32:12 +01:00
MightyPork f1b8db78d4 split DIN 2018-02-03 10:27:37 +01:00
MightyPork 4bd8dc6cb0 split some files in units to smaller .c files, comments etc 2018-02-03 10:09:51 +01:00
MightyPork b6f7060516 1wire cleaning, added 1w UU, renamed some error messages 2018-02-01 17:20:25 +01:00
MightyPork 0e378b6547 added 1wire search algorithm 2018-02-01 15:53:29 +01:00
MightyPork a81190c2e1 1w everything implemented except search funcs, timer works ok 2018-01-30 22:42:00 +01:00
MightyPork af35cee030 untested new onewire commands (all except search algos) 2018-01-30 22:16:22 +01:00
MightyPork 55816fc810 added software timer instantiation + config (unused) 2018-01-30 21:04:45 +01:00
MightyPork c9aa39af80 words 2018-01-29 22:55:22 +01:00
MightyPork c641bef80a added 'parasitic' config field 2018-01-29 22:49:18 +01:00
MightyPork eca8319820 onewire basic impl + fixed a bug in usec delays 2018-01-29 22:37:12 +01:00
MightyPork 9e65c8409a fixed inverted presence check 2018-01-29 08:55:05 +01:00
MightyPork 18e76ad060 base of 1wire, need to make async 2018-01-29 08:40:41 +01:00
MightyPork a63f040271 Added compile flag to replace TF with simple loopback for transport testing 2018-01-28 15:54:26 +01:00
MightyPork 04e32860f7 implemented precision timestamps in report messages 2018-01-27 20:27:33 +01:00
MightyPork 94e87c74d3 implemented timebase using TIM14 instead of TIM1 2018-01-27 18:55:17 +01:00
MightyPork 1159fef33b add a newline to ini 2018-01-27 11:06:13 +01:00
MightyPork 88bd46f516 fixed the crash and implemented trigger arming 2018-01-27 11:02:19 +01:00
MightyPork 45b4fb45e9 exti working but something is fucked up in the job queue or tinyframe 2018-01-26 23:01:19 +01:00
MightyPork 255f96c754 Installed new TinyFrame 2018-01-26 17:23:05 +01:00
MightyPork 3784a46951 everything is now documented 2018-01-25 22:23:10 +01:00
MightyPork a44eb5f16a doc for all units 2018-01-25 08:22:43 +01:00
MightyPork ceb658e246 more doc comments 2018-01-25 08:11:27 +01:00
MightyPork b2ead539bf added more comments 2018-01-24 23:04:05 +01:00
MightyPork 334a89f055 fixed weirdness 2018-01-24 22:43:00 +01:00
MightyPork 63a7852554 bleh 2018-01-24 22:30:35 +01:00
MightyPork 8e9c653090 Doc comments and explanations 2018-01-24 22:09:42 +01:00
MightyPork 052fa4ce08 Added exti resources to the enum and name generator 2018-01-24 21:35:10 +01:00
MightyPork 4930f14047 made usart rxbuf large again 2018-01-15 15:46:36 +01:00
MightyPork d1e24608c7 remove redundant gpio clock enables 2018-01-15 15:11:55 +01:00
MightyPork 5edbf1306f removed the DMA timeout message 2018-01-15 15:07:52 +01:00
MightyPork bbbd216244 Merge branch 'uart' 2018-01-15 15:05:25 +01:00
MightyPork 8272a36aee Implemented unit timed tick and uart rx timeout 2018-01-15 15:04:09 +01:00
MightyPork b3d1f95e7d cleanup and added sync + async commands 2018-01-15 14:06:48 +01:00
MightyPork 5d12b23ceb deleted old sync sending code 2018-01-15 12:57:59 +01:00
MightyPork b5d2930e30 uart tx now pretty reliable, but msg queue sometimes seemingly gets corrupted (checksum mismatch) 2018-01-15 12:53:06 +01:00
MightyPork 6da4bd5d63 Merge branch 'uart-dmalign' into uart 2018-01-15 12:21:33 +01:00
MightyPork 2d53fc29be removed the alignment crap, left one length field byte and wraparound markers. Works except one mysterious lock-up 2018-01-15 12:21:22 +01:00
MightyPork 08b4010b13 uhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh 2018-01-15 11:45:00 +01:00
MightyPork 77f794e94a some debuggiong. Tx is not reliable and sometimes duplicates or loses bytes 2018-01-15 02:24:46 +01:00
MightyPork 2881c2ff2a almost finished DMA reception 2018-01-14 21:44:11 +01:00
MightyPork e2e4d91cf3 Added func for simple periph clock toggling without the horrible if jungle 2018-01-14 12:49:09 +01:00
MightyPork 137619d942 added a safeguard 2018-01-14 00:29:29 +01:00
MightyPork c4cc3bb9ce fixed bug with settings fucking up units that were already loaded 2018-01-14 00:27:34 +01:00
MightyPork 05875a8167 fixed bogus slotcount use display + moved some stuff to dynalloc to save ram 2018-01-14 00:21:13 +01:00
MightyPork 7df577f9b1 toggle to disable logging resources stuff 2018-01-14 00:09:40 +01:00
MightyPork ace2bd6357 switch to freeRtos malloc + improve malloc_safe utils, fixed memleak 2018-01-14 00:04:53 +01:00
MightyPork 0ef1134aa0 some traps 2018-01-13 21:49:13 +01:00
MightyPork 69443613fc some more stack shrinking 2018-01-13 21:33:19 +01:00
MightyPork 8a28395102 fix-up PRINTF to use PUTS when no variable args are given 2018-01-13 20:54:57 +01:00
MightyPork 7280338f8b take some steps towards reducing memory footprint in stack buffers 2018-01-13 20:51:09 +01:00
MightyPork d49081b190 basic work on uart 2018-01-13 19:49:12 +01:00
MightyPork 8852f9f8b4 enable all periph clocks by default on startup, added testing synchronous uart write command 2018-01-13 12:30:17 +01:00
MightyPork 29264540f7 added uart init (untested) and more config option 2018-01-13 01:37:14 +01:00
MightyPork e88bf84ea1 basic usart skeleton 2018-01-12 12:03:46 +01:00
MightyPork 9c5d889cfc remove debug for freeing pins 2018-01-12 10:20:27 +01:00
MightyPork d05330c0c0 updated tinyframe 2018-01-12 10:18:09 +01:00
MightyPork 15ebb6ab10 removed some excessive logging 2018-01-12 10:03:07 +01:00
MightyPork e471497577 added error logging to tinyframe 2018-01-12 09:55:47 +01:00
MightyPork 7816d75563 merged job queue with message queue 2018-01-12 09:30:02 +01:00
MightyPork c58787c95d some memory savings 2018-01-07 13:29:38 +01:00
MightyPork 26934a0984 Implemented PINOUT.TXT file 2018-01-07 13:04:19 +01:00
MightyPork ad39fc280f added some doc comments 2018-01-07 11:22:31 +01:00
MightyPork 766cfdba06 Merge branch 'add-spi' 2018-01-07 00:44:11 +01:00
MightyPork b5d9d146f9 fixed the bug with botched deinig, caused by use of malloc instead of calloc 2018-01-07 00:43:42 +01:00
MightyPork 69fa263f45 working SPI unit 2018-01-07 00:32:00 +01:00
MightyPork 8e07590cbe some cleaning 2018-01-06 19:22:02 +01:00
MightyPork 6406475f48 some drying things up (GPIO init in particular) 2018-01-06 19:17:25 +01:00
MightyPork 6756b79ef4 added automatic GPIO teardown, remap support to i2c, force error comments in ini if disabled 2018-01-06 18:45:23 +01:00
MightyPork ce895b3238 added ini comment about remap meanigns for spi 2018-01-06 17:46:48 +01:00
MightyPork d3d8400245 fix a bug in parsing SPI device 2018-01-06 17:34:33 +01:00
MightyPork 05a568a27c ram savings by using new bitfield-based rsc alloc 2018-01-06 17:32:37 +01:00
MightyPork e82306c36f added more informative error message to unit failed due to rsc not avail 2018-01-06 16:09:54 +01:00
MightyPork 931f6cea59 added missing mutex for shared scratch buffer 2018-01-06 15:53:56 +01:00
MightyPork 913f431a54 stub of SPI write cmd, multicast cmd 2018-01-05 10:11:57 +01:00
MightyPork 0f75690310 added SPI pin mappings for f072 2018-01-05 09:59:27 +01:00
MightyPork 83c2f26c43 w.i.p. SPI, left to add: pin mappings, UU functions 2018-01-04 23:58:53 +01:00
MightyPork 645619e9c5 fixed the bug 2018-01-04 13:45:41 +01:00
MightyPork 71f5918e54 fixed hardfault handler to better work on cm0 2018-01-04 13:37:41 +01:00
MightyPork 1e41d4c3cb added unit type checks to UU_ functions 2018-01-04 12:35:32 +01:00
MightyPork dc8735236f Merge branch 'error_rewrite' 2018-01-04 12:07:04 +01:00
MightyPork a5d9635cee fixed some remaining bugs 2018-01-04 12:06:54 +01:00
MightyPork ab2dfe3a76 Rewrite all units and other logic to better use return values and added TRY() helper 2018-01-04 11:50:05 +01:00
MightyPork 465242a0f1 Merge branch 'add-i2c' 2018-01-04 01:39:51 +01:00
MightyPork 3ed13c322f better API and exposed to header 2018-01-04 01:34:18 +01:00
MightyPork 1a225d6f06 added higher level i2c functions for working with registers 2018-01-04 01:20:48 +01:00
MightyPork cdd54cc550 read and write both working 2018-01-04 00:27:31 +01:00
MightyPork f917427be4 i2c write works 2018-01-03 23:57:56 +01:00
MightyPork 9e7ae008b6 added unit and basic config 2018-01-03 00:10:10 +01:00
MightyPork a3df4d79e1 better asm loop 2018-01-02 22:51:10 +01:00
MightyPork 5cbc9fa6dd fixed the delay loop thing 2018-01-02 22:41:13 +01:00
MightyPork 6f561bc191 updated plat compat 2018-01-02 19:57:40 +01:00
MightyPork dcf0037b83 neopixel improvements 2018-01-02 18:14:09 +01:00