Commit Graph

555 Commits

Author SHA1 Message Date
Uwe Hermann 47a116ef4f HACKING: Document the examples/ directory layout. 2011-11-11 21:37:41 +01:00
Uwe Hermann 6c278b19b4 Makefile: Add 'doxy' target for doxygen docs.
A top-level 'make clean' will remove the whole doxygen/ output directory.
2011-11-11 21:27:29 +01:00
Uwe Hermann 23a6f154cd common.h: Add Doxygen main page text. 2011-11-11 21:23:30 +01:00
Uwe Hermann ef908e0725 Doxyfile: Configure for libopencm3 needs. 2011-11-11 21:23:26 +01:00
Uwe Hermann 9a2dacd3b4 Add auto-generated Doxygen config file. 2011-11-11 21:04:20 +01:00
Uwe Hermann 6462a646d1 stm32/spi.c: Coding style fixes and typo fixes. 2011-11-10 22:45:56 +01:00
Uwe Hermann 74fcd70f93 stm32/spi.h: Fix typos, add comments. 2011-11-10 22:30:31 +01:00
Uwe Hermann 46f90a54ae STM32F2/F4: SPI fixes.
- Rename SPI_CR2_FRF_TI to SPI_CR2_FRF_TI_MODE to match datasheet.

 - Rename SPI_CR2_FRF_MOTOROLA to SPI_CR2_FRF_MOTOROLA_MODE (see above).

 - Fix SPI_CR2_FRF_MOTOROLA_MODE bit definition, must be (0 << 4).

 - Change SPI_SR_RXNE to SPI_SR_TIFRFE; this was probably a copy-paste
   error. Also, the bit definition is (1 << 8).
2011-11-10 22:15:45 +01:00
Uwe Hermann e797fd978b Cosmetic fixes in license headers. 2011-11-10 21:40:29 +01:00
Stephen Caudle 4c18313da6 Fix alignment issue in data section 2011-11-07 23:23:16 -05:00
Uwe Hermann 42e531c7c4 Makefile: Fix 'install' target.
Thanks to CheBuzz on IRC for pointing this out.
2011-11-03 20:45:04 +01:00
Stephen Caudle 3c9ba2ac2d Add usart example for STM32F4 discovery board 2011-11-02 22:50:49 -04:00
Stephen Caudle 30b5c89726 Add USART6 definitions to STM32F3 & STM32F4 2011-11-02 22:37:47 -04:00
Uwe Hermann 44bf853e6e stm32-h103 examples: Cosmetic and coding style fixes. 2011-11-03 00:57:46 +01:00
Uwe Hermann a3ce2924df stm32f1/f2: Update to recent OpenOCD syntax.
Newer versions of OpenOCD expect

  stm32f1x mass_erase 0
or
  stm32f2x mass_erase 0

instead of

  stm32x mass_erase 0

