Commit Graph

239 Commits

Author SHA1 Message Date
chrysn 78c93dc779 add missed license headers to efm32 files
some files had nonstandard shared copyright lines, fixed them too
2012-03-03 00:26:55 +01:00
chrysn 4668adcf1f follow the license change to lgpl3 in efm32
this follows the license change of the master branches in [43561de]. all
files whose copyright is not my own are originally based on files whose
license has been changed in master.

the expression used for the conversion was:

sed -i -e 's/This program is free software: you can redistribute/This library is free software: you can redistribute/g' -e 's/under the terms of the GNU General Public License as published/under the terms of the GNU Lesser General Public License as published/' -e 's/This program is distributed in the hope that/This library is distributed in the hope that/g' -e 's/You should have received a copy of the GNU General/You should have received a copy of the GNU Lesser General/' -e 's/along with this program.  If not/along with this library. If not/' -e 's/GNU General Public License for more details/GNU Lesser General Public License for more details/' */**/efm32/**/*(.)

[43561de] 43561de329
2012-03-03 00:21:21 +01:00
chrysn 563586c072 Merge branch 'master' into efm32 2012-03-02 23:59:52 +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
chrysn e388056fda efm32: energy management unit headers and example 2012-03-02 21:54:23 +01:00
chrysn 70ac046f98 added efm32 lightswitch example 2012-03-01 02:47:06 +01:00
chrysn 541fded753 convenience functions for efm32 gpio
also, the whole gpio header file is now a big doxygen group, structuring
the convenience functions and the register/value definitions
2012-03-01 02:18:22 +01: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
chrysn 8e90ffa2ab fixed a bug in efm32 miniblink example
actually, it wasn't a bug; the compiler just optimized a statement away
until it was declared volatile. inserting a no-op assembler instruction
to make it more obvious what's going on
2012-02-27 19:20:19 +01:00
chrysn 805119786c added upload target for segger's JLink tool
this is quite a hack, but the only way i know of by which firmware can
be uploaded to the efm32tg-stk until OpenOCD supports SWD on jlink
2012-02-27 17:59:58 +01:00
chrysn 09523e854d efm32 example: enhanced makefiles 2012-02-27 16:07:24 +01:00
chrysn 2275ed7b0c overhauled documentation
includes minor refactoring in example code and modification of how the
generic and the tinygecko specific vector.h go together (bringing it in
line with stm32/f1's memorymap.h)
2012-02-26 03:42:25 +01:00
chrysn 08918902ab made blinking a led on efm32 possible
this includes all register definitions for the gpu and mcu modules, but
not all their bit definitions
2012-02-25 23:22:37 +01:00
chrysn 2180a02e2f first attempt at porting libopencm3 to energymicro
unless sources are explicitly given, the linker scripts and make files
were copied over from the stm32/f1 port.
2012-02-25 23:22:37 +01: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
Mike Smith cdcfaaf688 F4 examples should build for F4, pass consistent arguments to the compiler and linker to ensure that compatible libraries are linked. 2012-02-12 15:00:08 -08:00
Uwe Hermann 9532195e65 More coding-style and cosmetic fixes. 2012-02-06 23:39:06 +01:00
Fergus Noble d071a9ffde Cleaned up the jobygps examples. 2012-02-06 23:08:07 +01: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 99f4ca3b22 lm3s: Cosmetics. 2011-11-12 17:53:01 +01:00
Uwe Hermann 6ce8d61097 stm32f4-discovery/miniblink: Fix board name typo. 2011-11-11 21:54:43 +01:00
Uwe Hermann e797fd978b Cosmetic fixes in license headers. 2011-11-10 21:40:29 +01:00
Stephen Caudle 3c9ba2ac2d Add usart example for STM32F4 discovery board 2011-11-02 22:50:49 -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 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
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