Commit Graph
100 Commits
Author SHA1 Message Date
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
MightyPork 64592c3bb6 fixed the bug, caused by partly inited units trying to de-init pins 2018-01-02 16:49:30 +01:00
MightyPork 39ad4a8d28 some blinky changes. boot button seems to sometimes not work 2018-01-02 12:13:13 +01:00
MightyPork 41499eff9d added "welcome chime" 2018-01-02 12:10:38 +01:00
MightyPork bd281564b3 update some timing 2018-01-02 12:08:02 +01:00
MightyPork 83a01aa1bc reworked the indicator engine to better support patterns 2018-01-02 12:06:22 +01:00
MightyPork c19b185b06 implemented lock button option 2018-01-02 11:33:05 +01:00
MightyPork 0cdb811d40 Deleted Pin unit, replaced by DI and DO 2017-12-28 22:00:39 +01:00
MightyPork 9873d18298 Fixed bug in ini parsing 2017-12-28 21:29:42 +01:00
MightyPork a54726bd5c added logging of driver loading 2017-12-28 21:14:57 +01:00
MightyPork 85dd77311b made some stuff static 2017-12-28 21:11:25 +01:00
MightyPork 8768dc31ab added DI unit 2017-12-28 21:01:13 +01:00
MightyPork 37f712f054 Split system settings to separate config file 2017-12-28 18:36:13 +01:00
MightyPork 0af90eccbf added version markers to settings, option to disable INI comments 2017-12-28 18:16:39 +01:00
MightyPork d3d8b20095 disable flash debug logging 2017-12-28 15:26:45 +01:00
MightyPork 393ec1e951 reworking pins, flash doesnt work 2017-12-28 13:52:04 +01:00
MightyPork 9a32962c95 added replug for f407 2017-12-27 23:04:01 +01:00
MightyPork 09e651bd23 add usb replug for F303 2017-12-27 23:00:48 +01:00
MightyPork 2f0db41fb9 add usb re-plug functionality to F072 2017-12-27 22:57:45 +01:00
MightyPork 0146c3332f boost err msg str len to usable size 2017-12-27 22:51:22 +01:00
MightyPork c802946db0 fix some rtos static objs having confusing names 2017-12-25 18:12:30 +01:00
MightyPork cffedd7a9a added option to disable the test unit 2017-12-25 17:42:23 +01:00
MightyPork 89f8c59d40 make some options configurable and rename some constants 2017-12-25 17:31:43 +01:00
MightyPork bef9b83826 Moved size defines to plat_compat 2017-12-25 13:47:50 +01:00
MightyPork 8ded459c68 make it possible to disable VFS and MSC via makefile 2017-12-25 13:20:41 +01:00