summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-03-27i2c-master: add pins for f0 discoKarl Palsson1-0/+1
2017-03-24i2c-master: use library form of transfer functionsKarl Palsson2-143/+0
2017-03-23i2c: use speed setting from newer library versionKarl Palsson2-95/+0
2017-03-23i2c-master: add 400k speed support on v1/v2Karl Palsson2-20/+44
2017-03-23i2c-master: cleaned up again on l1Karl Palsson1-168/+81
now has repeated-start and stop/start support, with the same API as v2 Just to decide whether all of it goes up into the library or not.
2017-03-22bump to my latest libKarl Palsson1-0/+0
2017-03-22working temp/humi stop/repeated stuff on f0Karl Palsson1-24/+32
needs cleanup and remerge with f4/l1
2017-03-22use transfer style for serial number readingKarl Palsson1-4/+6
2017-03-22f0 working with repeated start properly. need to squish lots of thisKarl Palsson3-26/+334
like, you left the f0 makefiles out earlier, and it's all boring history anwyay
2017-03-09i2c: draft api of "set speed 100k" commonKarl Palsson1-17/+23
Only needs the input clock in megahz.
2017-03-09drop duplicate openocd board fileKarl Palsson1-14/+0
2017-03-08lib: Bump to my current staging treeKarl Palsson1-0/+0
2017-03-08i2c-master: first hack working on f0Karl Palsson1-5/+25
read_i2c and write_i2c are not flexible enough, and terribly named. they're going to have to go, but they're a nice start for some things.
2017-03-08i2c-master: working on l1 too.Karl Palsson5-8/+108
Needs retest on f4. then ready to move to new hardware
2017-03-01i2c-master: tidy up more.Karl Palsson5-34/+39
Still f4 only, but cleaner, and more testing with sigrok for verification
2017-02-21i2c-master: start extracting out i2c codeKarl Palsson3-123/+201
Working on f4 with an external sht21 i2c sensor. Still lots of f4 specifics yet. But, progress.
2017-02-21i2c-master: start progressing to extracting common i2c codeKarl Palsson5-18/+102
2017-02-21i2c: Initial stub import of old f4 codeKarl Palsson3-0/+246
Currently (despite docs) is an import of code reading the onboard i2c peripheral
2017-02-21usb-rs485: more docsKarl Palsson1-0/+3
2017-02-21usb-rs485: update to latest library masterKarl Palsson2-5/+4
2016-10-03usb-rs485: enable rs485 mode.Karl Palsson2-16/+12
Tested on the f1 with a LA only, but traces look good and as expected. future work to actually hook it up to a rs485 device.
2016-10-03oocd: use l0 for f1 instead.Karl Palsson1-2/+5
let's me have both f1 and f4 in operation at the same time
2016-10-03bump core libraryKarl Palsson1-0/+0
2016-09-30usb-rs485: update readmeKarl Palsson1-0/+9
2016-09-30rules.mk: don't bother making .binsKarl Palsson1-1/+1
2016-09-30usb-serial: functional f4Karl Palsson2-2/+48
Add stubs based on f1, and include irq timing pin
2016-09-30usb-serial: f1: try and diagnose corruption in rx pathKarl Palsson1-0/+1
2016-09-30usb-serial: functional on f1.Karl Palsson7-111/+379
2016-09-27oocd: move stm32f1 config file to commonKarl Palsson2-1/+1
2016-09-26ubs-serial-rs485: First solidly working version.Karl Palsson9-0/+887
Needs major refactoring to split out the _actual_ arch dependent pieces. Needs parity and more complete baud rate support. Needs rs485 support.
2016-09-26adc-power: update makefiles with work lying aroundKarl Palsson12-20/+185
2016-09-26update libraryKarl Palsson1-0/+0
2016-09-11adc-power: include f1 testsKarl Palsson4-0/+128
2016-09-09update libopencm3 to get adc power off fixesKarl Palsson1-0/+0
2016-09-09adc-power: Calling adc_power_off twice should be safeKarl Palsson1-0/+2
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-09adc-power: f3 adc peripheral takes over gpios automatically?Karl Palsson1-3/+5
Doesn't seem to have any impact when just hooking up a pot to the pins at least.
2016-09-09.gitignore generated linker scriptsKarl Palsson1-0/+1
2016-09-09adc-power: add oocd file for f3 discoKarl Palsson1-0/+12
2016-09-09adc-power: add f4 oocd configKarl Palsson1-0/+12
2016-09-09qemu test sample from daniellinux:Karl Palsson3-0/+118
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-09switch to using devices.data linker generationKarl Palsson6-49/+25
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-09squelch errors from netcat when it needs to start oocdKarl Palsson1-2/+2
be nice if I could _keep_ errors when V=1 but....
2016-08-19rcc-legal-ranges: run through a range of clocksKarl Palsson3-30/+119
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-19Update libopencm3 to latestKarl Palsson1-0/+0
2016-08-18rcc-legal-ranges: initial l1 setupKarl Palsson3-0/+107
Doesn't fail on my l1 disco unfortunately. (silicon rev X) Does fail on a custom board with silicon rev V
2016-08-18Update libopencm3 to current masterKarl Palsson1-0/+0
2016-03-30adc: hacks to get it up and running for L4Karl Palsson2-3/+15
2016-03-30adc: document where debug output goesKarl Palsson1-0/+4
2016-03-30rules: attempt to connect to a running openocd first.Karl Palsson1-2/+4
2016-03-30adc: use single float literalsKarl Palsson1-3/+3
Dramatic performance improvement on m4f cores, ~1600->80 cycles