Commit Graph

783 Commits

Author SHA1 Message Date
Ken Sarkies 0e02438a80 Code for DAC module STM32Fxxx series
Add prototypes to dac.h and small change to simplify alignment enum
2012-06-30 16:56:14 +09:30
Karl Palsson 83d62e9bfc Add linker scripts with memory maps for F100 series.
These definitions are a physical property of the device for most purposes.
No reason not to supply them premade.
2012-06-29 02:10:53 -07:00
Karl Palsson 6574baa767 Fix link flags to specify cpu instead of (wrong) arch.
-march=armv7 is NOT right for cortex-m3, and results in unexpected
arm code being linked in when using multilib toolchains
2012-06-29 02:09:50 -07:00
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&currentviews=2006
2012-06-29 02:08:53 -07:00
Piotr Esden-Tempski 98174e4a0c Merge pull request #13 "Code for iwdg module STM32F series"
Merge remote-tracking branch 'ksarkies/iwdg-dev'
2012-06-27 14:02:02 -07:00
Piotr Esden-Tempski 2e9e378b4b Merge pull request #12 "Don't include examples in doxygen output."
Merge remote-tracking branch 'karlp/no_examples_doxygen'
2012-06-27 13:58:50 -07:00
Piotr Esden-Tempski a70eabb3e1 Merge pull request #11 "Add helper function for max clock on HSI for f100"
Merge remote-tracking branch 'karlp/hsi_f1_24'
2012-06-27 13:58:14 -07:00
Piotr Esden-Tempski 4a17185791 Merge pull request #10 "Add Device Electronic Signature support."
Merge remote-tracking branch 'karlp/desig'
2012-06-27 13:56:55 -07:00
Piotr Esden-Tempski 7753b91991 Merge pull request #9 "Even/Odd parity bit configs used the wrong bit"
Merge remote-tracking branch 'karlp/parity'
2012-06-27 13:53:48 -07:00
Piotr Esden-Tempski db505a87f7 Merging pull request #7 "Use ODR instead of IDR to toggle an output GPIO"
Merge remote-tracking branch 'schodet/gpio-toggle'
2012-06-27 13:49:26 -07:00
Piotr Esden-Tempski 3bfeeedceb Merge pull request #6 "Doxygen markup and grouping structrue"
Merge remote-tracking branch 'ksarkies/doc'

Conflicts:
	include/libopencm3/cm3/common.h
