Commit graph

30 commits

Author SHA1 Message Date
Karl Palsson
a62f296f73 adc-power: correctly allow parallel make
Need to use $(MAKE) correctly!
2018-04-16 21:32:29 +00:00
Karl Palsson
da729ec691 adc-power: add parallel parent makefile
and fix the bugs it shows from me not maintaining this code!
2018-02-25 22:46:21 +00:00
Karl Palsson
9d0983c386 adc-power: drop unused l053 makefile stub
remnant of being copied from usb-gadget0
2018-02-25 22:45:40 +00:00
Karl Palsson
bed7ca19b2 adc-power: stm32l1: make "generic" == hw1 test board.
* use the trigger pin instead of the led.
* use the smaller flash of the part mounted.
2018-02-21 22:56:01 +00:00
Karl Palsson
8b484ba88e oocd: move stm32f1 config file to common 2016-09-27 22:23:57 +00:00
Karl Palsson
19d3225fd6 adc-power: update makefiles with work lying around 2016-09-26 20:57:10 +00:00
Karl Palsson
cdd0a0c2e4 adc-power: include f1 tests 2016-09-11 23:38:55 +00:00
Karl Palsson
55cf5bcd76 adc-power: Calling adc_power_off twice should be safe
but, it's not on f3 at present.

See https://github.com/libopencm3/libopencm3/issues/654
and
https://github.com/libopencm3/libopencm3/pull/662
2016-09-09 22:16:45 +00:00
Karl Palsson
075229952e adc-power: f3 adc peripheral takes over gpios automatically?
Doesn't seem to have any impact when just hooking up a pot to the pins
at least.
2016-09-09 22:16:45 +00:00
Karl Palsson
f1138d9cc2 adc-power: add oocd file for f3 disco 2016-09-09 22:16:45 +00:00
Karl Palsson
a5764de19f adc-power: add f4 oocd config 2016-09-09 22:16:45 +00:00
Karl Palsson
c5c33a4600 switch to using devices.data linker generation
Still using my own private rules, but now using the linker script generator so
no need to keep expanding on including .ld files in core libopencm3
2016-09-09 22:16:45 +00:00
Karl Palsson
bcdf3f8943 adc: hacks to get it up and running for L4 2016-03-30 17:24:12 +00:00
Karl Palsson
96bbee9af9 adc: document where debug output goes 2016-03-30 17:23:11 +00:00
Karl Palsson
614482176c adc: use single float literals
Dramatic performance improvement on m4f cores, ~1600->80 cycles
2016-03-30 17:15:06 +00:00
Karl Palsson
fc590297eb adc: f4: update for new naming 2016-03-30 17:13:40 +00:00
Karl Palsson
9b371b5189 fix l4 to run at 48Mhz and with a clock 2016-03-14 21:34:18 +00:00
Karl Palsson
f4ebd4a603 attempt actual adc on l4
(insufficient,needs clocks yet)
2016-03-04 00:43:41 +00:00
Karl Palsson
2a05ac3942 f3: use new rcc names 2016-03-04 00:43:41 +00:00
Karl Palsson
5e57c5b0c9 use new names for SMPRx defines 2016-03-04 00:43:41 +00:00
Karl Palsson
0ab2988130 l4 miniblink
We'll build up to the adc temp sensor from here
2016-03-04 00:43:21 +00:00
Karl Palsson
19a85ae45b f0 working (one fixme)
need scan mode upstream?
2016-03-04 00:43:21 +00:00
Karl Palsson
c522c29dca WIP: f0 adc build 2015-11-03 23:53:42 +00:00
Karl Palsson
73e12bd0fd f3 temp sensor working 2015-11-03 23:21:44 +00:00
Karl Palsson
4a1f9d06d2 f4: proper float/int temp readings 2015-11-03 22:34:40 +00:00
Karl Palsson
26eeb48807 f3: wip continues 2015-10-28 18:55:56 +00:00
Karl Palsson
cca0635bcd WIP: adc-power f3
needs rcc fixups
2015-10-17 02:55:13 +00:00
Karl Palsson
b76fbc0636 adc-power: f4: use correct path to linker
Don't escape the project!
2015-10-17 02:52:48 +00:00
Karl Palsson
8d538b3935 stub adc on/off test code.
Needs a pot on PA0, should get the temperature input working as well.
2015-10-17 02:15:58 +00:00
Karl Palsson
b0d0fcddba purpose of first test 2015-10-16 20:42:40 +00:00