Karl Palsson
8b484ba88e
oocd: move stm32f1 config file to common
2016-09-27 22:23:57 +00:00
Karl Palsson
c0ec94e4c9
ubs-serial-rs485: First solidly working version.
...
Needs major refactoring to split out the _actual_ arch dependent pieces.
Needs parity and more complete baud rate support.
Needs rs485 support.
2016-09-26 22:04:02 +00:00
Karl Palsson
19d3225fd6
adc-power: update makefiles with work lying around
2016-09-26 20:57:10 +00:00
Karl Palsson
418b3e1415
update library
2016-09-26 20:27:57 +00:00
Karl Palsson
cdd0a0c2e4
adc-power: include f1 tests
2016-09-11 23:38:55 +00:00
Karl Palsson
1ccad7973f
update libopencm3 to get adc power off fixes
2016-09-09 22:17:44 +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
fc60dd45e4
.gitignore generated linker scripts
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
02064576e8
qemu test sample from daniellinux:
...
soruced originally from: https://github.com/libopencm3/libopencm3/pull/613
edited to drop the use of bin files, and switch to devices.data
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
835fafe270
squelch errors from netcat when it needs to start oocd
...
be nice if I could _keep_ errors when V=1 but....
2016-09-09 22:16:45 +00:00
Karl Palsson
cb945fa671
rcc-legal-ranges: run through a range of clocks
...
blink fast/slow for each clock configuration tested, then finish by
blinking idly.
As of this commit, this test fails quickly on most L1 boards tested.
An update to libopencm3 is required to fix this.
2016-08-19 11:31:57 +00:00
Karl Palsson
3d72709fda
Update libopencm3 to latest
2016-08-19 11:30:19 +00:00
Karl Palsson
1766f13ad2
rcc-legal-ranges: initial l1 setup
...
Doesn't fail on my l1 disco unfortunately. (silicon rev X)
Does fail on a custom board with silicon rev V
2016-08-18 12:37:17 +00:00
Karl Palsson
41e0b51830
Update libopencm3 to current master
2016-08-18 12:37:17 +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
09ea7a8695
rules: attempt to connect to a running openocd first.
2016-03-30 17:22:52 +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
d794448e8e
update moduls
2016-03-14 21:38:02 +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
39467f34cb
update library submodule
2016-03-04 00:44:37 +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
a5106fc15b
fix path to common f0 oocd file
2016-03-04 00:43:21 +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
30e3339a94
gitignore projects, bins and dump logs
2015-10-28 18:57:30 +00:00
Karl Palsson
26eeb48807
f3: wip continues
2015-10-28 18:55:56 +00:00
Karl Palsson
3830ded6e7
openocd: correct f3 serial number
...
After upgrading and verifying.
2015-10-19 00:42:07 +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
935912fb0e
fix markdown
2015-10-17 02:35:39 +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
0bcc5d5efd
initial openocd config files
2015-10-16 21:56:06 +00:00
Karl Palsson
1cb68c5e21
add libopencm3 as submodule
2015-10-16 20:44:33 +00:00
Karl Palsson
b0d0fcddba
purpose of first test
2015-10-16 20:42:40 +00:00
Karl Palsson
7c913a8a08
purpose of shared directory
2015-10-16 20:34:07 +00:00
Karl Palsson
bd6902d8e8
Initial commit
2015-10-16 20:24:12 +00:00