Commit Graph
100 Commits
Author SHA1 Message Date
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
MightyPork bcbb66e2e9 moved units registration to resources_init for better platform specific differences 2017-12-25 12:40:14 +01:00
MightyPork a681fa17fe removed some confusing comments 2017-12-24 23:29:51 +01:00
MightyPork 9132e549ac improve ping msg 2017-12-24 23:20:38 +01:00
MightyPork fab9ec7426 make it possible to write the INI file via TF 2017-12-24 23:18:06 +01:00
MightyPork 0046eff12a implemented ini read via command 2017-12-24 22:48:16 +01:00
MightyPork cc0bf107f0 rename some funcs related to settings, preparing to add commands for reading and writing the ini file. 2017-12-24 22:12:42 +01:00
MightyPork ad2e19d4fe use bulk typedefs in functions, add monitoring of msg queue usage to stackmon 2017-12-24 16:09:21 +01:00
MightyPork 45910e7f04 Merge branch 'bulk' 2017-12-23 23:00:02 +01:00
MightyPork 4ee1d8efd5 removed some logging 2017-12-23 22:59:47 +01:00
MightyPork 32c2c5a883 updated tinyframe and implemented bulk write 2017-12-23 22:56:17 +01:00
MightyPork 2f5e30b8a4 bulk write implemented but not yet tested. bulk read improved 2017-12-23 22:38:21 +01:00
MightyPork 7f682b2dcd some cleaning 2017-12-23 21:22:31 +01:00
MightyPork 92c28c5daf rename tf response helpers to com_* 2017-12-23 21:05:28 +01:00
MightyPork 4f92b97305 removed low prio queue 2017-12-23 20:55:45 +01:00
MightyPork 97b6fd0028 removed all uses of the jobs queue for TF responses, not needed naymore 2017-12-23 20:21:52 +01:00
MightyPork 96d06a086f improved bulk read api 2017-12-23 19:10:23 +01:00
MightyPork d8e2d016d2 modularized bulk read 2017-12-23 18:36:44 +01:00
MightyPork eb58fce25a updated tf 2017-12-23 16:31:52 +01:00
MightyPork ccbff578b3 tf update and some progress 2017-12-23 12:36:16 +01:00
MightyPork d6c4372755 updated tinyframe 2017-12-23 10:03:37 +01:00
MightyPork 5ca7ab1db0 implement a message processing queue that will hopefully aleviate the pain in working with tinyframe. this should make it possible to almost entirely get rid of async jobs for simple replies 2017-12-22 23:10:14 +01:00
MightyPork fa5261b65a some cleaning 2017-12-22 19:17:57 +01:00
MightyPork 5db77649ff fuxes for build without serial 2017-12-22 01:02:45 +01:00
MightyPork 5135aedc5b bulk now works, but has some excessive comments and need to be abstracted out 2017-12-22 00:26:27 +01:00
MightyPork 40479a0b24 work on bulk, not finished 2017-12-21 01:08:35 +01:00
MightyPork 26aea3200c some assert changes in vfs mgr 2017-12-17 16:28:17 +01:00
MightyPork 9c37afe076 Merge branch 'f407' 2017-12-17 16:10:28 +01:00
MightyPork 803cd57960 simplified config file comments, fixed settings not peristed, fixed F407 flash code 2017-12-17 16:09:07 +01:00
MightyPorkandGitHub 02d769710f F407 basic compat (#25)
* work on f407 support

* builds with f407
2017-12-17 12:22:53 +01:00
MightyPork 03075bdd5e builds with f407 2017-12-17 11:31:04 +01:00
MightyPork a3e043a8e1 work on f407 support 2017-12-17 01:54:35 +01:00
MightyPork 9e45f4e6ec fix 303, now works with usb 2017-12-17 01:18:05 +01:00
MightyPork f15b907f5d work towards f303 compat, usb not working but it runs 2017-12-17 00:55:14 +01:00
MightyPork b19b85e7eb Some fixes to work with F103 again 2017-12-16 23:16:38 +01:00
MightyPork 6f749f0198 uhhh 2017-12-16 23:11:14 +01:00
MightyPork ce80895b25 Fix wrong port count in pin utils 2017-12-16 19:21:19 +01:00