Martine Lenders
87c222d2fa
Merge pull request #3595 from authmillenon/gnrc/api/mv
...
gnrc: rename ng_netbase to gnrc
2015-08-18 16:59:34 +02:00
Martine Lenders
b969eeb217
gnrc: rename ng_netbase to gnrc
2015-08-18 16:11:55 +02:00
Hauke Petersen
3922b6c852
Merge pull request #3530 from kaspar030/update_msba2
...
cpu: lpc2387: provide periph/* implementations, update to use newlib module.
2015-08-17 21:45:16 +02:00
Antonio Lignan
b8823b7afe
Zolertia Re-Mote platform (cc2538 + cc1120) port
2015-08-17 14:17:32 +02:00
Joakim Gebart
ff05007a6e
boards/mulle: cleanup
...
Remove old syscalls implementation from before cortexm_common unification and sys/newlib introduction.
2015-08-14 20:09:44 +02:00
3b94a0d497
lpc2387/msba2/avsextrem: fix doxygen warnings
2015-08-14 16:50:41 +02:00
a03ff202cf
cpu: lpc2387: switch to newlib module
2015-08-14 16:50:41 +02:00
4dd63dd24e
cpu: lpc2387: add periph/spi support
2015-08-14 16:50:41 +02:00
bd76626fb5
cpu: lpc2387: add periph/uart driver
2015-08-14 16:50:41 +02:00
3c5f31eb95
cpu: lpc2387: add periph/gpio imlementation
2015-08-14 16:50:41 +02:00
223ef9fe66
cpu: lpc2387: drop gpioint
2015-08-14 16:50:41 +02:00
0541d21f86
Merge pull request #3620 from kaspar030/add_generic_spi_fallbacks
...
drivers: periph: add generic spi fallbacks
2015-08-14 16:47:48 +02:00
6b2b5eb5e4
cpu: stm32l1: use periph_common SPI functions
2015-08-14 14:46:35 +02:00
4b15cc635e
cpu: stm32f4: use periph_common SPI functions
2015-08-14 14:46:35 +02:00
fa00154f2a
cpu: stm32f3: use periph_common SPI functions
2015-08-14 14:46:35 +02:00
6c185655c8
cpu: stm32f1: use periph_common SPI functions
2015-08-14 14:46:35 +02:00
336c5300cd
cpu: stm32f0: use periph_common SPI functions
2015-08-14 14:46:35 +02:00
21c774fd82
cpu: saml21: use periph_common SPI functions
2015-08-14 14:46:35 +02:00
0a859b91ee
cpu: samd21: use periph_common SPI functions
2015-08-14 14:46:35 +02:00
626289b5c7
cpu: sam3: use periph_common SPI functions
2015-08-14 14:46:35 +02:00
Martine Lenders
664f51e149
doc: adapt documentation on tapsetup script
2015-08-14 12:05:34 +02:00
Martine Lenders
5760f9042d
native: unify and simplify usage of tapsetup script
2015-08-14 12:05:34 +02:00
Joakim Gebart
cf5db434e6
cpu/kinetis_common: periph/timer, read PIT value before stopping
...
Reading CVAL after stopping timer seem to return zero.
Ref. manual states: "The counter period can be restarted, by first
disabling, and then enabling the timer with TCTRLn[TEN]", but does not
state whether the reset of CVAL happens on TEN 0->1 transition, or 1->0
transtion. Empirical evidence suggests the latter is the implemented behaviour.
2015-08-13 21:06:50 +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
cef0857992
msp430: use assert instead of printf
2015-08-05 19:43:51 +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
Hauke Petersen
08c4732fba
cpu/native: adjusted stacksizes
...
The stacksizes for native were defined in a way, so that
DEBUG did not work inside of interrupt routines. The new
values should still be large enough but allow now for this.
2015-07-14 15:06:50 +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
Benoît Canet
4832a1a6b0
native: irq_cpu: Whitelist signals
2015-07-09 02:43:03 +02:00
Benoît Canet
a035d27414
native: irq_cpu: Make IRQ enabling/disabling safe
2015-07-09 02:43:01 +02:00
52599fde66
cpu: native: work around shared errno in _native_lpm_sleep
2015-07-09 00:31:31 +02:00
Joakim Gebart
ed81e35e4c
cpu/kinetis_common: refactor ldscripts
...
- Merged the two kinetis_common ldscripts into a single script.
- Updated cpus to use the new script
- Updated K60 to merge sram_l and sram_u into one segment
2015-07-08 19:20:00 +02:00
Joakim Gebart
ee4182b246
cpu/cortexm_common: Overwrite stack up until the current stack pointer only.
2015-07-07 18:04:30 +02:00
Joakim Gebart
63bde8906e
cpu/atmega_common/avr-libc-extra/inttypes.h: Correct format strings for 64 bit numbers
2015-07-07 00:53:26 +02:00
Peter Kietzmann
004a83c44d
Merge pull request #3028 from gebart/pr/cmsis-dsp
...
pkg/cmsis-dsp: Add CMSIS-DSP as a package
2015-07-04 09:39:22 +02:00
Lari Lehtomäki
85cf28451b
cpu/stm32f3: Split the RAM on STM32F334 into RAM and CCM RAM
2015-07-03 16:45:39 +03:00
Johann F
d614cbe066
cpu/k64f: initial import for the Freescale K64F Cortex-M4 MCU
2015-07-01 23:08:02 +02:00
bapclenet
10f3f715cb
Merge pull request #3205 from kaspar030/fix_samr21-xpro_clock_setup
...
cpu: samd21: fix synchronization loop in clk_init
2015-06-28 20:15:08 +02:00
Joakim Gebart
2f47ec6057
cortexm_common: Add CMSIS DSP defines
2015-06-25 08:00:59 +02:00
Joakim Gebart
fc4ab35140
Merge pull request #3116 from gebart/pr/lpc2387-extab
...
lpc2387: Add missing exception tables to linker script
2015-06-24 14:46:50 +02:00
Hauke Petersen
5a163b2e61
Merge pull request #3230 from benoit-canet/add_missing_addtogroup_brace
...
cpu/stm32f3: Add missing closing Doxygen braces for addtogroup
2015-06-23 09:56:23 +02:00
Peter Kietzmann
f62bc56648
Merge pull request #3215 from haukepetersen/fix_periphcpu_addenums
...
cpu: added dev_enums.h include to all periph_cpu.h
2015-06-22 08:44:26 +02:00
Benoît Canet
8c6c1114f3
cpu/stm32f3: Add missing closing Doxygen braces for addtogroup
...
The candidates locations for the closing braces were confirmed by looking at
cpu/stm32f0 headers.
The closing brace styles stick with the style of each file.
Closes #2956
2015-06-22 00:08:13 +02:00
Hauke Petersen
765c013834
Merge pull request #3155 from haukepetersen/opt_cortex_startup
...
cpu: centralized startup code for cortexm CPUs
2015-06-17 00:01:56 +02:00
Hauke Petersen
4ae5204b36
cpu: added dev_enums.h include to all periph_cpu.h
2015-06-16 22:41:16 +02:00
Peter Kietzmann
666ad5da5f
Merge pull request #3165 from katezilla/nucleo-f303
...
board/Nucleo-f303: initial support for the Nucleo-f303
2015-06-16 09:17:10 +02:00
Peter Kietzmann
938d12c2d8
Merge pull request #3204 from haukepetersen/fix_f3_gpio
...
cpu/stm32f3: fixed init_af in GPIO driver
2015-06-16 08:05:42 +02:00
1172597594
cpu: samd21: fix synchronization loop in clk_init
2015-06-15 21:33:13 +02:00
Hauke Petersen
7216f21122
cpu/stm32f4: fix init_af in GPIO driver
2015-06-15 20:41:49 +02:00
Hauke Petersen
ad0e9c26b6
cpu/stm32f3: fixed init_af in GPIO driver
2015-06-15 20:40:40 +02:00
Hauke Petersen
88130fcb54
cpu/kw2x: optimization of startup code
2015-06-15 16:00:51 +02:00
Hauke Petersen
253e7ce715
cpu/kinetis_common: optimization of startup code
2015-06-15 16:00:51 +02:00
Hauke Petersen
8db0a57a81
cpu/k60: optimization of startup code
2015-06-15 16:00:51 +02:00
Hauke Petersen
983e8abd74
cpu/lpc1768: optimized startup code
...
- make use of common cortexm isr vectors
- use common cortexm startup code
- renamed startup.c to vectors.c
2015-06-15 16:00:51 +02:00
Hauke Petersen
d7e27c67c3
cpu/stm32f4: optimization of startup code
...
- make use of common startup code
- make use of common exception handlers
- renamed startup.c to vectors.c
2015-06-15 16:00:51 +02:00
Hauke Petersen
bdb708a39e
cpu/stm32f3: optimization of startup code
...
- make use of common startup code
- make use of common exception handlers
- renamed startup.c to vectors.c
2015-06-15 16:00:51 +02:00
Hauke Petersen
5eb9b73cd6
cpu/stm32f1: optimization of startup code
...
- make use of common startup code
- make use of common exception handlers
- renamed startup.c to vectors.c
2015-06-15 16:00:51 +02:00
Hauke Petersen
38d38f6c79
cpu/stm32l1: optimization of startup code
...
- make use of common startup code
- make use of common exception handlers
- renamed startup.c to vectors.c
2015-06-15 16:00:51 +02:00
Hauke Petersen
f30b7bf13d
cpu/stm32f0: optimization of startup code
...
- make use of common startup code
- make use of common exception handlers
- renamed startup.c to vectors.c
2015-06-15 16:00:51 +02:00
Hauke Petersen
aa583f254d
cpu/saml21: optimization of startup code
...
- make use of common startup code
- make use of common exception handlers
- renamed startup.c to vectors.c
2015-06-15 16:00:51 +02:00
Hauke Petersen
e8dd6afa38
cpu/samd21: optimization of startup code
...
- make use of common startup code
- make use of common exception handlers
- renamed startup.c to vectors.c
2015-06-15 16:00:51 +02:00
Hauke Petersen
4ccbeeb6bf
cpu/sam3x8e: optimization of startup code
...
- make use of common startup code
- make use of common exception handlers
- renamed startup.c to vectors.c
2015-06-15 16:00:51 +02:00
Hauke Petersen
db1ee85d8b
cpu/nrf51822: optimization of startup code
...
- make use of common startup code
- make use of common exception handlers
- renamed startup.c to vectors.c
2015-06-15 16:00:51 +02:00
Hauke Petersen
37078856e7
cpu/cc2538: optimization of startup code
...
- make use of common startup code
- make use of common exception handlers
- renamed startup.c to vectors.c
2015-06-15 16:00:51 +02:00
Hauke Petersen
4b65a07adc
cpu/make.cortexm: s/startup.o/vectors.o/
2015-06-15 16:00:51 +02:00
Hauke Petersen
c286da8d7f
cpu/cortexm: unified startup code and isr handlers
2015-06-15 16:00:51 +02:00
Hauke Petersen
9476c03550
cpu/sam3: adjusted name of doxygen group
2015-06-15 14:29:46 +02:00
Hauke Petersen
2588a62d89
cpu/sam3: made headers for sam3e8x exclusive
2015-06-15 14:29:46 +02:00
Hauke Petersen
6764f7abcd
cpu/sam3: moved pwm driver into correct position
2015-06-15 14:29:46 +02:00
Hauke Petersen
a819fd6474
cpu/sam3: fixed to remove cppcheck warnings
...
- fixed gpio driver
- fixed uart driver
2015-06-15 14:29:46 +02:00
Hauke Petersen
88c32664a8
cpu: s/sam3x8e/sam3/
2015-06-15 14:29:46 +02:00
Hauke Petersen
71995e7cde
cpu/stm32f4: added custom GPIO_UNDEF define
2015-06-14 16:16:39 +02:00
Hauke Petersen
8c690f1d6a
cpu/stm32f3: added custom GPIO_UNDEF define
2015-06-14 16:16:28 +02:00
Hauke Petersen
ac8ad5419d
cpu/saml21: added custom GPIO_UNDEF define
2015-06-14 16:16:04 +02:00
Hauke Petersen
138a6a7d1b
cpu/samd21: added custom GPIO_UNDEF define
2015-06-14 16:15:53 +02:00
Hauke Petersen
c7f54c1189
cpu/nrf51822: added custom GPIO_UNDEF define
2015-06-14 16:15:19 +02:00
Hauke Petersen
d748d4ba4f
cpu/atmega2560: removed empty gpio.c file
2015-06-14 16:14:48 +02:00
Hauke Petersen
4d34100585
cpu/atmega2560: adapted to changed GPIO driver IF
2015-06-12 19:10:49 +02:00
Hauke Petersen
5abd2ffc0a
cpu/native: added periph_cpu.h
2015-06-12 19:10:49 +02:00
Hauke Petersen
480d3c68d8
cpu/stm32l1: adjusted to changed GPIO interface
2015-06-12 19:10:49 +02:00
Hauke Petersen
6284bbbbe4
cpu/stm32f1: adjusted to changed GPIO interface
2015-06-12 19:10:49 +02:00
Hauke Petersen
f9bb383118
cpu/stm32f0: adjusted to changed GPIO interface
2015-06-12 19:10:49 +02:00
Hauke Petersen
854730cfa4
cpu/sam3x8e: adjusted to changed GPIO interface
2015-06-12 19:10:49 +02:00
Hauke Petersen
17c8640708
cpu/lpc1768: added periph_cpu.h
2015-06-12 19:10:49 +02:00
Hauke Petersen
d7f659db71
cpu/kinetis_common: adjusted to changed GPIO if
2015-06-12 19:10:49 +02:00
Hauke Petersen
47e8472949
cpu/cc2538: adjusted to changed GPIO interface
2015-06-12 19:10:49 +02:00
Hauke Petersen
55db7008d8
cpu/nrf51822: remodeled GPIO driver implementation
2015-06-12 19:10:48 +02:00
Hauke Petersen
368f5fb64f
cpu/samd21: remodeled GPIO driver implementation
2015-06-12 19:10:48 +02:00
Hauke Petersen
aeecb09883
cpu/saml21: remodeld GPIO driver implementation
2015-06-12 19:10:48 +02:00
Hauke Petersen
3a2d89f88d
cpu/stm32f3: remodeled GPIO driver implementation
2015-06-12 19:10:48 +02:00
Hauke Petersen
69d16af81c
cpu/stm32f4: remodeled GPIO implementation
2015-06-12 19:10:48 +02:00
Katja Kirstein
4abb2bbfc6
Nucleo-f303 initial commit
2015-06-12 18:45:25 +02:00
Peter Kietzmann
98312452ce
Merge pull request #3170 from A-Paul/sam3x8e-periph-pwm
...
cpu/sam3x8e: Add pwm implementation
2015-06-12 16:09:08 +02:00
Andreas "Paul" Pauli
ba66a3d63f
cpu/sam3x8e: add pwm peripheral driver
2015-06-12 11:15:23 +02:00
ce8b47b75c
cpu: cortexm_common: set default value for CPU_MODEL
2015-06-11 20:41:21 +02:00
haukepetersen
e32b6c9504
cpu/native: improved error msg for netivenet
2015-06-11 15:40:40 +02:00
daniel-k
9703d324f6
samd21/rtt: fix bug in rtt_set_alarm that caused interrupt immediately after calling
2015-06-08 15:37:22 +02:00
Hauke Petersen
d9deb569b2
cpu/samd21: added peripheral PWM driver
2015-06-05 11:19:48 +02:00
bapclenet
217815c48d
Merge pull request #3034 from haukepetersen/opt_samr21
...
cpu/samd21: added cpu clock configuration code
2015-06-05 09:35:58 +02:00
Joakim Gebart
65f088a246
kinetis: hwtimer refactor/rewrite
...
- Use hwtimer_set for hwtimer_set_absolute()
- Collect hwtimer statistics with #if ENABLE_STATS
- Assembler optimized functions for CNR handling
- Correct off-by-1 after counter reset
- Defer CMR update from hwtimer_unset until ISR fires
2015-06-04 14:25:29 +02:00
Hauke Petersen
164721657d
cpu/samd21: added cpu clock configuration
...
- choosable between PLL and internal 8MHz osciallator
- configurable to a wide range of frequencies
2015-06-04 11:58:26 +02:00
Joakim Gebart
7a9f6f9796
Merge pull request #3140 from gebart/pr/kinetis-hwtimer-isr-off-by-1
...
kinetis: hwtimer fix off-by-1 in LPTMR ISR
2015-06-02 19:23:10 +02:00
Hauke Petersen
401adb8b58
Merge pull request #3018 from kaspar030/saml21_add_rtt
...
saml21: add periph rtt support
2015-06-02 16:21:23 +02:00
369a47aa35
Merge pull request #3099 from jfischer-phytec-iot/pr@kinetis-use-common-makefile
...
kinetis: adaption for common makefiles
2015-06-02 14:07:55 +02:00
Joakim Gebart
06c41108c7
kinetis: hwtimer fix off-by-1 in LPTMR ISR
2015-06-02 11:21:49 +02:00
Joakim Gebart
6e12503937
mulle: remove device map
2015-05-31 18:31:17 +02:00
Johann F
14542765a5
cpu/k60: use cortex common makefile and newlib module
2015-05-31 18:25:57 +02:00
Johann Fischer
002ba9b334
cpu/kw2x: use cortex common makefile and newlib module
2015-05-31 18:24:15 +02:00
Johann Fischer
072d0a80c7
cpu/kinetis_common/ldscripts: adapt for newlib module
2015-05-31 18:24:05 +02:00
Johann Fischer
7bc468a54e
Makefile.include.cortex_common: enhancement for kinetis_common
...
Add a exception for common startup
2015-05-31 18:24:05 +02:00
Joakim Gebart
fc92ec98bf
cortexm: CMSIS: Add extern "C" to CMSIS headers
2015-05-31 17:27:24 +02:00
Joakim Gebart
1cfb11bcde
cortexm: CMSIS: Suppress cppcheck error about uninitialized result
...
False positive, the variable result is assigned from within inline assembly
2015-05-31 17:27:24 +02:00
Joakim Gebart
9511027946
cortexm: CMSIS: Replace tabs by spaces
2015-05-31 17:27:24 +02:00
Joakim Gebart
5bfed6c3f7
cortexm: Update CMSIS to v4.3
...
found at www.arm.com/cmsis
2015-05-31 17:27:23 +02:00
Peter Kietzmann
6dc0e789e1
Merge pull request #3101 from gebart/pr/warning-fixes
...
Various warning fixes
2015-05-31 17:03:49 +02:00
Hauke Petersen
19ef9dbe4e
cpu/cortexm: raised ISR stack size to safer value
...
256 Byte were not enough for some boards (not sure why, yet).
So go back to 512 byte as a save (and known working value).
2015-05-31 12:00:17 +02:00
Joakim Gebart
79ca190666
lpc2387: Add missing exception tables to linker script
...
Copied from kinetis_common
2015-05-31 09:55:49 +02:00
Hauke Petersen
744ec88a74
cpu: use cortexm common linkerscript
2015-05-30 13:43:19 +02:00
Hauke Petersen
8752894cc9
cpu/cortexm: added base linkerscript
2015-05-30 13:43:19 +02:00
Joakim Gebart
c09a8484e2
cortexm: Move ldscripts into separate directory
...
Less clutter inside the cpu/* directories by placing linker scripts
under cpu/*/ldscripts/CPUNAME.ld
2015-05-30 12:20:07 +02:00
Joakim Gebart
68ee0f7c77
Merge pull request #3112 from haukepetersen/fix_cortex_fpu
...
cpu/cortexm: disabled hard floats for M4F CPUs
2015-05-30 09:30:39 +02:00
Joakim Gebart
41e1b57624
Merge pull request #3100 from haukepetersen/opt_cortexm_init
...
cpu: centralized cortex initialization and some defines
2015-05-30 09:21:46 +02:00
9ecaea4038
Merge pull request #2848 from haukepetersen/fix_samr21_optimization
...
cpu/samd21: remove -O0 override
2015-05-29 16:49:55 +02:00
Hauke Petersen
f48ea33805
cpu/stm32l1: adapted to centralized cpu conf
2015-05-29 16:44:52 +02:00
Hauke Petersen
0e61ec097c
cpu/stm32f1: adapted to centralized cpu conf
2015-05-29 16:44:52 +02:00
Hauke Petersen
79d9391d3b
cpu/stm32f4: adapted to centralized cpu conf
2015-05-29 16:44:52 +02:00
Hauke Petersen
c6d65fec8b
cpu/stm32f3: adapted to centralized cpu conf
2015-05-29 16:44:52 +02:00
Hauke Petersen
cb476daff0
cpu/stm32f0: adapted to centralized cpu conf
2015-05-29 16:44:52 +02:00
Hauke Petersen
dfb717c308
cpu/samd21: adapted to centralized cpu conf
2015-05-29 16:44:52 +02:00
Hauke Petersen
3c48722e0f
cpu/saml21: adapted to centralized cpu conf
2015-05-29 16:44:52 +02:00
Hauke Petersen
4d3b147122
cpu/sam3x8e: adapted to centralized cpu conf
2015-05-29 16:42:05 +02:00
Hauke Petersen
a97cdaaf8d
cpu/nrf51822: adapted to centralized cpu conf
2015-05-29 16:42:05 +02:00
Hauke Petersen
aa728e0506
cpu/lpc1768: adapted to centralized cpu conf
2015-05-29 16:42:05 +02:00
Hauke Petersen
6102896f7a
cpu/kw2x: adapted to centralized cpu conf
2015-05-29 16:42:05 +02:00
Hauke Petersen
de31e1f9e8
cpu/kinetis_common: fixes to fault_handlers
2015-05-29 16:42:05 +02:00
Hauke Petersen
d4d34a782e
cpu/k60: adapted to centralized cpu conf
2015-05-29 16:42:05 +02:00
Hauke Petersen
52e51bfea1
cpu/cc2538: adapted to centralized cpu conf
2015-05-29 16:42:05 +02:00
Hauke Petersen
78d65a4dec
cpu/cortexm_common: centralized init and defines
...
- added a centralized core implementation for all cortex CPUs
- moved default stack size defines to cpu.h in cortexm_common
- moved uart0 bufsize define to cpu.h in cortexm_common
- moved typed of panic_t to cpu.h in cortexm_common
2015-05-29 16:42:05 +02:00
Joakim Gebart
ea597a3bf3
stm32f4: random fix sign-compare
2015-05-29 14:23:02 +02:00
Joakim Gebart
18ea5561f8
stm32f4: spi_transfer_bytes fix sign-compare, reduce scope
2015-05-29 14:23:02 +02:00
Joakim Gebart
13bdc21c9e
stm32f4: i2c_init_slave fix unused-parameter
2015-05-29 14:23:01 +02:00
Joakim Gebart
12cfb8deef
k60: fix unused-parameter warnings
2015-05-29 14:23:01 +02:00
Joakim Gebart
697b85c182
kinetis: fix SPI double initialization warnings
2015-05-29 14:23:01 +02:00
Joakim Gebart
ec3679fd13
kinetis: spi_init_slave add missing callback assignment
2015-05-29 14:23:01 +02:00
Joakim Gebart
d4c1436de9
kinetis: fix warnings
...
- find_closest_x: sign-compare
- hwtimer_arch: unused-parameter
- i2c_init_slave: unused-parameter
- rnga: sign-compare
- rngb: sign-compare
- spi_transfer_bytes: sign-compare
- spi_transfer_regs: sign-compare
- timer: unused-parameter
2015-05-29 14:21:52 +02:00
Joakim Gebart
8a34b15964
cortexm_common: Conditionally define __set_FPSCR
...
It is an error to call __set_FPSCR if no FPU is present in the CPU.
2015-05-29 14:16:35 +02:00
Hauke Petersen
f3a7515d34
cpu/cortexm: disabled hard floats for M4F CPUs
2015-05-29 13:56:41 +02:00
Hauke Petersen
bca23c410b
cpu/saml21: use core_panic in startup.c
2015-05-29 12:55:13 +02:00
Hauke Petersen
93fe62f975
cpu/saml21: removed non-existent exception handlers
2015-05-29 12:55:13 +02:00
Hauke Petersen
c91a0983c0
cpu/saml21: fixed some formatting in startup.c
2015-05-29 12:52:30 +02:00
Hauke Petersen
32410bbfe5
cpu/samd21: set optimization level to -Os
2015-05-29 12:15:40 +02:00
haukepetersen
36a99a0c70
cpu/msp430-common: removed e|dINT calls
2015-05-29 12:07:57 +02:00
haukepetersen
38f4fc7027
cpu/samd21: moved -O0 from board to cpu
2015-05-28 19:30:07 +02:00
haukepetersen
0d5c8546f3
cpu: adapted Makefiles to unified cortexm module
2015-05-28 19:30:07 +02:00
Hauke Petersen
b8dd144e03
cpu: unified cortexm_common folder
...
- removed coretx-m[0|3|4]
- moved their content to cortexm_common
- adjusted cortex Makefiles to this new name
- adjusted cortex Makefiles new structure
2015-05-28 19:30:07 +02:00
Hauke Petersen
a5e4b02ed8
cpu: fixed doxygen for multiple headers
2015-05-28 15:45:05 +02:00
Hauke Petersen
9943f51080
global: renamed cpu-conf.h into cpu_conf.h
2015-05-28 15:45:05 +02:00
Peter Kietzmann
6e8096c4ea
Merge pull request #3079 from haukepetersen/opt_stm_hwtimercompat
...
cpu: use hwtimer_compat module for STM CPUs
2015-05-28 14:55:22 +02:00
Peter Kietzmann
8e5541757d
Merge pull request #2911 from neumodisch/driver_i2c_stm32f3
...
boards: Implemented i2c functionality for the stm32f3discovery board
2015-05-27 15:12:11 +02:00
Johann Fischer
d1566254d9
Merge pull request #2982 from gebart/pr/openocd-verify-watchdog
...
kinetis_common: Disable watchdog between flashing and verifying image
2015-05-27 14:45:09 +02:00
Oleg Hahm
e857ca7f51
Merge pull request #2933 from gebart/pr/atomic-set-return-deprecated
...
core: remove atomic_set_return
2015-05-27 12:33:39 +02:00
Jan Pohlmann
50b8a96322
cpu/stm32f3: Initial import of the i2c driver.
2015-05-27 11:37:15 +02:00
Johann Fischer
c56afd9575
kinetis: Add check-fcfield-elf.sh
...
Checks an ELF file for a correctly set flash configuration field.
2015-05-27 10:30:33 +02:00
Joakim Gebart
5afd93f29e
kinetis: Add check-fcfield-hex.sh
...
Checks a .hex file for a correctly set flash configuration field.
2015-05-27 10:30:33 +02:00
Joakim Gebart
a745de3ef5
kinetis: Add watchdog disable code snippet
2015-05-27 10:30:21 +02:00
Hauke Petersen
b56ed06a5e
cpu/stm32l1: make use of hwtimer_compat module
2015-05-27 10:02:37 +02:00
Hauke Petersen
669544daaa
cpu/stm32f4: make use of hwtimer_compat module
2015-05-27 10:02:37 +02:00
Hauke Petersen
5112eb874c
cpu/stm32f3: make use of hwtimer_compat module
2015-05-27 10:02:36 +02:00
Hauke Petersen
c51ba47c87
cpu/stm32f1: make use of hwtimer_compat module
2015-05-27 10:02:36 +02:00
Hauke Petersen
f6d4efae13
cpu/stm32f0: make use of hwtimer_compat module
2015-05-27 10:02:30 +02:00
e2aa1051bc
Merge pull request #3076 from haukepetersen/opt_saml21_makefiles
...
board/cpu saml21: cleaned Makefiles and unused files
2015-05-26 22:21:06 +02:00
haukepetersen
286a8f2aad
cpu/saml21: removed not needed files
...
- removed hwtimer_arch.c
- removed syscalls.c
2015-05-26 21:39:03 +02:00
4872e7c1ab
saml21: add RTT support
2015-05-26 21:31:45 +02:00
haukepetersen
c9b371bb7f
cpu/saml21: simplified Makefiles
...
- made use common Makefiles
- changed name of linkerscript
2015-05-26 21:31:42 +02:00
Joakim Gebart
8b6308d89b
x86: Remove atomic_set_return
2015-05-26 21:28:31 +02:00
Joakim Gebart
dc6ab7a3a0
arm7: Remove atomic.s
2015-05-26 21:28:31 +02:00
acd9c14ddb
Merge pull request #2776 from kaspar030/add_dev_eth_netdev2
...
sys: net: add netdev device driver using dev_eth low-level ethernet driver API
2015-05-26 21:24:56 +02:00
Hauke Petersen
42f38122c5
Merge pull request #2849 from kaspar030/saml21
...
cpu: saml21 initial commit
2015-05-26 21:13:55 +02:00
1c91baed8b
sys: net: add ng_netdev_eth netdev driver for dev_eth based ethernet devices
2015-05-26 21:05:19 +02:00
bd479a5564
cpu: saml21: adapt to new THREAD_ stacksize defines
2015-05-26 20:58:51 +02:00
cfd9a5905a
Merge pull request #2766 from kaspar030/add_dev_eth
...
sys: net: introduce low-level ethernet driver API
2015-05-26 19:28:14 +02:00
Hauke Petersen
138ac603de
Merge pull request #3033 from haukepetersen/fix_samd21_spi
...
cpu/samd21: fixed broken spi_transfer_byte function
2015-05-26 15:39:55 +02:00
Hauke Petersen
569f28f6d9
Merge pull request #2711 from haukepetersen/ng_nrf51prop
...
cpu/nrf51822: added minimal radio driver implementation
2015-05-26 15:39:34 +02:00
fbfb0954eb
cpu: native: add tap implementation of dev_eth (ng_nativenet)
2015-05-26 15:37:55 +02:00
Peter Kietzmann
68dd9a3996
Merge pull request #2865 from kaspar030/fix_samd21_gpio_compile_issue
...
cpu: samd21: fix gpio irq handling compile handling
2015-05-26 14:08:45 +02:00
302699eb02
make: move cpu specific CFLAGS into cpu makefile
2015-05-26 10:46:34 +02:00
107be4122c
board: samr21-xpro: adapt to common board Makefile
2015-05-26 10:46:34 +02:00
9dc0554d98
cpu: samd21: use cortex common makefile and newlib module
2015-05-26 10:46:33 +02:00
b6a92bc8f3
cpu: stm32l1: use cortex common makefile and newlib module
2015-05-26 10:46:29 +02:00
8a8d547711
cpu: stm32f4: use cortex common makefile and newlib module
2015-05-26 10:46:24 +02:00
2d680776ba
cpu: stm32f3: use cortex common makefile and newlib module
2015-05-26 10:46:24 +02:00
8ef7c5eaac
cpu: stm32f1: use cortex common makefile and newlib module
2015-05-26 10:46:24 +02:00
45d588c167
cpu: stm32f0: use cortex common makefile and newlib module
2015-05-26 10:46:19 +02:00
cad9cb42f6
cpu: sam3x8e: use cortex common makefile and newlib module
2015-05-26 10:46:19 +02:00
c0bdebd164
cpu: nrf51822: use cortex common makefile and newlib module
2015-05-26 10:46:11 +02:00
484c3e3697
cpu: lpc1768: use cortex common makefile and newlib module
2015-05-26 10:46:03 +02:00
6e6e1eb2b3
cpu: cc2538: use cortex common makefile and newlib module
2015-05-26 10:46:03 +02:00
b89a58fdb5
cpu: add common cortex Makefile.include
2015-05-26 10:45:40 +02:00
aff25936d1
cpu: samd21: fix gpio irq handling compile handling
2015-05-26 10:23:43 +02:00
Martine Lenders
b11eb90042
Merge pull request #3005 from authmillenon/od/fix/PRI.64
...
od: add PRI.64 for unsupported boards
2015-05-23 10:05:59 +02:00
Oleg Hahm
7be7e00ab9
Merge pull request #3042 from gebart/pr/doxygen-@file-remove-filename
...
everything: Remove filename from @file Doxygen command
2015-05-22 17:10:04 +02:00
Hauke Petersen
bac6b7fa97
Merge pull request #2954 from d00616/cpu_nrf51_lpm
...
cpu/nrf51822/lpm_arch: add __WFI
2015-05-22 13:45:44 +02:00
Martine Lenders
6d13c899c5
od: add PRI.64 for unsupported boards
2015-05-22 11:54:23 +02:00
af63254f4e
cpu: saml21 initial commit
...
basic port, uart, one timer, gpio, spi working.
2015-05-22 11:47:51 +02:00
Johann Fischer
31c0ea7358
Merge pull request #2994 from gebart/pr/kinetis-pwm-refactor
...
kinetis: Refactor PWM periph
2015-05-22 09:51:47 +02:00
Joakim Gebart
13832d8e62
everything: Remove filename from @file Doxygen command
2015-05-22 07:34:41 +02:00
Oleg Hahm
d0790ad034
Merge pull request #2993 from gebart/pr/kinetis-bitband-reg
...
kinetis: remove ambiguous BITBAND_REG macro
2015-05-21 19:18:33 +02:00
Lucas Jenß
742c39e838
Merge pull request #2881 from x3ro/clarify-stacksize-constants
...
Clarify and unify naming of thread-related constants (stacksize and priority)
2015-05-21 16:55:30 +02:00
Joakim Gebart
af3263b0a2
k60: Use BITBAND_REG32
...
- Use BITBAND_REG32 instead of BITBAND_REG for improved code readability.
- Remove BITBAND_PERIPH* from cpu-conf.h
- Remove BITBAND_REG from MK60D10.h, MK60DZ10.h
2015-05-21 11:00:50 +02:00
Joakim Gebart
e82ba82dc3
kinetis: Use BITBAND_REG32 instead of BITBAND_REG in random_rngb.c
2015-05-21 11:00:49 +02:00
Joakim Gebart
82d1432e07
k60: Add BITBAND_REG8,16,32 macros to MK60DZ10.h
...
For specifying the register access width. Copied from MK60D10.h.
2015-05-21 11:00:49 +02:00
Lucas Jenss
426170b064
Improve naming of thread stacksize/priority constants
...
As discussed in #2725 , this commit renames a number of stacksize constants to
better convey their intended usage. In addition, constants for thread priority
are given a `THREAD_` prefix. Changes are:
* KERNEL_CONF_STACKSIZE_PRINTF renamed to THREAD_EXTRA_STACKSIZE_PRINTF
* KERNEL_CONF_STACKSIZE_DEFAULT renamed to THREAD_STACKSIZE_DEFAULT
* KERNEL_CONF_STACKSIZE_IDLE renamed to THREAD_STACKSIZE_IDLE
* KERNEL_CONF_STACKSIZE_MAIN renamed to THREAD_STACKSIZE_MAIN
* Move thread stacksizes from kernel.h to thread.h, since the prefix changed
* PRIORITY_MIN renamed to THREAD_PRIORITY_MIN
* PRIORITY_IDLE renamed to THREAD_PRIORITY_IDLE
* PRIORITY_MAIN renamed to THREAD_PRIORITY_MAIN
* Move thread priorities from kernel.h to thread.h since the prefix has changed
* MINIMUM_STACK_SIZE renamed to THREAD_STACKSIZE_MINIMUM for consistency
2015-05-21 00:14:23 +02:00
Frank Holtz
ece408a96c
cpu/nrf51822/lpm_arch: add power modes
2015-05-20 20:30:12 +02:00
Oleg Hahm
8cb0e59283
Merge pull request #3030 from gebart/pr/tab-fixes2
...
Tab indentation fixes
2015-05-20 18:27:28 +02:00
Joakim Gebart
c85cc83a5a
kinetis: Refactor PWM periph implementation
...
- Set the proper prescaler value depending on requested frequency
- Return the actual achieved frequency in pwm_init
- Handle 1-8 channels depending on periph_conf.h instead of 4 fixed
- Perform function argument verification before touching the hardware
- Turn on PORT clock gate before touching PORT registers
- Eliminate some magic numbers
2015-05-20 06:16:42 +02:00
Hauke Petersen
f0d9574de1
cpu/samd21: fixed broken spi_transfer_byte function
2015-05-19 18:05:36 +02:00
Peter Kietzmann
b393e530da
Merge pull request #3024 from haukepetersen/fix_stm32f1_uart
...
cpu/stm32f1: fixed uart_init()
2015-05-19 14:43:03 +02:00
Joakim Gebart
ae5098bb9b
cpu/stm32f0/include/stm32f091xc.h: Replace tabs by spaces
2015-05-19 12:25:46 +02:00
Hauke Petersen
9878f78050
cpu/nrf51822: added minimal radio driver
...
This driver aims to behave like 802.15.4 devices do, supporting
short addressing, PAN ID and address broadcasts.
2015-05-19 10:02:57 +02:00
BytesGalore
369e7bbf43
Merge pull request #2540 from josephnoir/topic/cpp-stl-compatibility
...
Add replacement headers for std thread, mutex and condition_variable
2015-05-19 07:56:54 +02:00
haukepetersen
84be07f2ab
cpu/stm32f1: fixed uart_init()
...
- added linebreak to funtion declaration
- fixed saving of callback argument
2015-05-18 21:12:23 +02:00
Peter Kietzmann
b3e78ddc33
Merge pull request #3016 from gebart/pr/tab-indentation
...
Inconsistent indentation in some files
2015-05-18 15:45:15 +02:00
df7deccd25
Merge pull request #2976 from gebart/pr/cortex-m-initial-stack-alignment
...
cortex-m: initial stack alignment to 64bit
2015-05-18 15:01:30 +02:00
Joseph Noir
bddaee751d
Add replacement headers for thread, mutex and cond
...
These headers do not provide full stl functionality,
but a small subset:
* thread and this_thread
* condition_variable (some timed functions are missing)
* mutex, lock_guard and unique_lock
2015-05-18 13:57:02 +02:00
Martine Lenders
e53cdbb1b5
Merge pull request #3015 from gebart/pr/cppcheck-warnings
...
cppcheck drive-by fixes
2015-05-18 11:51:22 +02:00
Hauke Petersen
9e92ad5e89
Merge pull request #2948 from d00616/cpu_nrf51_poweropt_random
...
cpu/nrf51822/periph/random Power optimization
2015-05-18 10:41:44 +02:00
Joakim Gebart
273481455b
stm32l1: Replace tabs by spaces
2015-05-18 07:10:52 +02:00
Joakim Gebart
6000b29440
stm32f4: Replace tabs by spaces
2015-05-18 07:10:52 +02:00
Joakim Gebart
d0709d914e
stm32f1: Replace tabs by spaces
2015-05-18 07:10:52 +02:00
Joakim Gebart
04c445c17e
mc1322x: Replace tabs by spaces
2015-05-18 07:10:52 +02:00
Joakim Gebart
a595ab00af
lpc2387: Replace tabs by spaces
2015-05-18 07:10:52 +02:00
Joakim Gebart
dbb4ff1744
kw2x: Replace tabs by spaces
2015-05-18 07:10:52 +02:00
Joakim Gebart
0f23a9a599
cortex-m4: Replace tabs by spaces
2015-05-18 07:10:52 +02:00
Joakim Gebart
a0e6cc7504
cortex-m3: Replace tabs by spaces
2015-05-18 07:10:52 +02:00
Joakim Gebart
b39b4fc6d1
cortex-m0: Replace tabs by spaces
2015-05-18 07:10:52 +02:00
Joakim Gebart
01c5120039
cortex-m: Suppress cppcheck error about uninitialized result
...
False positive, the variable result is assigned from within inline assembly
2015-05-18 06:29:35 +02:00
Frank Holtz
85248ddec8
cpu: nrf51822/periph/random Power optimization
2015-05-16 10:39:30 +02:00
Joakim Gebart
43b9150460
stm32f4: pwm_init: return actual frequency
2015-05-16 10:17:02 +02:00
Joakim Gebart
018b6a73d4
stm32f3: pwm_init: return actual frequency
2015-05-16 10:17:02 +02:00
Joakim Gebart
8619bdec63
lpc2387: pwm_init: return actual frequency
2015-05-16 10:17:02 +02:00
Johann F
1d60d9870d
add support for Freescale MKW2x family devices
2015-05-15 08:05:43 +02:00
Joakim Gebart
76a49bc3d2
cortex-m3: Align initial stack pointer to 64 bits
...
AAPCS requires stack pointers to be aligned on a double word boundary.
In addition, Clang-3.6 assumes the stack pointer is always aligned to
a 8 byte boundary upon function entry, at least in armv7-m, causing
hard-to-find errors in the compiled code.
This is the same implementation as for the Cortex-M4
2015-05-13 09:17:07 +02:00
Joakim Gebart
eddd3177a5
cortex-m4: Align initial stack pointer to 64 bits
...
AAPCS requires stack pointers to be aligned on a double word boundary.
In addition, Clang-3.6 assumes the stack pointer is always aligned to
a 8 byte boundary upon function entry, at least in armv7-m, causing
hard-to-find errors in the compiled code.
2015-05-13 09:15:56 +02:00
Oleg Hahm
5079446beb
Merge pull request #2937 from gebart/pr/kinetis-unsuppress-cppcheck
...
kinetis: unsuppress variable scope warnings in rnga.c
2015-05-12 23:24:09 +02:00
bapclenet
3f2afcd596
Merge pull request #2918 from daniel-k/samd21_rtt
...
cpu/samd21: Add RTT driver
2015-05-11 10:31:13 +02:00
Oleg Hahm
68ab3aa046
Merge pull request #2958 from mryndzionek/ret_status_fix
...
Propagate the return status
2015-05-10 21:54:53 +02:00
Oleg Hahm
69f07c601f
Merge pull request #2949 from OlegHahm/crash_panic_foobar
...
core: panic unification
2015-05-10 21:54:43 +02:00
daniel-k
a31848ceb8
cpu/samd21: implement peripheral real time timer (periph/rtt)
2015-05-10 21:09:31 +02:00
mryndzionek
37f03c6f52
lpc1768: propagate the timer setting result up
2015-05-10 15:44:19 +02:00
Oleg Hahm
cb1f047f59
core: unified core_panic implementation
2015-05-10 11:58:43 +02:00
Oleg Hahm
828839316b
core: renamed crash.h to panic.h
2015-05-09 18:44:10 +02:00
Joakim Gebart
cc27846ac3
cpu/stm32f4/include/stm32f415xx.h: Trailing whitespace
2015-05-09 09:17:27 +02:00
Joakim Gebart
12554b1537
cpu/stm32f3/include/stm32f334x8.h: Unix line endings
2015-05-09 09:16:56 +02:00
Joakim Gebart
03745f7884
cpu/nrf51822: Unix line endings
2015-05-09 09:13:26 +02:00