kbob
c3889b91df
efm32: Add EFM32WG "Wonder Gecko" family.
2018-04-27 21:37:03 +00:00
kbob
5160d7996c
efm32: Split efm32/lg into /lg and /common.
...
Somewhat replaces some earlier work done by hg/lg, but much more
complete, so we kept it as is, because it's bringing in even more parts
after this.
Reviewed-by: Karl Palsson <karlp@tweak.net.au>
2018-04-27 21:36:42 +00:00
Karl Palsson
6675be5326
efm32: cmu: lh/hg fix AUXHFRCOCTRL values
...
Applies to both, and clearly shows that cmu.h needs to be extracted as
common code.
Originally from: e31d312331
and checked in the HG/LG reference manuals.
2018-04-14 18:40:54 +00:00
kbob
0d815061d9
efm32lg: adc: Misspelling in ADC_CTRL_LPFMODE definition.
2018-04-14 18:40:54 +00:00
kbob
90ea97c3e5
efm32lg: Fixed BURTC_CTRL_LPCOMPC_IGNxLSB definition.
2018-04-14 18:40:54 +00:00
kbob
74316e6901
efm32lg: acmp: Fixed ACMP_CTRL_HYSTSEL_HYSTx definition.
2018-04-14 18:40:54 +00:00
Maxim Sloyko
2b1ddc8490
sam/4l: monster commit
...
The original submitter of this squished everything into one series, and
has not returned. The code mostly appears good, and review comments were
followed for the most part. The project doesn't really maintain any
testing or board farm for sam3/sam4 parts, so we're going to just trust
our users.
Reviewed-by: Karl Palsson <karlp@tweak.net.au>
sam/4l: IRQ Configuration file (irq.json)
sam/4l: Basic Memory Map.
sam/4l: GPIO Defines.
sam/4l: GPIO Functions
Added everything that needed to compile the library: Makefile, Linker
Script and common includes.
sam/4l: SCIF function to start OSC.
sam/4l: GPIO Enable/Disable and Multiplexing configuration functions.
sam/4l: PLL Clock configuration.
sam/4l: Peripheral clock configuration and basic USART support.
sam: USART Character length configuration.
sam/4l: Generic Clock configuration functions.
sam/4l: Analog to Digital Converter Interface (ADCIFE) basic support.
2018-04-14 18:40:54 +00:00
George Jiglau
b4f195b488
genlink: Remove old genlink makefiles
2018-04-14 18:40:54 +00:00
George Jiglau
974ca8a652
genlink: Update genlink tests
2018-04-14 18:40:54 +00:00
George Jiglau
396701808d
genlink: Rewrite genlink script from awk to python
...
This removes the dependency on awk and should fix #732
python was already a dependency, for the irq generation
2018-04-14 18:40:54 +00:00
Jordi Pakey-Rodriguez
c7d46c4fbb
stm32f4: adc: Correct ADC documentation
2018-04-14 18:40:54 +00:00
Julian Friedrich
74dd24a062
make: allow building target subsets
...
Usage: make TARGETS="stm32/l1" or even make TARGETS="stm32/l1 stm32/f7"
2018-04-14 18:40:54 +00:00
Karl Palsson
0a07355520
gadget0: stm32l1: target the "hw1" test board explicitly
...
There's still no commonly available l1 with usb from ST, so target our
own developed test host board instead of one developer's private board.
2018-04-14 18:40:54 +00:00
Karl Palsson
5609749411
doc: drop unused tex files
...
Remove tex header templates only used in latex document generation.
Clarify the HACKING document to reflect no pdf/latex
Fixes: 9443856b
doc: drop latex support
2018-04-14 18:40:54 +00:00
Karl Palsson
23fc65d44c
ethernet: ksz80x1: fix build/compile
...
Originally sourced from: https://github.com/libopencm3/libopencm3/pull/382
fixed some typos from the manual and poor merging/rebaseing,
and one judgment call on using a specific name for a conflicting
bit definition.
2018-04-14 18:40:54 +00:00
Frantisek Burian
20b7956d82
[ETH/PHY] Add support for Micrel KSZ80X1 family of PHYs
2018-04-14 18:40:54 +00:00
Karl Palsson
6e65170390
cmsis: add new families to dispatch handlers.
...
Some people use the opencmsis headers. Update them to include all the
recently added targets.
Fixes: https://github.com/libopencm3/libopencm3/pull/907
2018-04-13 11:15:32 +00:00
Karl Palsson
297a51a27e
stm32: iwdg (v2) Update doxygen
...
Turn the existing comments into doxygen comments to get more value
2018-03-28 13:23:22 +00:00
Karl Palsson
cab07c0703
stm32: iwdg: fix Window Register name
...
The f0 copy of this file originally had a copy/paste error in the
documentation. F3 and L4 had the "right" name.
2018-03-28 13:17:39 +00:00
Guillaume Revaillot
c670bdca1a
stm32l0: enable iwdg
2018-03-28 13:06:57 +00:00
Guillaume Revaillot
207eb07d4c
stm32: centralize additionnal iwdg window register definition into iwdg-v2.
...
stm32f0, l3, l4 are currently sharing the same duplicated header, and
stm32l0 uses the same peripheral. Stop copy-pasting stuff and centralize
definitions into a iwdg_common_v2.h header.
2018-03-28 13:06:57 +00:00
Guillaume Revaillot
f63090d9b6
devices.data: add stm32f071?8
2018-03-28 11:53:10 +02:00
Guillaume Revaillot
613ecc9046
devices.data: add stm32f091?[bc]
2018-03-28 11:53:05 +02:00
Guillaume Revaillot
0c578fe11b
devices.data: add stm32f070?[6b]
2018-03-28 11:52:59 +02:00
Guillaume Revaillot
ca35b89c32
devices.data: add stm32f030?c
2018-03-28 11:36:58 +02:00
Guillaume Revaillot
b79de32e9e
stm32: iwdg: fix typo in (unused) register name
2018-03-27 18:35:23 +02:00
Karl Palsson
c93c8676e6
ld: devices.data: simply l4 a little
...
Join some of the paired devices that differ only by encryption periphs
2018-03-24 21:11:23 +00:00
Tom Verbeure
dba2430c89
Add full STM32L4 family memory sizes
2018-03-24 18:06:41 +00:00
Karl Palsson
fb28b4cb7c
stm32f1: bkp: include in doxygen output
...
The original author had included nice descriptions, so only a tiny bit
of massaging to get it all in doxygen nicely too.
2018-03-08 10:57:50 +00:00
Karl Palsson
6b40e9777e
stm32f1: bkp: fix typo in CR_TPAL register
...
Even original documentation had the full TPAL matching the ref man bit
descriptions.
Reported-by: _ami_ on irc.
2018-03-08 10:56:45 +00:00
Karl Palsson
7bd7d48408
stm32l0: add all new IRQs from later families
2018-03-08 09:52:21 +00:00
Guillaume Revaillot
1ab0d2445f
stm32l0: NVIC: channel 16 is tim3 on stm32l0x0, stm32l0x1 and stm32l0x2.
...
tim3 interrupt is wired to nvic channel 16 if present.
2018-03-08 10:25:34 +01:00
Karl Palsson
f8aa36818a
travis: add irc notifications on master
2018-03-04 21:35:46 +00:00
Karl Palsson
1379ab4777
stm32l4: enable common exti functionality
...
tested on l476 disco board.
2018-03-04 00:02:44 +00:00
Karl Palsson
8feb711ca0
stm32l0:rcc: add rcc_set_pll_source() as per L1
...
reported by: kaeipnos in https://github.com/libopencm3/libopencm3/pull/609
2018-03-02 22:42:05 +00:00
Frantisek Burian
28aa1e57e9
[ETH/PHY] Add support for STE100 PHY used on some boards from ST
2018-03-02 22:42:05 +00:00
Frantisek Burian
67c2f19d19
[ETH/PHY] Add support for LAN87XX family of PHYs
2018-03-02 22:42:05 +00:00
Frantisek Burian
c2c2ac766b
[eth/phy] Updated style
2018-03-02 22:42:05 +00:00
Karl Palsson
cbef4a15e4
tests: gadget0: use proper usb enums
2018-03-02 22:42:05 +00:00
Karl Palsson
54b117c5a5
usb: Use enumerated return codes
...
The enum usbd_request_return_codes has been available for some time. It
should be used internally, not just by users of this code.
2018-03-02 22:42:05 +00:00
Karl Palsson
93cf76b9d1
stm32l1: syscfg: add USB pullup control definition
...
On original stm32l1s, this internal pullup was out of spec, and not
recommended for use. But the -A parts have this fixed, so make sure we
can use it.
2018-03-02 22:42:05 +00:00
Sebastian Holzapfel
64a6f362b8
usb-msc: fix write acknowledgement bug
...
Fixes https://github.com/libopencm3/libopencm3/issues/409
2018-03-02 22:42:05 +00:00
Sebastian Holzapfel
f871e539ed
usb-standard: fix alignment assumption for Cortex-M0 platforms
2018-03-02 22:42:05 +00:00
Sebastian Holzapfel
d79674db09
tests: gadget0: efm32hg: add gadget0 test for efm32hg
2018-03-02 22:42:05 +00:00
Sebastian Holzapfel
36a45c387d
efm32hg: add linker script for efm32hg309f64
2018-03-02 22:42:05 +00:00
Sebastian Holzapfel
995d19ebfd
efm32hg: usb: add usb support
2018-03-02 22:42:05 +00:00
Sebastian Holzapfel
a0669421e1
usb-dwc: handle any-aligned buffers
...
This is required to support armv6m targets using this code.
2018-03-02 22:42:05 +00:00
Sebastian Holzapfel
a2ee90fbfe
usb: stm32fx07 -> usb_dwc_common
...
The stm32fx07 is common DesignWare IP, used in both STM32 and EFM32 chips.
Rename the files to make this more clear, and easier to use in other
targets.
2018-03-02 22:42:05 +00:00
Sebastian Holzapfel
3c855e75d1
efm32hg: cmu: add updated cmu implementation based on efm32lg
2018-03-02 22:42:05 +00:00
Sebastian Holzapfel
18f64812eb
efm32hg/lg: timer: use common timer implementation
2018-03-02 22:42:04 +00:00