So far, there doesn't seem to be an explicit F4 command, so leave that
untouched for now.
2011-11-02 22:30:41 +01:00
Uwe Hermann bc320f5453 stm32/f1/lisa-m/usb_hid: Fix compiler warning.
BUILD   examples/stm32/f1/lisa-m/usb_hid
usbhid.c: In function 'main':
usbhid.c:316:10: warning: unused variable 'x'
2011-11-02 22:16:57 +01:00
Uwe Hermann cc3565a544 Various cosmetic and whitespace fixes. 2011-11-02 22:13:01 +01:00
Stephen Caudle dc19a4ecfb Rename STM32 discovery folders to be more specific 2011-11-02 14:56:37 -04:00
Stephen Caudle d9a76c75c2 Add timer support for STM32F2 & STM32F4 2011-11-02 14:26:36 -04:00
Stephen Caudle 505a05ccf4 Add STM32F4 fancyblink example 2011-11-02 14:26:35 -04:00
Stephen Caudle d17e548c6f Add STM32F4 button example 2011-11-02 14:26:34 -04:00
Stephen Caudle 62c105abeb Fix APB1 & APB2 frequencies in STM32F4 RCC table 2011-11-02 14:26:33 -04:00
Stephen Caudle c26abb6c25 Add pwr to STM32F4 makefile 2011-11-02 14:26:31 -04:00
Uwe Hermann 9f821a5dd4 Minor whitespace fixes. 2011-11-02 02:19:51 +01:00
Uwe Hermann 25e30fab8e README: Update wiki and mailing list URLs. 2011-11-01 20:09:12 +01:00
Uwe Hermann 01314bbe50 README: Fix obsolete names. 2011-11-01 20:04:59 +01:00
Uwe Hermann 8cbe4030e1 README: Mention STM32F2 and STM32F4 series. 2011-11-01 19:55:43 +01:00
Piotr Esden-Tempski 3fb95ad685 Added license header to cdcacm test python script. 2011-10-31 15:04:08 -07:00
Gareth McMullin 97fa5ff815 Lisa-M HID example uses accelerometer to move mouse. 2011-10-31 14:15:02 -07:00
Piotr Esden-Tempski 990109ef47 Fixed an application side buffer issue where resending the data failed. Now the example will retry to send the mirror data untill it succeeds.
Also decreased the buffer back to 64 as it needs to be changed in more
then one place.
2011-10-31 14:14:05 -07:00
Piotr Esden-Tempski 4c26739ea2 Improved the script to give a better error count reporting. 2011-10-31 14:13:45 -07:00
Piotr Esden-Tempski 2e5f3338c0 Decreased serial read timeout on the test script to increase throughput. 2011-10-31 14:13:21 -07:00
Piotr Esden-Tempski baa3acf116 Increased cdcacm serial buffer to 128. 2011-10-31 14:11:50 -07:00
Piotr Esden-Tempski 30d1aa957e Added cdcacm (usb serial) example for lisa-m with a small basic stresstesting python script. 2011-10-31 14:10:47 -07:00
Gareth McMullin e0fe43357d usb_f107: Fixed lost 4 bytes on control OUT transaction. 2011-10-31 14:09:41 -07:00
Stephen Caudle 1fea1df39a Fix more STM32 whitespace issues 2011-10-31 11:11:03 -04:00
Stephen Caudle 6da485f06d Fix STM32 flash programming doc links 2011-10-31 09:25:05 -04:00
Stephen Caudle 59df80398b Add miniblink example for STM32F4 discovery board 2011-10-31 00:44:04 -04:00
Stephen Caudle 5a89d44591 Add initial support for STM32F4 2011-10-31 00:41:19 -04:00
Stephen Caudle 05bc9d10f1 Add generic STM32F2 RCC clock function 2011-10-31 00:17:53 -04:00
Stephen Caudle 580d25a84b Move STM32 example projects in family specific folders 2011-10-31 00:16:37 -04:00
Stephen Caudle 68d2e0d1e3 Fix stm32f2 RCC PLL values for 120MHz 2011-10-30 18:17:33 -04:00
Stephen Caudle 822d75adb7 Clean up whitespace in stm32f2 GPIO 2011-10-30 17:49:50 -04:00
Stephen Caudle e2ed7824cf Clean up whitespace in stm32f2 RCC
Also make RCC IO defines consistent with stm32f1.
2011-10-30 17:49:41 -04:00
Stephen Caudle eb47f0cfc0 Add SCB from stm32f1 2011-10-30 17:42:49 -04:00
Stephen Caudle 1dc4645732 Update makefiles to reflect stm32 lib folder name changes 2011-10-30 17:42:49 -04:00
Stephen Caudle b3a710b0bc Rename stm32 lib folders to be consistent with include 2011-10-30 17:42:49 -04:00
Uwe Hermann 3900d16740 stm32-h103/usb_dfu: Whitespace/coding-style fixes. 2011-10-30 02:14:41 +01:00
Uwe Hermann 44715e9eca Olimex STM32-H103: Make the usb_dfu example work.
On this board PC11 must be low to connect the USB.

Thanks Gareth McMullin <gareth@blacksphere.co.nz> for pointing this out.
2011-10-30 02:04:37 +01:00
Piotr Esden-Tempski 66c24ee131 Changed the lisa/m dfu example to use PC2 led for enumeration indication instead of switching off jtag and using trst led. 2011-10-29 15:50:25 -07:00