Piotr Esden-Tempski
bf0b987fe3
Splitted out the usart recv and send functions to have blocking and non blocking versions of those.
2010-12-27 15:29:22 +01:00
Uwe Hermann
571c4d37d0
CAN: Reduce nesting level via code transformations.
2010-12-26 00:36:32 +01:00
Uwe Hermann
06d1a5ca80
CAN: Cosmetics and coding-style fixes.
2010-12-26 00:30:05 +01:00
Piotr Esden-Tempski
e7d765ea90
Factored out CAN helper functions out of the example. Test code now also uses the received data.
2010-12-25 20:39:46 +01:00
Piotr Esden-Tempski
c6e86901e8
Fixed timing settings. Now CAN test code works!!!
2010-12-23 21:53:02 +01:00
Piotr Esden-Tempski
1471b6d297
Various fixes to the can test program.
...
- External Clock is 8Mhz not 16Mhz
- CAN peripherial should be deinitialized at the beginning
- Added can receive interrupt handler
- Added some more led indicators of internal state (error reporting)
- Orange: send indicator
- Blue: message queue full indicator
- Red: INACK failure indicator
2010-12-23 02:04:07 +01:00
Piotr Esden-Tempski
3c12fc6cd3
Initial implementation of CAN test program.
2010-12-22 22:57:25 +01:00
Piotr Esden-Tempski
7f15dd0fc2
Added selection of jtag serial number through make commandline.
2010-12-22 22:55:56 +01:00
Piotr Esden-Tempski
77fbe48a5e
Added usart test version for obldc.
2010-12-21 20:55:04 +01:00
Piotr Esden-Tempski
45e57fa51e
Corrected pwmleds to use the right GPIO defines.
2010-12-21 20:14:54 +01:00
Piotr Esden-Tempski
c38aac0d2a
Cosmetic fix.
2010-12-21 20:14:49 +01:00
Uwe Hermann
5060261413
Cosmetics.
2010-12-20 19:52:51 +01:00
Piotr Esden-Tempski
44442e44c9
Added obldc systick test program.
2010-12-18 00:08:39 +01:00
Piotr Esden-Tempski
5e76fe66b7
Added obldc board led test program.
2010-12-18 00:08:34 +01:00
Piotr Esden-Tempski
c031b6691e
Moved common example make code to a central file. Added more gitignores.
2010-12-17 21:45:38 +01:00
Martin Mueller
d6eacce827
add standard request
2010-11-04 00:44:47 +01:00
Uwe Hermann
6e090ccee1
Initial USB device stack for STM32.
...
Patch provided by Gareth McMullin <gareth@blacksphere.co.nz>,
thanks a lot!
2010-11-02 02:02:21 +01:00
Uwe Hermann
6ba179b361
Various cosmetic and coding style fixes.
2010-06-29 23:01:44 +02:00
Thomas Otto
d08ee7e333
Changed examples to new rcc definitions.
2010-05-11 14:50:55 +02:00
Uwe Hermann
93fe67908a
Add more RTC functions and an RTC example.
...
Thanks Lord James <lordjames@y7mail.com> for the patch!
2010-05-10 00:40:42 +02:00
Thomas Otto
ffcf53ef00
Make examples/other make use of new clock setup.
2010-05-02 20:28:51 +02:00
Thomas Otto
a104b63ea9
Added DOGM128 LCD display example (SPI).
2010-05-02 14:44:31 +02:00
Thomas Otto
4ae25c865b
Corrected comment only.
2010-04-13 22:42:26 +02:00
Thomas Otto
d3890f9b32
Added systick example to Makefile.
2010-04-13 22:38:24 +02:00
Thomas Otto
7c32f63332
Added little systick example.
2010-04-13 22:33:52 +02:00
Thomas Otto
e50b836ada
Added timer_interrupt example.
2010-03-28 16:11:45 +02:00
Thomas Otto
9dc0af94b0
Added dma_mem2mem example.
2010-03-28 15:52:49 +02:00
Thomas Otto
be986aa8d9
Corrected Makefile for ADC example
2010-03-25 10:13:15 +01:00
Thomas Otto
3882f8f96f
Fixed binary name in README
2010-03-24 20:41:27 +01:00
Thomas Otto
384a7e688e
Added adc_temperature_sensor to examples
2010-03-24 20:36:19 +01:00
Uwe Hermann
a6342d4968
Cosmetic fixes.
2010-03-06 15:22:09 +01:00
Uwe Hermann
d8eb8ce746
Consistently use the hex file for flashing.
2010-03-05 23:30:26 +01:00
Uwe Hermann
8faf33275a
Makefile output cosmetic improvements.
2010-03-05 23:24:09 +01:00
Uwe Hermann
20ff2d9a7b
Drop unused comments.
2010-03-05 23:16:56 +01:00
Uwe Hermann
87df73edf2
Print "Entering directory" only upon "make V=1".
2010-03-05 23:13:47 +01:00
Uwe Hermann
2c8ae015d0
Use standardized reg32 variable name.
2010-03-05 22:46:27 +01:00
Uwe Hermann
46e5ed202a
Add i2c_stts75_sensor example.
...
Thanks Thomas Otto <tommi@viadmin.org> for the patch!
2010-03-05 22:35:29 +01:00
Uwe Hermann
54dfb91996
Add missing spi.h #include.
2010-03-04 21:35:59 +01:00
Piotr Esden-Tempski
d7489ebfbd
Added standard clock setup routines.
...
Thanks to Thomas Otto for pointing out problems with the clock code in
examples and his clock routine implementations. Based on that the most
common clock combination routines were added to the library and all
routines in examples setting up the clock replaced with calls to that
functions.
2010-03-04 20:37:04 +01:00
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