Karl Palsson
8c37e5cea0
stm32: crc: merge duplicate documentation
Avoids warnings from doxygen. Leaves it purely in the headers so it's
accessible in code completion as well.
5 years ago
Karl Palsson
b9cf3a7072
doc: convert CRC periphal to common naming
Previously scattered about under "crc_file" and under "STM32blah->CRC"
Deletes empty doxygen marker files, and uses groups instead.
7 years ago
Karl Palsson
316c33a6a3
stm32: crc-v2: tweak doxygen output
Make it group better and include labels
7 years ago
Piotr Esden-Tempski
34de1e776e
Changed to use stdint types.
12 years ago
Piotr Esden-Tempski
7df63fcae0
First coarse run to fix coding style in locm3.
Added --terse and --mailback options to the make stylecheck target. It
also does continue even if it enounters a possible error.
We decided on two exceptions from the linux kernel coding standard:
- Empty wait while loops may end with ; on the same line.
- All blocks after while, if, for have to be in brackets even if they
only contain one statement. Otherwise it is easy to introduce an
error.
Checkpatch needs to be adapted to reflect those changes.
12 years ago
Ken Sarkies
f5c9bdfe61
Changes to doxygen markup to solve a few problems that upset
doxygen, and to correct minor errors.
12 years ago
Ken Sarkies
e2022f5884
Repair to documentation (most documented files)
to remove errors, duplications and inconsistencies.
File lib/stm32/f1/pwr.c - all code removed as it duplicates that in common/pwr_common.c
Remaining changes do not affect code. Compiles OK.
TODO efm32 has no code so generates no modules
TODO F2 needs pwr.c
TODO L1 needs dma.h and dma.c
12 years ago
Ken Sarkies
efee94901a
CRC moved to common area
12 years ago
Ken Sarkies
0c779512d6
Initial documentation for SPI, I2C and CRC
(no code changes)
12 years ago
Karl Palsson
450c3e00a1
Basic helper routines for CRC
Note, the CRC block is pretty useless for interoperability. It only operates on 32bit
chunks, and in a different bit order. No attempt to make full helpers for compatibility
with other implementations has been done.
https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=%2Fpublic%2FSTe2ecommunities%2Fmcu%2FLists%2Fcortex_mx_stm32%2FCRC%20computation&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B¤tviews=2006
13 years ago
Piotr Esden-Tempski
43561de329
License change of the library to LGPL, version 3 or later.
Agreed to by all the significant contributors to the library.
13 years ago
Piotr Esden-Tempski
cbef43ddd8
Added set priority group convenience function.
13 years ago
Stephen Caudle
5a89d44591
Add initial support for STM32F4
13 years ago
Stephen Caudle
b3a710b0bc
Rename stm32 lib folders to be consistent with include
13 years ago
Fergus Noble
7518bc83c1
Fixing some header references
13 years ago
Fergus Noble
424b094ce8
Renaming lib code for stm32 f1 series.
13 years ago
Fergus Noble
bd33f2d256
Renaming lib code for stm32 f1 series.
13 years ago
Uwe Hermann
8f251e8a9d
Some more file/path restructuring.
All #includes now explicitly use the "<libopencm3/stm32/rcc.h>" format.
If you want to get rid of the "libopencm3" prefix in your local project you
can add a respective -I entry in your Makefile (not recommended though).
All .ld files and .a libs are installed in $(TOOLCHAIN_DIR)/lib
directly (as before), but are now renamed to avoid potential
conflicts now or in the future. Examples:
libopencm3_lpc13xx.a
libopencm3_lpc13xx.ld
libopencm3_stm32.a
libopencm3_stm32.ld
14 years ago
Uwe Hermann
18790a2454
More renames for libopenstm32 -> libopencm3.
14 years ago
Uwe Hermann
be2ac142d9
Rename include/libopenstm32 to include/stm32.
14 years ago
Uwe Hermann
8e084b1517
Move STM32-specific source to lib/stm32 subdir.
14 years ago
Uwe Hermann
b5727a6c73
USB: Cosmetics and coding-style fixes.
14 years ago
Uwe Hermann
6e090ccee1
Initial USB device stack for STM32.
Patch provided by Gareth McMullin <gareth@blacksphere.co.nz>,
thanks a lot!
14 years ago
Thomas Otto
384a7e688e
Added adc_temperature_sensor to examples
15 years ago
Uwe Hermann
46e5ed202a
Add i2c_stts75_sensor example.
Thanks Thomas Otto <tommi@viadmin.org> for the patch!
15 years ago
Uwe Hermann
da8d9de6b0
Rename example directory names to all-lowercase.
15 years ago
Piotr Esden-Tempski
a88c1b0ee9
Fixed ROM start address in linker scripts.
15 years ago
Piotr Esden-Tempski
699ec0fb15
Added fancyblink example for the MB525 eval board.
15 years ago
Piotr Esden-Tempski
3a4f36d80f
Moved all examples to a board specific folder.
15 years ago
Uwe Hermann
cfd87f6b9d
Add mini ld scripts in the example which include the global one.
16 years ago
Uwe Hermann
6db6d5b49c
Add initial framework for USART support. So far only some #defines.
16 years ago
Piotr Esden-Tempski
446de38728
Changed all includes to use <foo.h> notation.
16 years ago
Uwe Hermann
83f5c58eb9
Switch the license to GPL, version 3 or later.
16 years ago
Uwe Hermann
355701525e
Add initial minimal rcc.h implementation (not complete).
16 years ago
Uwe Hermann
015b046c1e
Merge stdint.h contents into common.h so we don't conflict with libc.
16 years ago
Uwe Hermann
f3ac624f22
Add common.h, currently containing MMIO accessor functions.
16 years ago
Uwe Hermann
e7567c835c
Add memorymap.h with some peripheral base addresses.
16 years ago
Uwe Hermann
0a8135395a
Add dummy gpio.c implementation and final Makefile.
The whole lib should now build and install fine. It's not yet tested
on hardware, though.
16 years ago
Uwe Hermann
75bb51fadf
Add top-level include file intended for lib users.
16 years ago
Uwe Hermann
ae6f321816
Add a stdint.h include file for u16, u32, etc.
16 years ago