Commit Graph

39 Commits

Author SHA1 Message Date
Piotr Esden-Tempski d84c4030b2 Cleaned up header inclusion.
Now all examples are including only the modules they really need. Also
each header file of the library is including only the necessary headers
making it possible to use these modules in parallel with other
implementations that may collide with the definitions in other modules.
2010-03-04 19:16:24 +01:00
Uwe Hermann 9b4b4b1c83 Add SPI example framework (unfinished). 2010-03-02 10:59:17 +01:00
Piotr Esden-Tempski cdc1846f5b Added gamma 2.2 and set as default gamma for fade mode. 2010-02-27 20:58:31 +01:00
Uwe Hermann 9928fb0820 Add missing Makefile snippets for pwmleds. 2010-02-24 00:37:10 +01:00
Uwe Hermann 75e66f26d7 Revert unintended change. 2010-02-23 23:39:09 +01:00
Uwe Hermann 0a0be96d12 Cosmetics, whitespace, coding style. 2010-02-23 23:38:05 +01:00
Piotr Esden-Tempski 2c404f962a Added KITT mode. 2010-02-22 15:56:49 +01:00
Piotr Esden-Tempski da2b9d94fb Added gamma 2.5 corrected 3.0 table added fade mode.
The fade mode is using one gamma correction table and fades with a time
offset to create a nice moving fade.
2010-02-22 15:06:28 +01:00
Piotr Esden-Tempski c713c02e9d Scaled gamma 1.3 table to cover whole power range.
Now the example shows the difference between different gamma approaches.
2010-02-22 13:59:51 +01:00
Piotr Esden-Tempski 002ec200ad Added proper gamma correction tables. 2010-02-22 12:59:15 +01:00
Piotr Esden-Tempski 18097d9ed0 Added pwmleds example for mb252 board.
It creates a fading pattern on the 4 leds on the eval board, using TIM3
PWM output, and a gamma correction lookup table.
2010-02-22 10:03:56 +01:00
Uwe Hermann 94ccc164db Use --no-print-directory option of 'make'. 2010-01-26 03:12:23 +01:00
Uwe Hermann 06fa19df3e Cosmetics in build output. 2010-01-26 03:11:27 +01:00
Uwe Hermann da79139560 Fix Makefile to use new directory names. 2010-01-26 03:02:06 +01:00
Uwe Hermann da8d9de6b0 Rename example directory names to all-lowercase. 2010-01-26 03:01:25 +01:00
Piotr Esden-Tempski 6ca739296d Updated example README files. 2010-01-25 17:32:35 +01:00
Piotr Esden-Tempski 4935a0ddd8 Moved vector_table to the library. 2010-01-25 17:29:06 +01:00
Piotr Esden-Tempski a88c1b0ee9 Fixed ROM start address in linker scripts. 2010-01-25 17:22:25 +01:00
Piotr Esden-Tempski 699ec0fb15 Added fancyblink example for the MB525 eval board. 2010-01-25 17:22:11 +01:00
Piotr Esden-Tempski 3a4f36d80f Moved all examples to a board specific folder. 2010-01-22 12:47:35 +01:00
Piotr Esden-Tempski 667f32bd45 Added USART_ prefix to bit definitions.
This matches the new convention used throughout libopenstm32.
2010-01-15 00:03:29 +01:00
Uwe Hermann e5fb750378 Modularize OpenOCD paths in the example Makefiles. 2009-12-31 00:17:38 +01:00
Uwe Hermann 25a003b076 Add rcc_peripheral_{reset,clear_reset} functions.
Also, rename two other functions for consistency.
2009-08-31 14:47:07 +02:00
Uwe Hermann 9a4a47fdeb Add default alternate function GPIO pin definitions. 2009-07-25 18:47:10 +02:00
Uwe Hermann d20c3454fa Add a simple USART example project which sends some bytes. 2009-07-25 03:27:48 +02:00
Uwe Hermann bb7ce24f42 Fix docs: OpenOCD 'resume' command doesn't work properly, use 'reset'. 2009-07-25 01:59:25 +02:00
Uwe Hermann 734a87d4c5 Factor out some code into gpio_setup(). 2009-07-25 01:48:50 +02:00
Uwe Hermann cfd87f6b9d Add mini ld scripts in the example which include the global one. 2009-07-25 00:05:06 +02:00
Uwe Hermann 3f12e37531 The -L linker option should come before any ldscript file. 2009-07-25 00:01:21 +02:00
Uwe Hermann 50ba77bea9 Factor out ld scripts into one common script in the lib. 2009-07-24 23:19:44 +02:00
Uwe Hermann 86db715332 Simplify example Makefiles by using only one TOOLCHAIN_DIR variable. 2009-07-24 14:42:44 +02:00
Piotr Esden-Tempski 8bdcef8d78 Examples now use the toolchain installed libopenstm32 in default setting. (Uncomment TOOLCHAIN_* lines to use local one) 2009-07-22 20:44:31 +02:00
Uwe Hermann fd1e0290cd Implement clock_setup() in fancyblink, STM32 should now run at 72 MHz. 2009-07-22 03:27:01 +02:00
Uwe Hermann 0f0ef60378 Add a 'fancyblink' example, currently mostly a copy of miniblink. 2009-07-22 03:08:00 +02:00
Uwe Hermann 14d342e50c Show example of rcc_enable_peripheral_clock() in miniblink.c. 2009-07-22 02:57:28 +02:00
Uwe Hermann 91fa52da48 Turn miniblink in the smallest-possible example using the library. 2009-07-20 17:32:22 +02:00
Uwe Hermann 8a630baea8 Finish rename to 'miniblink'. 2009-07-20 17:23:25 +02:00
Uwe Hermann 05ccc0614a Move the 'blink' example into a 'miniblink' subdirectory. 2009-07-20 16:52:05 +02:00
Uwe Hermann db0e59da96 Rename example subdir to examples, we'll have more than one. 2009-07-20 15:35:12 +02:00