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

3554 Commits

Author SHA1 Message Date
Oleg Hahm
93ef4346e9 ccnl: duplicate variable names
Some variables had multiple definitions, but could be removed or
declared with a smaller scope.
2014-08-07 16:31:27 +02:00
Oleg Hahm
0ad7b170ed make kernel_pid_t comparisons consistent 2014-08-07 16:31:27 +02:00
Oleg Hahm
aa2ecf6216 initialize kernel_pid_t correctly 2014-08-07 16:31:27 +02:00
Oleg Hahm
c2b0423918 core: renamed KERNEL_PID_NULL to KERNEL_PID_UNDEF
As @authmillenon pointed out the "null" in the old name is somewhat
misleading, since the actual value is -1.
2014-08-07 16:31:27 +02:00
Oleg Hahm
4b1a2f32eb net: fix kernel_pid_t checks
KERNEL_PID_NULL is a negative number. If kernel_pid_t variables are
initialized to this value, one have to check for lt/gte 0.
2014-08-07 16:31:27 +02:00
Oleg Hahm
0836cd0b18 core: moved definition of KERNEL_PID_NULL
kernel_pid_t is defined in kernel_types.h, thus it makes sense to move
the macro for an invalid kernel pid there, too.
2014-08-07 16:31:27 +02:00
Hauke Petersen
b6cf2fa37f Merge pull request #1467 from haukepetersen/add_stm32f4_pwm
cpu: added pwm driver for the stm32f4
2014-08-07 16:17:44 +02:00
Hauke Petersen
b0d3a55989 tests: added test for low-level PWM driver 2014-08-07 16:16:06 +02:00
Hauke Petersen
cc6ee1dc05 board/cpu: added pwm driver for stm32f4discovery 2014-08-07 16:15:39 +02:00
Hauke Petersen
60886c240f Merge pull request #1466 from haukepetersen/fix_periph_pwmif
drivers: improvements to the low-level pwm driver interface
2014-08-07 16:14:44 +02:00
Hauke Petersen
9a90eae1ba cpu: adjusted pwm driver impl for lpc2387 2014-08-07 16:14:09 +02:00
Hauke Petersen
3f4aa04260 drivers: updated low-level PWM driver interface 2014-08-07 14:47:24 +02:00
René Kijewski
4d5563acea Merge pull request #1546 from Kijewski/buildtest-retry
buildtest: retry failed builds once
2014-08-06 23:13:24 +02:00
Martine Lenders
a8e5fdb10b Merge pull request #1552 from Kijewski/fixup-1415
x86: disable `--gc-sections` for Travis' sake
2014-08-06 15:49:11 +02:00
Martine Lenders
2db55a8d61 Merge pull request #1551 from authmillenon/fix-periph-doc
driver_periph: minor documentation fix
2014-08-06 15:46:26 +02:00
René Kijewski
aed57f4fe6 x86: disable --gc-sections for Travis' sake
I could not reproduce the problem at home, but on Travis CI after
merging #1415 tests/unittest failed to execute for qemu-i386.

There is a crash early in the initialization, caused by a #PF. The
execution hangs afterwards (`cli; 0: hlt; jmp 1b`), and Travis kills
the execution after 10 minutes.
2014-08-06 15:23:11 +02:00
Martine Lenders
5053a521d9 driver_periph: minor documentation fix 2014-08-06 15:06:06 +02:00
Hauke Petersen
0a7a2c088d Merge pull request #1542 from haukepetersen/add_make_moretargets
make: added targets 'debug-server' and 'reset'
2014-08-05 22:54:00 +02:00
Oleg Hahm
bbdd93e9d3 make: msb-430 boards: added debug and debugserver targets 2014-08-05 22:52:51 +02:00
Hauke Petersen
9ced34a52d boards/stm32fXdiscovery: added debug-server target
added "make debug-server" target for
- stm32f0discovery
- stm32f3discovery
- stm32f4discovery
2014-08-05 22:52:51 +02:00
Hauke Petersen
34abdbe5f2 make: added targets 'debug-server' and 'reset'
- added targets to Makefile.include
- added DEBUGSERVER and RESET vars to Makefile.vars
- added output of those to Makefile.buildtests
2014-08-05 22:52:34 +02:00
Oleg Hahm
6c2b2cea61 Merge pull request #1415 from krf/cbor
cbor: CBOR implementation for RIOT-OS (SWP)
2014-08-05 21:32:31 +02:00
Oleg Hahm
a48ec4d051 Merge pull request #1548 from Kijewski/print_size_tcb
"tests": print tcb_t size
2014-08-05 21:27:39 +02:00
Kevin Funk
e8141ca5d8 cbor: CBOR implementation for RIOT-OS
This is a malloc-free implementation of the Concise Binary Object
Representation (CBOR) data format for the RIOT-OS.

This implementation mostly stand-alone, and it should be pretty easy to
port to other platforms. We're only using the C STL and some custom
network-related functionaliy which could be easily replaced by depending
on arpa/inet.h.

The CBOR API is straight-forward to use and provides encoding/decoding
functionality for all major C types, such as:
- int
- uint64_t
- int64_t
- float
- double
- char*
- struct tm
- time_t

