Martine Lenders
5760f9042d
native: unify and simplify usage of tapsetup script
2015-08-14 12:05:34 +02:00
Peter Kietzmann
77ca7a50bc
Merge pull request #3509 from katezilla/LimiFrog-v1
...
board: limifrog-v1 initial commit
2015-08-13 15:45:27 +02:00
Katja Kirstein
c95612295e
cpu/stm32l1: remodel to new GPIO interface
2015-08-13 15:07:49 +02:00
Katja Kirstein
bda86cfcd3
boards: limifrog-v1 initial commit
2015-08-13 14:14:18 +02:00
Hauke Petersen
af10ab64a7
cpu/stm32f1: simplified pin init in periph drivers
2015-08-12 10:50:17 +02:00
Martine Lenders
f0cb1429f0
native: rename ng_nativenet to dev_eth_tap
2015-08-09 22:04:26 +02:00
Martine Lenders
ca71ae4f59
dev_eth: fix documentation
2015-08-09 22:02:10 +02:00
Joakim Gebart
62b1435646
cortexm: Remove __dso_handle from startup.c in favour of sys/cpp11-compat/cppsupport.cpp
2015-08-08 14:44:41 +02:00
Martine Lenders
472ee315f0
ethernet/ethertype: remove ng_ prefix
2015-08-07 17:09:19 +02:00
Hauke Petersen
97a19016cf
drivers: adapted to renamed NETOPT header
2015-08-06 15:36:56 +02:00
Oleg Hahm
f90032f94f
Merge pull request #3334 from kaspar030/remove_old_net
...
remove old network stack
2015-08-06 15:10:11 +02:00
Hauke Petersen
bcb9aebadd
cpu/stm32f1: modernized the GPIO driver
2015-08-06 13:48:25 +02:00
Hauke Petersen
75472eddf4
cpu: remove transceiver defines from cpu_conf files
2015-08-06 12:13:54 +02:00
723d0b2479
remove legacy board specific cc110x code
2015-08-06 12:13:19 +02:00
09fb612ceb
cpu: lpc2387: remove obsolete transceiver defines
2015-08-06 12:13:18 +02:00
5d8349298f
remove bulk of legacy network stack and drivers
2015-08-06 12:12:47 +02:00
Martine Lenders
6d9b928818
Merge pull request #3536 from cgundogan/pr/doc/todo
...
Make use of doxygen todo
2015-08-05 15:59:01 +02:00
Benoît Canet
22da1f834b
native: ng: net: Close tap device and cleanup on reboot
2015-08-03 18:17:53 +02:00
Benoît Canet
008b105166
native: net: Take care of unregistering SIGIO on reboot
2015-08-03 18:17:53 +02:00
Benoît Canet
800b057fac
native: net: Make _native_tap_fd static
...
One global variable less is always good.
2015-08-03 18:17:52 +02:00
Hauke Petersen
3caa44ca95
cpu/lm4f120: included dev_enums.h in periph_cpu.h
2015-08-03 13:56:16 +02:00
Hauke Petersen
3d6661fa62
cpu/lpc1768: included dev_enums.h in periph_cpu.h
2015-08-03 13:56:16 +02:00
Cenk Gündoğan
6e1a593e28
cortexm_common: use doxygen todo
2015-08-03 11:00:21 +02:00
f584bd6921
cpu: stm32f1: fix timer auto reload value
...
Previously, the auto-reload register was set to TIMERx_MAXVALUE. This is
incorrect, as TIMERx combines two 16bit timers.
This commit fixes the assignment.
2015-07-30 14:35:27 +02:00
Benoît Canet
4893d4daea
native: irq: Get rid of dINT() and eINT()
...
Get rid of internal usage of the old IRQ
API and keep it's implementation while
waiting for other modules to kill it.
2015-07-29 16:51:22 +02:00
21238b2ccc
Merge pull request #3347 from benoit-canet/timer
...
native: timer: synchronize HWTIMER_SPIN_BARRIER with native timer min resolution
2015-07-29 10:14:58 +02:00
d359c86c60
cpu: cortexm_common: set pendSV to default priority
2015-07-28 20:02:45 +02:00
Oleg Hahm
03b7c7349a
Merge pull request #3457 from authmillenon/gnrc/api/rename-netconf
...
gnrc: rename ng_netconf to ng_netopt
2015-07-28 18:21:09 +02:00
Andreas "Paul" Pauli
82c16f2b93
cpu/stm32f3: corrected register and return value, edit comment
2015-07-28 14:52:52 +02:00
Martine Lenders
6f56b983f0
gnrc: replace all instances of ng_netconf with ng_netopt
2015-07-28 13:33:12 +02:00
Rakendra Thapa
da91eba1ca
Converting C++ style coding to C style
2015-07-24 08:59:55 +05:30
rakendrathapa
3761ebcc21
VariableScope fix: Reducing scope of local var
2015-07-24 08:59:54 +05:30
rakendrathapa
de98cdf8be
Modify: C++ compatible header files_3
2015-07-24 08:59:54 +05:30
rakendrathapa
e4c281a0ff
Modify: C++ compatible header files_2
2015-07-24 08:59:54 +05:30
rakendrathapa
d263a9b2c5
Modify: C++ compatible headers
2015-07-24 08:59:54 +05:30
rakendrathapa
2dc37817bc
Modify to have C++ compatible header
2015-07-24 08:59:54 +05:30
rakendrathapa
63cb5cee4e
Converting from DOS endings to UNIX _2
2015-07-24 08:59:54 +05:30
rakendrathapa
60fc3f2511
Convert from Windows to Dos endings
2015-07-24 08:59:54 +05:30
Raken
186041b553
Addition for doxygen documentation
2015-07-24 08:59:54 +05:30
Rakendra Thapa
aa30ecd04f
Interrupt file to include isr correctly.
2015-07-24 08:59:54 +05:30
Rakendra Thapa
38d70a3356
Remove trailing whitespace_3
2015-07-24 08:59:54 +05:30
Rakendra Thapa
1227cb30f6
Including CPU_MODEL_ guard in cpu config file.
...
Remove CC110X definitions.
Changes to be committed:
modified: cpu/lm4f120/include/cpu_conf.h
2015-07-24 08:59:54 +05:30
Rakendra Thapa
2d656b8732
Define CLOCK_SOURCE and move the clock defines to appropriate files.
2015-07-24 08:59:54 +05:30
Rakendra Thapa
c99de05d23
Remove Not yet supported ADC peripheral. ToDo task
2015-07-24 08:59:54 +05:30
Rakendra Thapa
dad274ccea
Makefile changes.
...
License edit in stellaris_common
2015-07-24 08:59:53 +05:30
Rakendra Thapa
8e24860266
Commits:
- Indentation Edits.
- Edit Header Files.
- Change comments to C-style indentation.
- Edit Periph_conf file to exclude not used peripherals.
# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
# On branch master
# Your branch is up-to-date with 'origin/master'.
#
# Changes to be committed:
# modified: boards/ek-lm4f120xl/board.c
# modified: boards/ek-lm4f120xl/include/board.h
# modified: boards/ek-lm4f120xl/include/periph_conf.h
# modified: cpu/lm4f120/cpu.c
# modified: cpu/lm4f120/include/cpu_conf.h
# modified: cpu/lm4f120/include/hwtimer_cpu.h
# modified: cpu/lm4f120/include/lm4f120h5qr.h
# modified: cpu/lm4f120/lpm_arch.c
# modified: cpu/lm4f120/periph/adc.c
# modified: cpu/lm4f120/periph/cpuid.c
# modified: cpu/lm4f120/periph/timer.c
# modified: cpu/lm4f120/periph/uart.c
# modified: cpu/lm4f120/vectors.c
#
2015-07-24 08:59:53 +05:30
Rakendra Thapa
dc2bbffcc7
Formatting: Delete blank line at EOF
2015-07-24 08:59:53 +05:30
Rakendra Thapa
1165d91b6f
Remove trailing whitespace_2
2015-07-24 08:59:53 +05:30
Rakendra Thapa
be15d5c973
removing trailing whitespace
2015-07-24 08:59:53 +05:30
Rakendra Thapa
4757e30e10
Remove tabs to spaces
2015-07-24 08:59:53 +05:30
Rakendra Thapa
9c4a5f5d86
Applying Coding Conventions correction
2015-07-24 08:59:53 +05:30
Rakendra Thapa
8c1abd716d
Adding Files for Stellaris Porting
2015-07-24 08:59:53 +05:30
Rakendra Thapa
0b673e66da
Adding Support for Stellaris Launchpad LM4f120. This board is based on ARM Cortex M4 from TI.
2015-07-24 08:59:53 +05:30
Thomas Eichinger
e416937398
Merge pull request #3390 from thomaseichinger/pr/fix_warning_errors_freebsd
...
native: fix warning errors freebsd
2015-07-23 10:11:29 +02:00
Oleg Hahm
9922d2600c
native: removed dead code
...
num was never read, because native will exit before.
2015-07-22 14:36:21 +02:00
Thomas Eichinger
cbc9ddc639
native: add missing include for FreeBSD
2015-07-21 18:31:13 +02:00
Thomas Eichinger
0c15084db5
native: fix wrong pointer type warning
2015-07-21 18:31:13 +02:00
Oleg Hahm
75f38c026b
Merge pull request #3412 from OlegHahm/doxygen_fixes_ng
...
doxygen: documentation hierarchy fixes
2015-07-21 11:04:42 +02:00
Oleg Hahm
6a035fe910
doc: exclude sam3* completely from doxygen
...
Also remove doc.txt for sam3 (moved to cpu_conf.h)
2015-07-21 10:00:11 +02:00
Joakim Gebart
601c3002c3
cpu/kinetis_common: Cast device index enums to unsigned int before comparing for out of range values
...
Suppresses false warning in Clang:
warning: comparison of constant 42 with expression of type 'xxx_t'
is always false [-Wtautological-constant-out-of-range-compare]
See:
- https://llvm.org/bugs/show_bug.cgi?id=16154
- https://llvm.org/bugs/show_bug.cgi?id=22062
2015-07-21 07:21:51 +02:00
Joakim Gebart
70d59331b8
arm7_common: Build fixes after discovering an include guard overlap
2015-07-20 12:40:32 +02:00
Joakim Gebart
897f40fabe
cpu/msp430-common: Clean up Doxygen groups
2015-07-20 12:40:31 +02:00
Joakim Gebart
7ff26d12ea
cpu/arm7_common: Rename Doxygen group to cpu_arm7_common
2015-07-20 12:40:31 +02:00
Hauke Petersen
25abd13fb5
cpu/sam3: use hwtimer_compat module
2015-07-15 16:06:34 +02:00
Hauke Petersen
7173b41069
cpu/lpc1768: use hwtimer_compat module
2015-07-15 16:06:08 +02:00
Hauke Petersen
809b99f648
cpu/atmega2560: make use of hwtimer_compat
2015-07-15 16:05:28 +02:00
Hauke Petersen
86261e03e6
cpu/nrf51: make use of hwtimer_compat module
2015-07-15 16:02:43 +02:00
Hauke Petersen
696dff5da3
cpu/nrf51: fixedd cppcheck issue in spi.c
2015-07-14 18:22:03 +02:00
haukepetersen
1cd18f92c9
cpu/nrf51: updated CPU headers
2015-07-14 18:15:42 +02:00
haukepetersen
431ac7b3c5
cpu/nrf51: added linkerscript for 128kb variant
2015-07-14 18:15:42 +02:00
haukepetersen
987dbe983a
cpu/nrf51: generalized linkerscript
2015-07-14 18:15:42 +02:00
haukepetersen
9c46a40005
cpu: renamed nrf51822 to nrf51
2015-07-14 18:15:42 +02:00
Hauke Petersen
3be56ba97e
cpu/sam3: fixed vectors.c
...
This was an error introduced by merging #3194...
2015-07-14 16:32:06 +02:00
Hauke Petersen
3ec9c7b2cb
cpu/cc430: fixed missing include in adc driver
2015-07-14 16:15:13 +02:00
Oleg Hahm
c0d5d2e9b6
Merge pull request #2571 from haukepetersen/rm_msp430_edint
...
cpu/msp430-common: removed e|dINT calls
2015-07-14 15:46:33 +02:00
Thomas Eichinger
7e88358135
Merge pull request #3194 from haukepetersen/mv_sam3x
...
cpu: rename SAM3X8E to SAM3
2015-07-14 15:42:45 +02:00
Joakim Gebart
fa4e059588
Merge pull request #3319 from gebart/pr/warning-fixes-3
...
Makefile.cflags: Build with -Wall -Werror by default (including fixes to correct all existing warnings)
2015-07-14 08:50:31 +02:00
Joakim Gebart
499666f24a
cpu/msp430-common: Add getchar declaration
2015-07-14 08:11:19 +02:00
Joakim Gebart
153c97fc74
cpu/msp430-common: Add stdlib.h header to ensure malloc is defined.
...
Fixes warnings of the kind:
/data/riotbuild/riotbase/sys/bloom/bloom.c: In function 'bloom_new':
/data/riotbuild/riotbase/sys/bloom/bloom.c:39:5: error: implicit declaration of function 'calloc' [-Werror=implicit-function-declaration]
/data/riotbuild/riotbase/sys/bloom/bloom.c:39:22: error: incompatible implicit declaration of built-in function 'calloc' [-Werror]
2015-07-14 08:11:15 +02:00
Joakim Gebart
d8e9b62c75
cpu/cc430/flashrom.c: Fix warning about unused static function by declaring inline
2015-07-14 08:11:14 +02:00
Joakim Gebart
c274558e91
cpu/arm7_common/syscalls: Fix warnings and comment style
2015-07-14 08:11:14 +02:00
Joakim Gebart
32c213d0b0
cpu/cortexm_common: Fix signedness warning
2015-07-14 08:11:14 +02:00
Joakim Gebart
84bf05a0bd
cpu/cc430: fix unused-but-set-variable
2015-07-14 08:11:14 +02:00
Oleg Hahm
91da19d500
Merge pull request #3381 from gebart/pr/kinetis-spi-unused-byte-in
...
cpu/kinetis_common/spi: Fix byte_in unused.
2015-07-14 01:17:56 +02:00
Joakim Gebart
53d81bd58d
cpu/x86: rename stack_t -> stack_info_t
...
Avoids collision with libc defined stack_t in #include <sys/signal.h>
2015-07-13 19:57:55 +02:00
Joakim Gebart
624c241ec6
cpu/kinetis_common/spi: Fix byte_in unused.
...
Bug reported by the clang static analyzer.
Description: Value stored to 'byte_in' is never read
File: .../riot/cpu/kinetis_common/spi.c
Line: 1261
2015-07-13 17:24:00 +02:00
Johann Fischer
cb8ff544d5
cpu/kinetis_common/i2c.c: add _i2c_reset function, minor fixes
2015-07-09 23:19:56 +02:00
Joakim Gebart
eef8f25a44
kinetis: i2c: Handle ARBL flag in master mode.
...
The ARBL flag signals that bus master arbitration has been lost.
This may occur if devices on the bus misbehave, or in a multi-master
situation, or if devices are not powered and pull the SDA line down, or
if the communication wires are disconnected while communicating.
2015-07-09 23:19:55 +02:00
Joakim Gebart
cba6a81a73
kinetis: i2c: only send STOP in _i2c_stop()
2015-07-09 23:19:55 +02:00
d15f0990b3
Merge pull request #3344 from kaspar030/fix_native_timer_possible_underflow
...
native: periph/timer: prevent underflow in timer_set_absolute
2015-07-09 22:17:44 +02:00
Benoît Canet
e01329796d
native: timer: synchronize HWTIMER_SPIN_BARRIER with timer min resolution
...
This keeps the test/hwtimer_wait test duration correct.
2015-07-09 20:42:21 +02:00
Peter Kietzmann
f95aaa6bf6
Merge pull request #3327 from authmillenon/native/enh/address-sanitizer
...
native: add address sanitizer make target
2015-07-09 16:07:00 +02:00
ec441e9aa6
native: periph/timer: prevent underflow in timer_set_absolute
2015-07-09 15:23:21 +02:00
Benoît Canet
e8e89d8ca9
native: timer: Do not cancel timer when setting it to 0
2015-07-09 15:08:47 +02:00
Martine Lenders
8a33a62914
native: add address sanitizer make target
2015-07-09 15:00:19 +02:00
Joakim Gebart
b949b5b539
Merge pull request #3335 from gebart/pr/kinetis-ldscript-cleanup
...
cpu/kinetis_common: refactor ldscripts
2015-07-09 12:59:02 +02:00
b2272fc016
Merge pull request #3282 from benoit-canet/timer
...
native: Resurect native/perif/timer and handle #715 (WIP)
2015-07-09 11:12:24 +02:00
Benoît Canet
dfbd4f946e
cpu: native: switch to hwtimer_compat
...
The hwtimer_wait test was tortured with the
following script which ran several hours.
----
make clean all-debug
while :
do
date
./bin/native/hwtimer_wait.elf > log &
pid=$!
sleep 20
success=$(cat log|grep success)
if [ "$success" != "success" ]
then
date
echo "BUG"
exit
fi
kill $pid
done
----
Closes #715 .
2015-07-09 02:43:04 +02:00
fe96d379f6
native: add periph/timer.h timer implementation
2015-07-09 02:43:04 +02:00
Benoît Canet
ced541cc67
native: irq_cpu: Rewrite IRQs (de)registration
2015-07-09 02:43:04 +02:00