Karl Palsson
b8461da137
jenkins: attempt to mark commit status only within libopencm3
trying to get pr checks tto flag properly
4 years ago
Karl Palsson
09bf6e9ebc
jenkins: fix typo
4 years ago
Karl Palsson
11d2408289
jenkins: try and set commit status on correct commit
Logs on jenkins showed it trying to set the commit state on the wrong
commits, the master of upstream, instead of the head of the PR
4 years ago
Karl Palsson
52dc1ff6d7
Update jenkinsfile after testing by edits live on jenkins
4 years ago
Karl Palsson
04dd4c6fc8
try out other ways..
4 years ago
Karl Palsson
3416f55ee9
jenkins hatr
4 years ago
Karl Palsson
d220e1daf6
fix syntax in jenkinsfile
4 years ago
Karl Palsson
efc4f08267
tests: gadget0-f3: allow custom local stlink
4 years ago
Karl Palsson
96953eeab3
draft jenkins file
4 years ago
Karl Palsson
bcd162c49a
trya nd make directories per
4 years ago
Karl Palsson
5275a1761f
hacky hacks
4 years ago
Karl Palsson
0bb9d882cc
tests: gadget-zero: add xunit reporting
This is intended to help produce CI reporting on PRs and regression
testing.
4 years ago
rma-x
24bef9c49e
stm32:adc: Change bitwise AND to logical AND
The original bitwise AND was _functionally_ correct because all operands
were booleans, but it was very poor at conveying the intent.
Fixes #1230
4 years ago
Michael Drake
90753950bb
stm32f3: Enable support for GPIO ports G and H
5 years ago
Michael Drake
07bd38b814
stm32f3: Add GPIO ports G and H to memory map
5 years ago
Guillaume Revaillot
e2299f14f2
devices.data: add stm32g030x6 and x8 chips
5 years ago
Chuck McManis
2ce5cc58ce
STM32F4: Add FMPI2C1 Peripheral to the memory map
5 years ago
Chuck McManis
3ee9710f35
STM32F4: I2C Noise Filter Register
5 years ago
Karl Palsson
503cebab87
stm32g4: turn on FPU in pre_main
Yep, all M4F need this file added.
5 years ago
Karl Palsson
418b609230
devices.data: stm32g4: _actually_ finish adding
Missed the CCM, missed the chain heads for the family itself.
5 years ago
Guillaume Revaillot
9bf6ce8b64
stm32g0: flash: add erase/program stuff
probably can be refactored with other chips, did not really looked yet.
5 years ago
Guillaume Revaillot
dc98e2e6d9
stm32g0: flash: fix flash keys.
5 years ago
Guillaume Revaillot
7cb7d51273
stm32g0: flash: update registers documentation
5 years ago
Guillaume Revaillot
d696e2c264
stm32g0: add device electronic signature offsets and build desig.
5 years ago
Guillaume Revaillot
2d9c01867f
stm32g0: update sysconfig based on latest stm32g0x1 RM
add pin clamping diode control, available on g041 and g031
5 years ago
Karl Palsson
4e70d06d63
stm32g4: Add basic support
* memorymap
* vectors
* rcc
* gpios
* makefiles
* devices for linker script generation
* doc structure
5 years ago
Karl Palsson
57373b3413
stm32l4: rcc: fix bit error in BDCR
And add the new bit from later ref manuals
5 years ago
Kevin Stefanik
89e90e0e5d
pac55xx: gpio: fix gpio_set_af for pin alternate function settings.
register bits were not cleared before setting. refactored to be similar
to how the drive strength register is being set.
5 years ago
Guillaume Revaillot
abc74fd78b
stm32g0: fix typos in rcc.h
5 years ago
Florian Larysch
f4ec5b9f9b
stm32g0: fix RCC enums for UCPD peripherals
The order of the UCPD1 and UCPD2 bits as described by the
rcc_periph_clken and rcc_periph_rst enums is swapped with regard to the
datasheet. Swap them.
5 years ago
Brian Viele
b1d8a4c546
stm32h7: added minimal stm32h7 exti defs, which share with G0.
Separated definitions that did not seem consistent between the "v2" EXTI
platforms. Added SYSCFG defs needed for EXTICR settings.
5 years ago
Brian Viele
89074d6a13
stm32h7: fix inverted VOS settings for Vcore.
5 years ago
Karl Palsson
4a11e354a3
stm32l1: desig: use new mechanism to support different densities
Fixes: https://github.com/libopencm3/libopencm3/issues/234
uses the new mechanisms introduced to address a similar problem on F7.
Tested on a medium density part (0x429) that returns the same ids as
before, tested on a high density part that now _doesnt_, but that's now
correct :)
5 years ago
Karl Palsson
78c23ba5a0
doc: stm32f4: fix broken groupings
Now all the register value sets are in the generated output
5 years ago
Karl Palsson
b146fd6aa7
doc: stm32: flash: tidy up doxygen warnings and broken groupings
5 years ago
Karl Palsson
3df3ed7db9
doc: stm32f0/f3: adc: fix doxygen warnings
5 years ago
Karl Palsson
dca79bfd7a
doc: stm32l1: lcd: fix groupings and convert to doxygen
5 years ago
Karl Palsson
341bd84cb9
doc: stm32h7: cleanup warnings and groupings
Move shifts and masks outside groups to clarify docs from a user point
of view. fix missing or broken groupings
5 years ago
Brian Viele
4953d67aaa
stm32h7: per comments, improved consistency with other rcc impls.
Reduced the sea of enums, and renamed config parameters to match other
implementations, cribbing off of the G0 config, as it is closer to the level
of complexity. Updated initialization code to utilize the new values.
Added flash and LDO configuration from RCC init to be more consistent with
STM32 platform initialization.
5 years ago
Karl Palsson
5f8cbb95e6
stm32: ltdc: clarify warning on faulty include
No code change.
5 years ago
François Finfe
fb0cac49cb
stm32: adc-v2: add adc_{en,dis}able_delayed_conversion_mode
To control AUTODELAY feature of the ADC.
5 years ago
Karl Palsson
f1073e7991
stm32h7: stop attempting to use common usart code.
Until h7 implements a method of providing the periph clocks in a
compatible manner, they simply can't use the common_all files.
5 years ago
Brian Viele
2ca56f4c21
stm32h7: updates to PWR and RCC to support PLL configuration.
PLL configuration on the H7 is pretty involved, and takes a number of
configurations to make it work. In order to make peripheral drivers a bit
easier to implement, working with a soft clock tree in the rcc module which
stores the clock settings for each clock as they are setup such that users
can request the clock value from the RCC module for configuration. Added
getter for the clock which allows the user to pass the base address of the
peripheral, and get the peripheral clock value for convenience.
Clock configuration is still missing values for setting up all of the kernel
clocks for the peripherals, but this is in work, and there is a framework to
do so.
Have tested to 400MHz without issue. Peripherals that are explicitly supported
are working and the clock tree values appear to follow correctly.
Added LDO settings to allow setting the scaling to support high frequencies.
5 years ago
Matthew Lai
97688b913e
stm32: desig: refactor to allow targets to have different addresses
In this commit, support for the different base addresses for different
F7 parts is added, but the mechanism is now in place for L1 and others.
Reviewed-by: Karl Palsson <karlp@tweak.net.au>
(whitespace fixed, commit msg reworded)
5 years ago
Karl Palsson
f1b4a4dfff
stm32f3: adc: consistently use unshifted
and tweak teh docs a little
5 years ago
François Finfe
49285ed8e1
stm32f3: fix missing reg mask for adc_set_multi_mode
Missing defines for ADC_CCR DUAL values have also been added.
5 years ago
Brian Viele
cb0661f81d
stm32h7: fmc: added bit defs for async configuration.
5 years ago
dima
72274d3caf
Remove SRCLIBDIR definition from the top Makefile
All submakefiles have sensible defaults (either .. or ../..), so there is no need to fiddle with whitespaces in the dir name.
5 years ago
Jakob Haufe
d0d23cff07
ld: lpc17xx: Fix RAM2_OFF on LPC17[78]x
- RAM2_OFF is at 0x20004000 (see UM10470 page 15)
- 0x20040000 is not a valid address on LPC17[78]x
5 years ago
Caleb Szalacinski
4b3d583394
swm050: register fix for timer_clock_div
5 years ago