Jason Kotzin
34beeae925
USB core updated for reentrance based on Christian Cier-Zniewski's branch
2012-09-13 10:43:35 -07:00
Piotr Esden-Tempski
dcd98dde86
Renamed adc example to be more descriptive.
2012-09-10 14:01:24 -07:00
Piotr Esden-Tempski
d1cc8ca2b3
Added simple adc example for lisa/m 2.
2012-09-10 14:01:23 -07:00
Piotr Esden-Tempski
fa5d689f78
Use make wildcard command for source dir detect. Library path fix.
...
Thanks ni!
2012-08-14 17:48:23 -07:00
Piotr Esden-Tempski
b82e7eee52
Examples detect if they are being built in src dir.
...
If an example is in the libopencm3 source directory it will use the
locally built library instead of the system library.
When you copy an example out of the libopencm3 tree it will
automatically detect it and build using the system wide installation.
2012-08-13 15:29:01 -07:00
Piotr Esden-Tempski
3441bba1c4
Changed local build target for library and linker files.
...
- The library files are now being built into the lib subdirectory of the
source.
- The linker files for each library are being copied into the lib source
subdirectory.
Motivation: The relative locations of files in the source directory after make
are now the same as after make install now. This makes it easier to
reuse examples with their makefiles outside of the libopencm3
sourcecode directory.
2012-08-13 15:19:57 -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
Tomaz Solc
bf65589183
Support for exception handling in linker scripts.
...
This is needed even in plain C when 64 bit variable (e.g. long long int)
arithmetic is used. For example it is required when newlib is compiled with
--enable-newlib-io-long-long.
Conflicts:
lib/stm32/f1/libopencm3_stm32f1.ld
lib/stm32/f2/libopencm3_stm32f2.ld
2012-04-24 09:16:22 +02:00
Piotr Esden-Tempski
b7875d0230
Added dma based usart IO example.
2012-03-14 13:17:43 -07:00
Piotr Esden-Tempski
1b7cd12f20
Added irq usart example for lisa/m 2.0
2012-03-12 00:01:48 -07:00
Piotr Esden-Tempski
b41987dc7a
Added blocking usart printf for lisa/m 2.0
2012-03-11 23:55:24 -07:00
Piotr Esden-Tempski
22706613d9
Added usart irq example for lisa/m 2.0
2012-03-11 23:26:28 -07:00
Piotr Esden-Tempski
7e9425bdac
Added usart example to lisa/m 2.0
2012-03-11 23:12:26 -07:00
Uwe Hermann
7907b29113
Fix search-replace left-over.
2012-03-03 00:46:07 +01:00
Piotr Esden-Tempski
43561de329
License change of the library to LGPL, version 3 or later.
...
Agreed to by all the significant contributors to the library.
2012-03-02 14:44:49 -08:00
Piotr Esden-Tempski
ec904f176b
Cleaned up and streamlined DMA support for f1. Definitely needs a bunch of testing!
2012-02-29 16:02:51 -08:00
Piotr Esden-Tempski
1c5dfd9d22
Added fancyblink for lisa/m V2
2012-02-21 16:12:29 -08:00
Piotr Esden-Tempski
c654b2199a
Renamed current lisa-m tests to lisa-m-1 as it differs a bit from v2.
2012-02-21 13:51:56 -08:00
Gareth McMullin
651917aeb4
Added USB example for stm32f4.
...
Moved clock enable for OTG_FS back into applications. This and gpio config
are the only differences between f107 and f2xx/f4xx.
2011-12-17 14:11:39 +13:00
Piotr Esden-Tempski
d630d83972
Added CAN example for lisa-m V1.1.
2011-11-16 20:57:50 -08:00
Piotr Esden-Tempski
2bc1025bc5
Updated all examples to use the new/old usart_set_baudrate api.
2011-11-16 18:41:48 -08:00
Uwe Hermann
bb8741a79b
examples: Even more coding-style fixes.
2011-11-13 23:21:58 +01:00
Uwe Hermann
c3fea659d1
examples: Remove duplicate example linker scripts.
...
Only add one linker script per eval board, and have the Makefiles use that.
This avoids duplication, and various copy-paste errors and left-overs
which we already have in the tree.
Some of the linker scripts are not really correct, yet. Both, the comments
which say which board, chip, and RAM/ROM sizes are used, as well as the
actual RAM/ROM size definitions are sometimes copy-pasted from other boards
and are thus incorrect. This needs to be fixed.
2011-11-13 23:21:26 +01:00
Uwe Hermann
7f1e75c3a8
other/*: Random coding-style fixes.
2011-11-13 23:16:13 +01:00
Uwe Hermann
8a77630997
other/i2c_stts75_sensor: Cosmetics.
2011-11-13 23:16:12 +01:00
Uwe Hermann
53a0c44bfd
s/led/LED/.
2011-11-12 17:53:07 +01:00
Uwe Hermann
4cf395d3c9
obldc examples: Fix comments and coding-style.
2011-11-12 17:53:06 +01:00
Uwe Hermann
f3f1123d07
other/dogm128: Coding-style fixes.
2011-11-12 17:53:05 +01:00
Uwe Hermann
cd259c6eb3
other/adc_temperature_sensor: Cosmetics.
2011-11-12 17:53:05 +01:00
Uwe Hermann
61ff27cfbe
other/dma2mem: Fix typos and coding-style.
2011-11-12 17:53:04 +01:00
Uwe Hermann
793bd23851
mb525: Fix coding-style and comments.
2011-11-12 17:53:04 +01:00
Uwe Hermann
905badef24
lisa-m/usbhid: Use short types such as u8.
2011-11-12 17:53:03 +01:00
Uwe Hermann
bc1f581991
lisa-m/usbhid: Coding-style fixes.
2011-11-12 17:53:02 +01:00
Uwe Hermann
b1819507b7
lisa-m/usb_cdcacm: Coding-style/whitespace fixes.
2011-11-12 17:53:02 +01:00
Uwe Hermann
f23d9d07b7
lisa-m/fancyblink: Fix copy-pasted code comments.
2011-11-12 17:53:01 +01:00
Uwe Hermann
e797fd978b
Cosmetic fixes in license headers.
2011-11-10 21:40:29 +01: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
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
580d25a84b
Move STM32 example projects in family specific folders
2011-10-31 00:16:37 -04:00