Commit Graph

385 Commits

Author SHA1 Message Date
Fergus Noble bba026ce33 Update examples Makefiles to use the make shell function rather than backticks for shell command expansion. Backticks are unreliable and don't work on all platforms. 2011-09-09 10:20:23 -07:00
Uwe Bonnes 32c276a708 Move enabling the USB Clock into stm32f10x_usbd_init 2011-07-13 10:04:03 +02:00
Uwe Bonnes 6a8eb81480 Add more files to ignore 2011-07-13 10:02:23 +02:00
Uwe Hermann 089bb73018 Merge remote-tracking branch 'gsmcmullin/master'. 2011-04-28 19:42:35 +02:00
Gareth McMullin 3ac0ae839d Added extra interrupt vectors for STM32 connectivity line. 2011-04-24 14:31:56 +12:00
Gareth McMullin 7434d50fda Check index bounds on usb string descriptor request. 2011-04-24 14:28:16 +12:00
Gareth McMullin cd88855d13 Delete example dependencies on 'make clean' 2011-04-24 14:05:37 +12:00
Gareth McMullin 3d820c6ed7 Fixed stm32f107 usb driver to allow calling usbd_poll from irq handler. 2011-04-04 17:39:05 +12:00
Gareth McMullin ef0ff192f7 Added usbd_ep_nak_set() to force flow control on OUT endpoints. 2011-03-30 07:17:02 +13:00
Gareth McMullin 692266bf67 Fixes CAN identifiers on send and receive. 2011-03-23 17:36:17 +13:00
Piotr Esden-Tempski 149c0c7dc0 Added missing 12mhz to 72mhz rcc setup routine prototype. 2011-03-15 11:27:28 -07:00
Gareth McMullin 6bbc4c2f7c Fixed non-control endpoints for connectivity line USB. 2011-03-15 20:33:02 +13:00
Gareth McMullin 67e3452855 Added simple USB example for STM32F107. 2011-03-15 07:12:46 +13:00
Piotr Esden-Tempski 4095c167d3 Small cleanup and added random blinking option. 2011-03-14 11:09:18 -07:00
Gareth McMullin bf0d1a7b41 Connectivity line USB driver now enumerating correctly. 2011-03-14 20:31:32 +13:00
Piotr Esden-Tempski 5754b9856c Cleaned up warning in led_stripe example. 2011-03-13 21:14:05 -07:00
Gareth McMullin 7faea389e8 Added dependency generation. Abort loops on error. 2011-03-14 16:45:17 +13:00
Piotr Esden-Tempski af33448c09 Added an example for STM32-H103 eval board to drive the ZJ168 addressable led strips, using the LPD6803 controller. 2011-03-13 20:41:28 -07:00
Gareth McMullin 95286a22f0 More build improvements and fixed broken examples. 2011-03-13 14:50:53 +13:00
Gareth McMullin 08990e5243 Simplified build system for adding new examples. 2011-03-13 13:58:19 +13:00
Piotr Esden-Tempski 1f3e431527 Usart baud rate setting function now uses the new apb1 and apb2 frequency variables. And calculates the full BRR value. 2011-03-11 19:51:48 -08:00
Piotr Esden-Tempski 3d20f37b27 RCC now has two variables to hold the current apb1 and apb2 frequency. 2011-03-11 19:49:23 -08:00
Piotr Esden-Tempski 675b13ed2b Fixed a small typo in exti test. 2011-03-11 19:41:39 -08:00
Piotr Esden-Tempski 7073637430 Added 12MHz external clock rcc setup routine. 2011-03-09 14:06:58 -08:00
Uwe Hermann ef766da468 Merge remote-tracking branch 'gsmcmullin/master' 2011-03-07 13:37:30 +01:00
Piotr Esden-Tempski 6694f3dc0c Added timer example that generates a variable frequency signal. In that particular case it is generating the SOS morse code on the eval board led. 2011-02-20 18:02:19 -08:00
Gareth McMullin 554feb7f27 USB driver for Connectivity-line devices partially working. 2011-02-20 12:28:23 +13:00
Piotr Esden-Tempski 662e77b4ee Added a printf example that is using irq and a ring buffer to write to USART1 port. It is also reflecting the text you write to the device. 2011-02-18 12:18:57 -08:00
Piotr Esden-Tempski a71c4c128a Added usart_printf example into the buildsystem. 2011-02-17 20:35:30 -08:00
Piotr Esden-Tempski fedad2eb9a Added an example using newlib printf for writing to UART1. 2011-02-17 20:12:44 -08:00
Piotr Esden-Tempski 4667760392 Added usart_irq to the build system. 2011-02-17 18:37:51 -08:00
Piotr Esden-Tempski d1baf00629 Added usart_irq test for stm32-h103 board. 2011-02-17 18:35:51 -08:00
Piotr Esden-Tempski 310561ac50 Made usart_irq example more robust. It should not duplicate bytes anymore. 2011-02-17 18:32:07 -08:00
Gareth McMullin 4ed536c988 Added example using ITM and TPIU for TRACESWO output. 2011-02-17 21:50:00 +13:00
Gareth McMullin f0a1282d42 Added ITM and TPIU register definitions. 2011-02-17 21:38:38 +13:00
Piotr Esden-Tempski 7d3608f746 Added fanciblink for Lisa/M. 2011-02-14 19:59:24 -08:00
Gareth McMullin e64a9d2bf9 Minor cleanup of usb. Template driver for STM32F107 added. 2011-02-10 19:58:51 +13:00
Uwe Hermann dfa9145a34 STM32VLDISCOVERY: Fix ld file comments (STM32F100RB). 2011-02-09 02:48:51 +01:00
Uwe Hermann 1cb45d8888 STM32VLDISCOVERY: Fix some incorrect GPIO comments. 2011-02-09 02:48:51 +01:00
Uwe Hermann 5bfffcbb29 Use ST STM32VLDISCOVERY board name consistently. 2011-02-09 02:48:51 +01:00
Uwe Hermann 62f3897a2e Add some examples for the STM32-Discovery board.
This adds a directory of examples, tested on the STM32-Discovery, just
modifications of: button, miniblink, fancyblink, usart, and rtc.

