Commit Graph

595 Commits

Author SHA1 Message Date
Mario Hüttel 8281bcaca3 Fix CPU specifier in startup assembly file (This had no bad effect, because it was overrriden by the compiler falgs which are correct) 2020-04-17 23:02:15 +02:00
Mario Hüttel 1acce563c1 Merge branch 'dev' into ui 2020-04-14 21:41:53 +02:00
Mario Hüttel bf985a9ca4 Silence unused variable warning in _kill system call dummy 2020-04-14 21:39:38 +02:00
Mario Hüttel cd23e93825 Add newest shellmatta and include missing syscalls 2020-04-11 00:54:17 +02:00
Mario Hüttel f2c596a670 Update shellmatta to newest dev version 2020-03-09 19:20:27 +01:00
Mario Hüttel d5c459d136 Update shellmatta to newest version 2020-03-01 21:06:10 +01:00
Mario Hüttel 9b90af8405 Make clean target silent in Makefile 2020-03-01 21:05:50 +01:00
Mario Hüttel 9311d0b515 Write button code 2020-02-25 21:01:34 +01:00
Mario Hüttel 0bc341c0aa Merge branch 'dev' into ui 2020-02-25 20:24:12 +01:00
Mario Hüttel a338831d69 Add FatFS hello world. Will be removed but shows, that device is functional 2020-02-25 20:05:48 +01:00
Mario Hüttel 4487f854cd Merge branch 'dev' into ui 2020-02-25 19:49:14 +01:00
Mario Hüttel a39fe09de4 Remove files for onewire sensor. Will add them when necessary. 2020-02-25 19:48:14 +01:00
Mario Hüttel 31769fd42d remove onewire interface from compilation 2020-02-25 19:43:51 +01:00
Mario Hüttel 0ddaef01c8 Start onewire interface. But probably won't finish it 2020-02-25 19:34:50 +01:00
Mario Hüttel 71e2073a76 reflect bitrate change of uart in uart struct 2020-02-24 22:15:36 +01:00
Mario Hüttel c923fb3e12 Add baudrate change function to uart driver 2020-02-24 22:09:58 +01:00
Mario Hüttel 49835d9213 Merge branch 'dev' into ui 2020-02-24 20:03:57 +01:00
Mario Hüttel 1ef7713351 Start implementation of onewire temperature sensor interface 2020-02-24 20:02:45 +01:00
Mario Hüttel 26b8ad852e Add static module for onewire temperature sensors 2020-02-24 19:21:29 +01:00
Mario Hüttel f09877921a start onewire interface 2020-02-24 19:16:46 +01:00
Mario Hüttel 5012b726cd Make Uart driver universal 2020-02-24 18:50:09 +01:00
Mario Hüttel 4bc85d474f c 2020-02-24 18:48:26 +01:00
Mario Hüttel 5948ac2897 fix stray tab in makefile 2020-02-23 22:00:21 +01:00
Mario Hüttel 55b664b58f Fix possible bufferoverflow with strncpy 2020-02-23 21:57:50 +01:00
Mario Hüttel fcbd1ae05e Init Button. Interrupt still missing 2020-02-23 21:48:52 +01:00
Mario Hüttel 6700b0ea81 Add pupdr macros 2020-02-23 21:48:30 +01:00
Mario Hüttel 6965882435 Add temporary LCD code 2020-02-23 21:22:38 +01:00
Mario Hüttel c35c80ce24 Add files for user interface via rotaryencoder/button and LCD 2020-02-23 21:06:42 +01:00
Mario Hüttel 8ffc5c11e0 Fix style in shell.c 2020-02-23 21:06:24 +01:00
Mario Hüttel 37e2c78b0b Merge branch 'master' into dev 2020-02-23 21:00:17 +01:00
Mario Hüttel e85a26d90b Fix bug in uart, when compiled in release mode 2020-02-23 20:58:56 +01:00
Mario Hüttel c3ff199a09 remove TODO from makefile 2020-02-23 20:58:35 +01:00
Mario Hüttel 6832afa087 Add all qtcreator files to ignore list 2020-02-23 20:58:13 +01:00
Mario Hüttel be65301986 Fix style 2020-02-21 23:37:48 +01:00
Mario Hüttel 30aa1149a3 Merge branch 'ui' into dev 2020-02-21 23:08:38 +01:00
Mario Hüttel 68fc473372 Add stack checking functions 2020-02-21 23:01:04 +01:00
Mario Hüttel b5d4bf5528 Add stack checker module andf fix all license headers 2020-02-21 21:22:01 +01:00
Mario Hüttel 532262f670 Fix rotary encoder relative change function 2020-02-16 18:17:19 +01:00
Mario Hüttel 85ecc3064a Correct typo in doxygen's project name 2020-02-16 17:37:26 +01:00
Mario Hüttel f8076920fe Start doxygen documentation 2020-02-16 17:35:41 +01:00
Mario Hüttel 9629c08da2 Add doxygen 2020-02-16 16:52:21 +01:00
Mario Hüttel a35f66f2cd Add code for rotary encoder 2020-02-16 16:38:31 +01:00
Mario Hüttel 6fa071e1d1 Add rotary encoder module 2020-02-16 14:25:49 +01:00
Mario Hüttel 47daf495bd Remove random calibration try 2020-02-16 14:21:40 +01:00
Mario Hüttel 7ade829a70 Make ring buffers volatile 2020-02-16 11:42:18 +01:00
Mario Hüttel 1d62bc22b8 Increase programming clock freq to 4 MHz 2020-02-16 00:42:00 +01:00
Mario Hüttel 6ed7a4886d change programming speed to 1 MHz in order to prevent communication errors 2020-02-15 23:17:41 +01:00
Mario Hüttel 3781ecb669 Update programming scripts 2020-02-15 23:09:23 +01:00
Mario Hüttel 4c5b3add1d Add scripts for device programming using JLINK 2020-02-15 22:25:53 +01:00
Mario Hüttel c3be39b4e5 Add license header to all files 2020-02-15 22:09:55 +01:00
Mario Hüttel 43473efcdd Add fallthrough warning for switch cases explicitly to CFLAGS 2020-02-15 21:06:45 +01:00
Mario Hüttel 7df97831be Add conversion function for resistance to temperature conversion and add it to thept command of the shell 2020-02-15 20:31:38 +01:00
Mario Hüttel b13b3b4377 Add script for generating PT1000 lookup dat and generate first header file 2020-02-15 17:54:45 +01:00
Mario Hüttel c568b95cf2 Add calibration routine from shell 2020-02-15 17:54:13 +01:00
Mario Hüttel 5a00950589 Add deactivated PT1000 measurement as error flag, startcode for calibration routine 2020-02-15 01:04:40 +01:00
Mario Hüttel b497537a78 Increse heap and stack sizes 2020-02-15 01:03:38 +01:00
Mario Hüttel 723afd9f56 Fix arm math header 2020-02-15 01:03:19 +01:00
Mario Hüttel ebb95b902c Add python script that creates matching c and h files 2020-02-14 20:39:50 +01:00
Mario Hüttel 40093322c3 Remove wrong file headers 2020-02-12 23:03:17 +01:00
Mario Hüttel 0da3ebed6f Add unique ID as serial number to version output 2020-02-12 22:24:26 +01:00
Mario Hüttel c6dd4e735c Improve coding and add color to shell output 2020-02-12 22:02:18 +01:00
Mario Hüttel 13c528163d Add compile date to shell version command's output 2020-02-12 21:53:13 +01:00
Mario Hüttel 26f8e7ae99 Document DMA ring buffer 2020-02-12 21:49:28 +01:00
Mario Hüttel 1745a7e2b2 Fix coding in all files 2020-02-12 21:19:11 +01:00
Mario Hüttel 94b59918fc Fix warnings in autogenerated file system_stm32f4xx.c 2020-02-12 21:15:51 +01:00
Mario Hüttel d095e26c9e Fix code style and warnings in syscalls.c 2020-02-12 21:15:25 +01:00
Mario Hüttel 09507b5734 Add compile options for more warnings 2020-02-12 21:10:15 +01:00
Mario Hüttel 29fed8328c Improve code 2020-02-12 21:08:05 +01:00
Mario Hüttel bb898adfac Move include files out of uart folder 2020-02-12 21:06:52 +01:00
Mario Hüttel e4770698e2 Add dependency files to clean target 2020-02-12 21:06:28 +01:00
Mario Hüttel f04a5c7930 Restructure include hierarchy 2020-02-12 21:00:35 +01:00
Mario Hüttel d80ce20675 Add uptime shell command 2020-02-11 22:59:30 +01:00
Mario Hüttel 673e651910 Add ring buffer for uart TX 2020-02-11 22:49:47 +01:00
Mario Hüttel 14ba09a716 Update shellmatta to fixed forked version 2020-02-10 22:47:24 +01:00
Mario Hüttel 69c00ff3d3 * Improve uart dma ring buffer. Sending dma still missing
* Add digio module for controlling LEDs, Loudspeaker, and the Digital IOs
* General code improvements
2020-02-10 22:40:37 +01:00
Mario Hüttel 48fea3d36e Make average calculation floating point. 2020-02-09 19:21:06 +01:00
Mario Hüttel 8bbc2e60f8 Update Firmware with features:
* Shellmatta implemented using UART
* Version string implemented
* Increased heap size
* Add shellmatta printf support
2020-02-09 19:13:37 +01:00
Mario Hüttel 1f5a535076 Make average filtering of HF meas path an integer calculation 2020-02-08 19:18:47 +01:00
Mario Hüttel 3ac252db69 Add DMA ring buffer file for UART, Improve calculation of PT1000 resistance 2020-02-05 23:09:23 +01:00
Mario Hüttel 4c7909adac Fix wrong data type of variable in clock manager 2020-02-03 20:20:00 +01:00
Mario Hüttel 1e678c3ce8 Fix bug in clock manager and remove DMA sampling from ADC code. Will be rewritten in a different way 2020-02-03 19:40:59 +01:00
Mario Hüttel 5f9bc29701 Add untested version of clock enable manager 2020-02-03 19:21:50 +01:00
Mario Hüttel 87db430a17 Remove empty lines from linker script, Make .bss section NOLOAD 2020-02-03 18:22:38 +01:00
Mario Hüttel 314bc278eb mark heap and stack as noload sections 2020-02-02 21:38:40 +01:00
Mario Hüttel bccacc253c Add shellmatta to Makefile, Disable Printf dupport for shellmatta 2020-02-02 20:54:09 +01:00
Mario Hüttel 850d84140e ADC PT1000 Measurement progress 2020-02-02 20:24:44 +01:00
Mario Hüttel 23e754ab2a Add shellmatta Shell 2020-02-02 02:02:18 +01:00
Mario Hüttel 1dcdb3b603 Fix trailing whitespace in Makefile 2020-02-02 02:00:42 +01:00
Mario Hüttel 02a673546e Start implementation of PT1000 ADC measurement 2020-02-02 01:49:37 +01:00
Mario Hüttel f9eb3c676b delete duplicate arm_math.h and fix doxygen docu for adc_meas 2020-02-02 00:46:12 +01:00
Mario Hüttel e091ccf19c start firmware: Function definitions for ADC 2020-02-02 00:01:08 +01:00
Mario Hüttel d5f65fecfc Fix gitignore file name 2020-01-28 18:53:56 +01:00
Mario Hüttel 6da78ba476 Delete jdebug file 2020-01-28 18:53:08 +01:00
Mario Hüttel 080d4d92a1 Add jdebug to gitignore 2020-01-27 21:37:09 +01:00
Mario Hüttel ad7badba56 First test version to sample temperature input and blink LEDs 2020-01-26 21:07:54 +01:00