It is possible to conditionally compile this module via CFLAGS:
- CBOR_NO_SEMANTIC_TAGGING: All semantic-tagging features removed
- CBOR_NO_CTIME: All ctime related features removed
- CBOR_NO_FLOAT: All floating-point related features removed
- CBOR_NO_PRINT: All features depending on printf removed
2014-08-05 19:49:51 +02:00
René Kijewski
2b91605f58 Merge pull request #1535 from LudwigOrtmann/transceiver_volatile
sys/transceiver: make transceiver_pid volatile
2014-08-05 19:39:43 +02:00
Ludwig Ortmann
14e8abed05 Merge pull request #1525 from LudwigOrtmann/morning-cleanup
doc, boards/cpu: cleanup
2014-08-05 19:28:24 +02:00
René Kijewski
c5ac8332de "tests": print tcb_t size
The "test" should aid #303.
2014-08-05 19:15:35 +02:00
Hauke Petersen
d9b0927b57 Merge pull request #1547 from haukepetersen/fix_cortex_threadarch
cpu/cortex-mX_common: bugfix to arch_stack_init
2014-08-05 18:59:17 +02:00
René Kijewski
a5fe9078c8 Merge pull request #1293 from Kijewski/issue-1287
core: only store the stack size for DEVELHELP (implementation)
2014-08-05 18:56:29 +02:00
Ludwig Ortmann
1df6505db9 boards/cpu: fix some warnings 2014-08-05 18:52:26 +02:00
Ludwig Ortmann
c883c33d83 doc: fix flashrom doxygen 2014-08-05 18:52:26 +02:00
Ludwig Ortmann
3912e5e632 Merge pull request #1529 from LudwigOrtmann/cpuid_fixup
tests, native: fixup for cpuid
2014-08-05 18:40:49 +02:00
Hauke Petersen
be46f2047a cpu/cortex-mX_common: bugfix to arch_stack_init
- fixed cortex-[m0|m3|m4]
2014-08-05 18:38:06 +02:00
Ludwig Ortmann
4c6ba818ed Merge pull request #1534 from LudwigOrtmann/queue-cleanup-two
core/queue: queue -> priority_queue && dynamic initializers
2014-08-05 18:33:54 +02:00
Ludwig Ortmann
347719f2c7 Merge pull request #1527 from LudwigOrtmann/cppcheck-tests
tests: fix cppcheck findings
2014-08-05 18:31:16 +02:00
Ludwig Ortmann
1efdf99dfe core/priority_queue: add dynamic initializers
- priority_queue_init
- priority_queue_node_init
2014-08-05 17:57:45 +02:00
Ludwig Ortmann
c2b2e4554b core/queue: queue -> priority_queue
Rename queue to priority queue, because that's what it is.
2014-08-05 17:57:45 +02:00
Ludwig Ortmann
d667c4964a tests: fix cppcheck findings
- bitarithm_timings: use more void, decrease range
- struct_tm_utility: add cppcheck-suppress invalidscanf
2014-08-05 17:54:19 +02:00
René Kijewski
9879e4aaa7 buildtest: retry failed builds once
On Travis CI often builds fail spuriously.

This PR lets `make buildtest` retry the build once.
2014-08-05 17:42:32 +02:00
René Kijewski
d0a94945df Merge pull request #1545 from LudwigOrtmann/spellingbee
doc: fix spelling in core/include
2014-08-05 17:19:28 +02:00
Ludwig Ortmann
2e190d21ed doc: fix spelling in core/include 2014-08-05 17:08:53 +02:00
Ludwig Ortmann
1c3f481702 tests, native: fixup for cpuid
- adopt test name to new scheme
- make cppcheck happy / dont overwrite the target memory location twice
- fix license header
- don't redefine define if it already exists
- don't write more cpuid than is defined as size
2014-08-05 16:55:42 +02:00
Oleg Hahm
60fd4caf37 Merge pull request #1543 from LudwigOrtmann/pyterm-fixup
boards: fixup for pyterm renaming
2014-08-05 13:32:24 +02:00
Ludwig Ortmann
27b28e70bf boards: fixup for pyterm renaming 2014-08-05 13:29:24 +02:00
Oleg Hahm
1623b68ae3 Merge pull request #1311 from haukepetersen/add_driver_spi_if
drivers: Initial import of SPI low-level driver IF
2014-08-04 15:34:36 +02:00
Hauke Petersen
cc12fa5a7e Merge pull request #1498 from fukuehl/nrf51822
cpu/board: added support for nrf51822
2014-08-04 14:06:38 +02:00
epiktet
5784a15cdd boards/pca10005: squash added Support for Nordic Dev Kit p2 2014-08-04 13:42:07 +02:00
epiktet
c1993b1bf6 boards/pca10000: squash added support for Nordic Dev Kit p1 2014-08-04 13:42:07 +02:00
epiktet
1154bd5a50 cpu/nrf51822: squash added support for nrf51822 cpu 2014-08-04 13:42:06 +02:00
Ludwig Ortmann
8aea1c196e Merge pull request #1536 from krf/fix-astylerc
.astylerc: Respect max code line length of 100
2014-08-04 11:08:56 +02:00