Thanks Marko Kraljevic <krasnaya.zvezda@gmail.com> for the patch!
2011-02-09 02:48:51 +01:00
Uwe Hermann 0a0ce22762 Add rcc_clock_setup_in_hse_8mhz_out_24mhz().
Thanks Marko Kraljevic <krasnaya.zvezda@gmail.com> for the patch!
2011-02-09 02:48:51 +01:00
Uwe Hermann e0a488f586 gpio_toggle(): Add support for multiple GPIOs.
Thanks Marko Kraljevic <krasnaya.zvezda@gmail.com> for the patch!
2011-02-09 02:48:50 +01:00
Gareth McMullin d67795f383 Added missing lm3s header files. 2011-02-09 14:31:17 +13:00
Gareth McMullin 4b5f9b4a35 Added missing lm3s gpio.h. 2011-02-09 14:28:06 +13:00
Uwe Hermann 559bc52fa4 Add some missing LIBOPENCM3_ prefixes. 2011-02-09 01:36:06 +01:00
Uwe Hermann 401a0a8e8b FPB: More consistency fixes.
Fix incorrect FPB_CTRL_NUM_CODE2_MASK value, too.
2011-02-09 01:34:50 +01:00
Uwe Hermann 87c94e9a37 FPB: Fix typo. 2011-02-09 01:18:55 +01:00
Uwe Hermann 47e2736013 FPB: Minor additions, consistency fixes. 2011-02-09 01:18:15 +01:00
Uwe Hermann 447c333cec Minor cosmetics, whitespace. 2011-02-09 01:06:43 +01:00