1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

50 Commits

Author SHA1 Message Date
Cenk Gündoğan
3989945679 converting tabs to spaces in cpu (#1439)
This PR converts tabs to white spaces.
The statement I used for the conversion:
```find . -name "*.[ch]" -exec zsh -c 'expand -t 4 "$0" > /tmp/e && mv /tmp/e "$0"' {} \;```
Afterwards, I had a quick overview of the converted files to prevent odd indentation.
2014-07-31 20:46:28 +02:00
René Kijewski
1b89f334e3 msp430: provide oneway-malloc implicitly
For MSP430 boards oneway-malloc is already used *if* `malloc.h` was
included. The problem is that `malloc.h` is not a standard header, even
though it is common. `stdlib.h` in the right place to look for
`malloc()` and friends.

This change removes this discrepancy. `malloc()` is just named like
that, without the leading underscore. The symbols now are weak, which
means that they won't override library functions if MSP's standard
library will provide these functions at some point. (Unlikely, since
using `malloc()` on tiny systems is less then optimal ...)

Closes #1061 and #863.
2014-05-22 15:40:25 +02:00
Oleg Hahm
31351a0dc0 msp430: workaround: define errno values if not provided by MSP430 lib 2014-05-19 18:54:20 +02:00
Oleg Hahm
ef5ec344fd core: prefix API functions correctly
Also changed names for bitarithm functions and rename thread_pid to sched_active_pid.
2014-05-18 08:53:20 +02:00
René Kijewski
55b12034a9 msp430: fix missing members in struct tm
Closes #1150.
2014-05-14 19:57:41 +02:00
Hauke Petersen
7545eff784 core/cpu/board: moved F_CPU define to board 2014-05-06 10:36:09 +02:00
Martin
619039e0e2 add pthread condition variable implementation 2014-04-29 18:39:03 +02:00
Hauke Petersen
8a937e1a1c hwtimer: clean up of interfaces to board/cpu 2014-03-26 13:19:18 +01:00
Oleg Hahm
72966fec39 adding sys/time.h for msp-430 2014-02-27 00:17:14 +01:00
Oleg Hahm
a57b853401 removed own implementation of errno headers 2014-01-20 14:05:47 +01:00
Oleg Hahm
9eebc532ef Merge pull request #459 from rousselk/msp430-lpm-freq
Msp430 lpm freq
2014-01-16 04:57:27 -08:00
Oleg Hahm
fe575d52df Merge pull request #364 from OlegHahm/float_stack_sizes
added a dedicated stacksize for float printfs
2014-01-09 10:48:38 -08:00
Kévin Roussel
5d393d270b Sets MCU frequency in 'board.h', instead of the common 'cpu.h' file 2013-12-24 15:41:32 +01:00
Martin Lenders
69809928d3 Make UART0_BUFSIZE configurable by CPU 2013-12-20 11:10:42 +01:00
Oleg Hahm
903ec54a43 making include directives consistent 2013-12-19 15:31:37 +01:00
Ludwig Ortmann
50d488e6bc remove suprerfluous thread_yield declaration 2013-12-19 13:05:53 +01:00
Ludwig Ortmann
437c0ee5c9 msp430 lpm stub 2013-12-19 13:04:08 +01:00
Ludwig Ortmann
69f6748a7c clean up msp430 cpu-conf.h 2013-12-19 13:04:08 +01:00
Kévin Roussel
6428daf9c7 Removed all references to a specific MCU in "generic" files
Inclusion of generic <msp430.h> file is done in cpu.h
2013-12-18 10:49:23 +01:00
Hauke Petersen
edcabf7cb6 Fixed a lot of comments by removing tabs and correcting format. 2013-12-16 14:00:33 +01:00
Hauke Petersen
3785fe956b Fixed doxygen comments, focused on file headers and group definitions 2013-12-16 14:00:24 +01:00
Ludwig Ortmann
926c1d3da0 GNU Lesser General Public License -> LGPLv2 2013-11-23 13:43:47 +01:00
Ludwig Ortmann
d6c213fb47 fix grammar in license header 2013-11-23 13:11:56 +01:00
Oleg Hahm
6a1fcaf288 added a dedicated stacksize for float printfs 2013-11-21 20:41:28 +01:00
Ludwig Ortmann
c1ea408274 move struct timeval to msp430_types.h 2013-11-19 17:56:05 +01:00
Ludwig Ortmann
7caf7881a2 fix msb-430 Makefiles and includes 2013-11-14 15:08:32 +01:00
Oleg Hahm
cc45909ffc Merge pull request #236 from OlegHahm/telosb
Telosb
2013-11-14 01:55:47 -08:00
Christian Mehlis
7fb1ac4402 msp430: add time_t and struct timespec 2013-10-22 11:07:18 +02:00
Kévin Roussel
c7501ce5e0 Added mising reference to cpu/msp430-common/include/cpu.h
so as to get the needed definition of F_RC_OSCILLATOR
2013-10-09 15:10:22 +02:00
Oleg Hahm
0a02b060a8 adjusted default stack sizes for msp430
* stack size for idle thread was too small
* main stack gets initialized with KERNEL_CONF_STACKSIZE_DEFAULT +
  KERNEL_CONF_STACKSIZE_PRINTF, leading to a huge main thread stack
2013-09-19 13:51:09 +02:00
Oleg Hahm
d284db620d Merge pull request #178 from OlegHahm/telosb
Telosb support
2013-09-16 15:34:57 -07:00
Oleg Hahm
5f537c38ac changed to _types.h definition for ssize_t 2013-09-12 23:17:27 +02:00
Oleg Hahm
43eea48d25 added define for calloc in msp430-common 2013-09-12 16:08:40 +02:00
Oleg Hahm
a50db45909 added header for msp430 to define missing ssize_t 2013-09-12 14:33:37 +02:00
Oleg Hahm
ebc0b9b552 renamed and moved some defines 2013-08-19 19:00:48 +02:00
Oleg Hahm
38ae187b61 added prototype for msp430_cpu_init() 2013-08-15 10:31:54 +02:00
Oleg Hahm
6239ea2a0b minor changes according to 7a2cc4ae09 2013-08-09 15:57:34 +02:00
Oleg Hahm
33423cdadb redefining default stack sizes dependent on the use of printf 2013-07-23 13:42:58 +02:00
Oliver Hahm
57cc002c67 Merge branch 'wsn430'
Conflicts:
	core/include/queue.h
	core/queue.c
	cpu/msp430-common/hwtimer_cpu.c
	cpu/msp430x16x/hwtimer_msp430.c
	sys/lib/hashtable.c
	sys/net/ieee802154/ieee802154_frame.c
	sys/shell/commands/sc_cc110x_ng.c
	sys/transceiver/transceiver.c
	sys/vtimer/vtimer.c
2013-06-25 15:33:40 +02:00
Oliver Hahm
c8bee9e554 fixed coding style (space after most keywords) 2013-06-24 22:37:35 +02:00
Oliver Hahm
5d70656343 fixed coding conventions (mostly by astyle) 2013-06-21 03:52:57 +02:00
Oliver Hahm
0d6d8390c0 * updated copyright and license headers in various files 2013-06-18 17:21:38 +02:00
Milan Babel
edb34b73c0 fixes for the wsn430
fixed vtimer for the msp430
added spi module for the wsn430 v1.3b
changed some variables to uintXX_t, fixes overflow on msp430
2013-06-06 08:35:17 +02:00
mikoff
4f638eb887 All files, which used by chronos board were edited according to new texas instruments headers, all warnings fixed 2013-03-30 21:44:16 +01:00
Oleg Hahm
2277b366b2 * removed outdated occurrences of (u|µ)kleos and FeuerWare 2013-03-07 20:51:26 +01:00
Oliver Hahm
82f2e3d4e0 * added missing makefiles for msb430h
* updated some makefiles and fixed includes for msb430h
2013-02-11 22:10:03 +01:00
Oliver Hahm
ddcbd10a03 [RTC]
* added a general RTC header
* added RTC support to chronos
2010-12-13 01:29:46 +01:00
Oliver Hahm
ec6a794143 [cc110x_ng]
* fuxed transceiver driver for chronos
* some more stuff
2010-12-10 18:00:31 +01:00
Oliver Hahm
830f17246c [Chronos]
* changed display driver interface from uint8_t* to char*
* fixed hardware timer interrupt
* ported cc1100 driver
* added simple test application for radio

[msb430]
* fixex config and flashrom

[cc110x_ng]
* removed dependency from sysconfig
2010-12-09 13:24:24 +01:00
Oliver Hahm
8304a8ae7b [board/msb-430-common board/eZ430-Chronos cpu/msp430*]
* reorganized msp430 based cpu folders
2010-12-08 12:16:49 +01:00