Oleg Hahm
aeb54158f6
cpu: satisfy compiler in crash.c
2014-04-09 12:27:53 +02:00
René Kijewski
3f59eefbaf
Use subfolders in bin dir
...
Creating all object files in one directory is bound to produce name
clashes. RIOT developers may take care to use unique file names, but
external packages surely don't.
With this change all the objects of a module (e.g. `shell`) will be
created in `bin/$(BOARD)/$(MODULE)`.
I compared the final linker command before and after the change. The
`.o` files (e.g. `startup.o`, `syscall.o` ...) are included in the same
order. Neglecting the changed path name where the `.o` files reside, the
linker command stays exactly the same.
A major problem could be third party boards, because the location of the
`startup.o` needs to the specified now in
`boards/$(BOARD)/Makefile.include`, e.g.
```Makefile
export UNDEF += $(BINDIR)msp430_common/startup.o
```
2014-04-09 00:28:14 +02:00
Ludwig Ortmann
91814e52ae
make: replace MAKEBASE with RIOTBASE
...
closes https://github.com/RIOT-OS/RIOT/issues/959
2014-04-01 16:40:28 +02:00
Hauke Petersen
8a937e1a1c
hwtimer: clean up of interfaces to board/cpu
2014-03-26 13:19:18 +01:00
Ludwig Ortmann
063a15ce9b
Change reboot signature.
...
Change from `void reboot(void)` to `int reboot(int mode)`.
Move reboot definition to core, rename architecture implementations
from reboot to reboot_arch.
Declare reboot mode(s) in kernel.h, reboot_arch in kernel_internal.h
Currently only one reboot mode is handled, its use is enforced.
Rationale:
A reboot function is already defined in <unistd.h> on BSD systems.
(See: http://www.openbsd.org/cgi-bin/man.cgi?query=reboot&sektion=2 )
This patch not only allows native to build sensibly on these systems
but also streamlines RIOTs compatability with existing software.
2014-03-10 11:14:27 +01:00
Oleg Hahm
0c14597ec2
Merge pull request #685 from rousselk/panic
...
Panic
2014-02-26 16:26:27 +01:00
Oleg Hahm
b4a8788210
fixed typo
2014-02-26 08:18:17 +01:00
Oleg Hahm
07b0cd8863
added gettimeofday syscall
...
RIOT's gettimeofday needs to be called from syscalls.c to assure that gcc actually links it.
If an RTC if available and enabled it will be used instead.
2014-02-25 17:41:45 +01:00
Kévin Roussel
4f8a29d892
Implemented the crash-handling/reboot mechanism for ARM-based MCUs
2014-02-25 10:50:51 +01:00
Kévin Roussel
f6d7910352
Added while(1) to ensure GCC valids NORETURN; fixed indentation
2014-02-14 16:33:47 +01:00
Kévin Roussel
c33087bdcd
Implemented reboot() function for ARM-based MCUs
2014-02-14 11:56:18 +01:00
Ludwig Ortmann
2525920426
remove trailing whitespace and newlines
2014-02-11 18:45:06 +01:00
Martin
b4f36f4af9
added typecast for starck_start in arm_cpu to ensure correct calculation
2014-02-07 09:17:21 +01:00
Oleg Hahm
02612ff0ca
further Makefile cleanup
2014-01-05 16:11:08 +01:00
Oleg Hahm
26c50522d5
simplified and unified cpu build structure
2014-01-05 16:11:07 +01:00
Oleg Hahm
cdb77c2392
Merge pull request #437 from OlegHahm/include_directives
...
making include directives consistent
2013-12-19 08:38:14 -08:00
Oleg Hahm
903ec54a43
making include directives consistent
2013-12-19 15:31:37 +01:00
Oleg Hahm
aabef88d20
fix check for used cpu in arm_common
2013-12-19 15:25:12 +01:00
Oleg Hahm
ead2e117a1
Merge pull request #439 from OlegHahm/thread_yield_prototype
...
put prototype for thread_yield() in core/include
2013-12-18 13:36:55 -08:00
Oleg Hahm
227c847135
put prototype for thread_yield() in core/include
2013-12-18 17:47:49 +01:00
Oleg Hahm
856548c63d
macros are not handled by the preprocessor in ASM
2013-12-18 16:56:13 +01:00
Thomas Eichinger
1fcb47f9ed
fixed interrupt handling for hwtimer
2013-12-18 11:11:15 +01:00
Thomas Eichinger
1e39e7e486
change to the mc1322x IRQ handling
...
since mc1322x lacks a VIC this is a kind of SW VIC with low latency and
compatibility to the VIC API in mind.
2013-12-18 11:11:14 +01:00
Thomas Eichinger
39c69166c5
fixes startup code and adds proper irq handler for mc1322x
2013-12-18 11:10:20 +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
f85adf608f
change my email address
...
kaspar.schleiser@fu-berlin.de will be obsoleted soon. Replace it with
kaspar@schleiser.de , which will (hopefully) stay.
2013-12-04 15:09:56 +01:00
Christian Mehlis
ff12887eae
Merge pull request #380 from OlegHahm/fix_watchdog
...
initializes watchdog properly for MSB-A2
2013-12-03 03:17:43 -08:00
Oleg Hahm
9817043ada
Merge pull request #375 from LudwigOrtmann/license_header_fix
...
fix grammar in license header
2013-11-26 10:55:41 -08:00
Oleg Hahm
749a24c515
initializes watchdog properly for MSB-A2
...
It the watchdog does not reset the WDMOD, BSL pin remains ignored.
2013-11-25 16:53:32 +01:00
Ludwig Ortmann
d6c213fb47
fix grammar in license header
2013-11-23 13:11:56 +01:00
Oleg Hahm
1f50d91332
making the pedantic gcc happy
2013-11-23 03:45:26 +01:00
Ludwig Ortmann
03957ab57d
dont overwrite CFLAGS in Makefile
2013-11-15 11:41:15 +01:00
Oleg Hahm
6d130a45ac
updated license headers
...
(No code changes!)
2013-08-16 10:20:23 +02:00
authmillenon
a3b754b662
Remove carriage returns
...
Git for windows handles those by itself
2013-08-15 10:17:15 +02:00
Oleg Hahm
88b8ccf3e8
Merge pull request #108 from OlegHahm/unmaintained_libs
...
removed unmaintained code
2013-08-13 00:44:25 -07:00
Oleg Hahm
540515bd98
removed unmaintained tracelog library
2013-08-12 22:38:18 +02:00
Oleg Hahm
5bf958ce20
removed unmaintained syslog library
2013-08-12 22:38:18 +02:00
Oleg Hahm
31646237b1
removed unmaintained code for LPC214x MCU
2013-08-12 22:37:59 +02:00
Martin
63146190b3
fix changed prototype parameter 1 of thread_stack_init from void* to void(*)(void)
2013-08-09 12:19:03 +02:00
Oleg Hahm
22c668529d
Merge branch 'oleg-master' into mymaster
...
Conflicts:
cpu/Makefile.include
cpu/arm_common/arm_cpu.c
2013-07-29 01:36:24 +02:00
Oleg Hahm
a2dff456f7
rebased from origin/master
2013-07-29 01:22:03 +02:00
Oleg Hahm
6297516371
restructured and fixed arm architecutre files
2013-07-24 23:53:38 +02:00
Oleg Hahm
19e4034ace
Merge branch 'thomas-mc1322x'
...
Conflicts:
Makefile.modules
core/kernel_init.c
core/thread.c
cpu/arm_common/arm_cpu.c
cpu/arm_common/syscalls.c
cpu/lpc_common/hwtimer_cpu.c
cpu/lpc_common/iap.c
sys/include/transceiver.h
sys/net/sixlowpan/sixlowip.c
sys/net/sixlowpan/sixlowmac.c
sys/net/sixlowpan/sixlowmac.h
sys/net/sixlowpan/sixlowpan.c
sys/transceiver/Makefile
sys/transceiver/transceiver.c
2013-07-24 23:22:11 +02:00
Oleg Hahm
e9cee715a1
Use basic CFLAGS for ARM bootloader code
2013-07-24 22:22:34 +02:00
Oleg Hahm
599e266b55
Revert "removed redefined ENABLE_DEBUG"
...
This reverts commit 69c526f44d
.
Instead of removing ENABLE_DEBUG, define it as zero and replacing the
ifdef preprocessor commands by a simple #if
2013-07-24 00:38:43 +02:00
Christian Mehlis
837bad38eb
rename kernel_intern.h
...
german "intern" to english "internal"
2013-07-16 16:36:37 +02:00
Christian Mehlis
69c526f44d
removed redefined ENABLE_DEBUG
2013-07-16 15:27:19 +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