1267 Commits

Author SHA1 Message Date
Jared Boone
0dc4443e26 Renamed DMA_BASE to GPDMA_BASE to match peripheral name (and #defines in gpdma.h). 2013-07-07 13:52:11 -07:00
Jared Boone
518b97efb6 Added generated headers and hand-crafted #defines for register fields common across many register sets. 2013-07-07 13:52:11 -07:00
Jared Boone
8abefef07d Rename indexed #define macros for channel-specific GPDMA registers, to match documentation and avoid conflict with the GPDMA_CONFIG register name. 2013-07-07 13:52:10 -07:00
Jared Boone
e9eacc60ac Change header generation script to produce function-like #define macros for single-bit fields, too. 2013-07-07 13:52:10 -07:00
Jared Boone
b1e5c77e1d New SGPIO field #defines, generated from sgpio.csv. 2013-07-07 13:52:10 -07:00
Jared Boone
5359dd245e Fixed typo in SGPIO_MUX_CFGx CLK_SOURCE_SLICE_MODE bit offset and width. 2013-07-07 13:52:10 -07:00
Jared Boone
18d72099a5 Changed ldscripts to use new RAM region names, placed .data/.bss/stack into separate local RAM region.
Added ldscript for RAM-only debugging over SWD or JTAG.
2013-07-07 13:52:10 -07:00
Jared Boone
ffffb71ba2 Added distinct _bss ldscript constant, in case .text and .bss are not contiguous. 2013-07-07 13:52:10 -07:00
Jared Boone
733c117c53 Added generalized #defines for USB0 ENDPTCTRL register fields. 2013-07-07 13:52:10 -07:00
Michael Ossmann
2946de9f5d ritimer.csv 2013-07-07 13:52:10 -07:00
Michael Ossmann
922beb0730 gima.csv 2013-07-07 13:52:09 -07:00
Michael Ossmann
e3ad0c6dc8 gpio.csv 2013-07-07 13:52:09 -07:00
Michael Ossmann
4112a3c723 finished GPIO registers 2013-07-07 13:52:09 -07:00
Jared Boone
0323d020d0 USB controller in-memory structure #defines/typedefs for dTD and dQH. 2013-07-07 13:52:09 -07:00
Jared Boone
96ea1a35a3 #defines for making USB structure definitions a bit simpler. 2013-07-07 13:52:09 -07:00
Michael Ossmann
029bf6cbcc typo fix in eventrouter.h 2013-07-07 13:52:09 -07:00
Michael Ossmann
6a5deb7282 eventrouter.csv 2013-07-07 13:52:09 -07:00
Michael Ossmann
56361f7123 ccu.csv 2013-07-07 13:52:08 -07:00
Michael Ossmann
7b0cc0c6a3 atimer.csv 2013-07-07 13:52:08 -07:00
Michael Ossmann
299806bc4e csv contributions from GNU Radio Conference 2012 HackFest. Thanks, David! 2013-07-07 13:52:08 -07:00
Michael Ossmann
df2ac8bbac scu.csv 2013-07-07 13:52:08 -07:00
Jared Boone
b5ba6451af Fixed typo from user manual. 2013-07-07 13:52:08 -07:00
Jared Boone
28df3a2e12 Tweaked #defines of USB0_ENDPTCTRLx to use an indexed #define, which will be handy in other places... 2013-07-07 13:52:08 -07:00
Jared Boone
24d8d81b43 Add generated bit/shift/mask #defines for CGU, CREG, RGU, USB (USB0 only) peripherals.
Added script used to generate #defines above.
Fixed one small change in the #define naming scheme in i2c0_init().
2013-07-07 13:52:08 -07:00
Jared Boone
49b2be5224 Added CGU PLL0USB_CTRL bit 3, DIRECTO to cgu.csv. 2013-07-07 13:52:07 -07:00
Michael Ossmann
77a1f68ea3 gpdma.csv 2013-07-07 13:52:07 -07:00
Michael Ossmann
0f7e6cf54d cgu.csv 2013-07-07 13:52:07 -07:00
Michael Ossmann
07ee98420c sgpio.csv 2013-07-07 13:52:07 -07:00
Michael Ossmann
ae9a6ae4af started csv files for generation of register field stuff 2013-07-07 13:52:07 -07:00
Michael Ossmann
a0624ecd21 creg.h updates from newer data sheet 2013-07-07 13:52:07 -07:00
TitanMKD
f8542c09a6 UART driver and Example code for JellyBean. 2013-07-07 13:52:07 -07:00
Piotr Esden-Tempski
2f425af647 [Style] A small coding style fixing session. 2013-07-05 20:35:13 -07:00
Piotr Esden-Tempski
db1f19c8f8 [Stylecheck] Also accept the usage of the x defines. 2013-07-05 19:56:08 -07:00
Piotr Esden-Tempski
66b9d658bb [Stylecheck] Accept defines using lower case x.
It is considerede CamelCase but we do accept those as it makes the code
more readable knowing that the lower case x is a placeholder for a
number or letter in the define and the define applies to all "banks",
"buffers", "subsystems".
2013-07-05 19:45:31 -07:00
Piotr Esden-Tempski
21e01edc63 [Stylecheck] We actually prefer __attribute__. 2013-07-05 19:25:23 -07:00
Piotr Esden-Tempski
01f690d0d6 [Stylecheck] Adapted checkpatch.pl to coding style. 2013-07-05 18:56:16 -07:00
Piotr Esden-Tempski
b7e6fc8691 [Doc] Added tips and tricks section to the HACKING document. 2013-07-03 17:24:38 -07:00
Piotr Esden-Tempski
55b572edec [Workflow] Added simple sublime project config file. 2013-07-03 17:23:52 -07:00
Piotr Esden-Tempski
81bec57109 [Repo] added .DS_Store to gitignore. 2013-07-01 18:26:39 -07:00
Piotr Esden-Tempski
56e2928ebe [Style] Removed trailing spaces. 2013-06-30 23:40:44 -07:00
BuFran
c2f7128459 Linker generation script for most of the supported chips 2013-06-30 23:30:35 -07:00
Piotr Esden-Tempski
beeb9c3f65 [Style] Do not declare new types if not really necessary. 2013-06-30 22:20:51 -07:00
Piotr Esden-Tempski
647b878031 [Style] Coding style fixes.
* No trailing white spaces
 * No sapces before tabs
 * "int *var" and not "int * var"
2013-06-30 22:09:25 -07:00
BuFran
035c67ced6 Add preliminary support for Cryptographic coprocessor on stm32 F2 and F4 2013-06-30 21:20:42 -07:00
BuFran
3bc5a249a1 Added support for BitBand I/O 2013-06-19 13:51:56 +02:00
Piotr Esden-Tempski
fb5c86db07 Spellchecking fixes. 2013-06-16 14:06:37 -07:00
Piotr Esden-Tempski
169dbd6c08 Dropped raw option on github file archive links. 2013-06-13 11:26:16 -07:00
Piotr Esden-Tempski
e4a86e269e Replaced goo.gl links with links to our new file archive at github.
https://github.com/libopencm3/libopencm3-archive
2013-06-13 11:20:04 -07:00
Piotr Esden-Tempski
f92c45eeb5 Added amendments to the linux kernel coding style. 2013-06-13 10:49:56 -07:00
Piotr Esden-Tempski
cabbd21329 Reverted the __packed and __aligned change.
We should not add compiler extensions, it is not our job. We are not a
selfcontained project as kernel is so we should not introduce things
like this.

If we need to add some abstraction for this in the future to support
compilers doing these things differently then we will do that the same
way we dealt with the depricated attribute.
2013-06-13 10:29:43 -07:00