2012-06-27 13:30:45 -07:00
Piotr Esden-Tempski 40e0e675ca Merge remote-tracking branch 'mossman/master'
Merging Pull request #9 by mossman and co. Adding preliminary support for LPC43xx.
2012-06-27 13:18:36 -07:00
Piotr Esden-Tempski 6f95e52a7d Merge remote-tracking branch 'felixheld/master' 2012-06-27 13:13:17 -07:00
Michael Ossmann 7ef51e30e9 Merge pull request #9 from TitanMKD/master
Fixed Linker ROM to RAM
2012-06-25 17:06:31 -07:00
TitanMKD 81317c02ab * Updated GPIO added gpio_toggle() function.
* Fixed ROM to RAM Linker script (libopencm3_lpc43xx/libopencm3_lpc43xx_rom_to_ram.ld).
2012-06-25 22:12:00 +02:00
TitanMKD 397af25401 Merge branch 'master' of git://github.com/mossmann/libopencm3 2012-06-19 19:18:35 +02:00
Michael Ossmann 94455ed191 Merge pull request #8 from jboone/master
SSP tweak to block until transaction is over.
2012-06-18 15:19:28 -07:00
TitanMKD d80ee80e06 Merge branch 'master' of git://github.com/jboone/libopencm3 2012-06-16 12:51:44 +02:00
Jared Boone 9fcea09741 Merge branch 'master' of https://github.com/mossmann/libopencm3 2012-06-15 17:21:08 -07:00
Jared Boone 536c922577 Modified SSP driver to wait for data to be sent before returning. This is critical when controlling device CS# pins via GPIO. Long-term, it might be better to have a different API that permits this level of control. 2012-06-15 17:20:50 -07:00
TitanMKD fa315c672f Merge branch 'master' of git://github.com/mossmann/libopencm3 2012-06-14 21:19:33 +02:00
Michael Ossmann f298887710 Merge pull request #7 from jboone/master
SGPIO improvements.
2012-06-14 12:19:14 -07:00
Jared Boone e28d07b81e Updated SGPIO #defines to match register naming in latest (8 June 2012) User Manual. 2012-06-14 11:16:15 -07:00
Ken Sarkies 0fabe4462b Fix Typo 2012-06-14 19:45:46 +09:30
Jared Boone 44a79ca13e Add SGPIO slice defines and indexed register access macros. 2012-06-13 16:48:47 -07:00
Ken Sarkies 2f4cd29324 Code for iwdg module STM32F series 2012-06-13 22:14:53 +09:30
TitanMKD c65ca01044 Fix Linker bug copy ROM to RAM & exec from RAM (need more test). 2012-06-13 01:05:49 +02:00
Karl Palsson 26d0512903 Don't include examples in doxygen output.
There's no point, and it makes everything bigger and slower
2012-06-12 20:58:46 +00:00
Karl Palsson 62849f043c Add helper function for max clock on HSI for f100
Based on existing HSI code. Tested with f100c8, on custom board with no
external crystals or resonators.
2012-06-12 20:56:34 +00:00
Karl Palsson 71a3a7f2b1 Add Device Electronic Signature support.
Working unique id support, but not 100% convinced that this is the "least surprise"
path.  ST's docs provide the bits from low to high, in 2xu16 and 2xu32.
But to get it back as a "u96" the highest bits should be first?
2012-06-12 20:53:59 +00:00
Karl Palsson 9531d653fb Even/Odd parity bit configs used the wrong bit
Checked F10x, F100, F4 and L1 reference manuals.
Confirmed with my user application code.
2012-06-12 20:48:11 +00:00
Michael Ossmann da27adcf1c Merge pull request #6 from TitanMKD/master
Added ROM to RAM code copy & exec
2012-06-10 15:23:13 -07:00
TitanMKD 3c8e76f679 Added ROM to RAM code copy & exec with example of how to use it (miniblink_rom_to_ram). 2012-06-10 11:44:36 +02:00
Michael Ossmann d2b15c72be Merge pull request #5 from TitanMKD/master
Interrupt & SysTick for LPC43xx
2012-06-09 15:24:20 -07:00
TitanMKD 8d97dbc7c3 Work on scs.h register and also nvic.h.
ARM Interrupt API (see nvic.h).
ARM SysTick API (see systick.h).
Example using both Interrupt and SysTick and blink LED1/2/3 see systickdemo.c.
2012-06-09 18:27:42 +02:00
Michael Ossmann 161aad0139 quick comment fix 2012-06-07 07:14:17 -06:00
Michael Ossmann 14026fc31f make install now installs lpc43xx and other non-stm32 stuff 2012-06-06 23:48:30 -06:00
Michael Ossmann 251687fe37 changed I2C to run directly from IRC 2012-06-06 22:05:03 -06:00
Michael Ossmann bef51163ce more CGU register values 2012-06-06 21:24:39 -06:00
Michael Ossmann 4de126f6e0 Merge pull request #4 from TitanMKD/master
LPC43xx SSP driver fixed (tested with Write)
2012-06-05 20:04:15 -07:00
TitanMKD 8adc873e84 Fixed SSP, tested with Oscilloscope Write work fine (tested SPI Mode).
For more details on tests see ssp/README.
2012-06-06 00:30:25 +02:00
Michael Ossmann 416f633dbb fixed some column alignment to conform with libopencm3 precedent 2012-06-05 08:03:34 -06:00
Michael Ossmann a39df46db4 removed some unused SCU config 2012-06-05 07:33:22 -06:00
Michael Ossmann 3a4a6b75de resolved minor conflict 2012-06-04 18:00:20 -06:00
Michael Ossmann e7941eace9 added i2c.c that I forgot earlier 2012-06-04 17:57:49 -06:00
TitanMKD d7a7fd9d30 * Added SSP Driver (Not Tested).
* Replaced leading space by tabulations.
2012-06-05 01:41:54 +02:00
Michael Ossmann 5698016877 moved stuff out of i2cdemo.c and into drivers/headers 2012-06-04 17:30:08 -06:00
Michael Ossmann 44db38301c fixed i2cdemo to supply 1V8 for Si5351C output supply 2012-06-04 16:41:12 -06:00
Michael Ossmann 21304c01b6 Merge pull request #2 from TitanMKD/master
mostly SCU
2012-06-04 12:23:26 -07:00
TitanMKD 58d5b96291 Fixed multi-line comments now it is "compliant" with Linux CodingStyle. 2012-06-04 21:09:05 +02:00