Commit Graph

3532 Commits (6c2b2cea61968f6ca5eab9cdb0a2f70678faf94e)
 

Author SHA1 Message Date
Oleg Hahm 6c2b2cea61 Merge pull request #1415 from krf/cbor
cbor: CBOR implementation for RIOT-OS (SWP)
9 years ago
Oleg Hahm a48ec4d051 Merge pull request #1548 from Kijewski/print_size_tcb
"tests": print tcb_t size
9 years ago
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
9 years ago
René Kijewski 2b91605f58 Merge pull request #1535 from LudwigOrtmann/transceiver_volatile
sys/transceiver: make transceiver_pid volatile
9 years ago
Ludwig Ortmann 14e8abed05 Merge pull request #1525 from LudwigOrtmann/morning-cleanup
doc, boards/cpu: cleanup
9 years ago
René Kijewski c5ac8332de "tests": print tcb_t size
The "test" should aid #303.
9 years ago
Hauke Petersen d9b0927b57 Merge pull request #1547 from haukepetersen/fix_cortex_threadarch
cpu/cortex-mX_common: bugfix to arch_stack_init
9 years ago
René Kijewski a5fe9078c8 Merge pull request #1293 from Kijewski/issue-1287
core: only store the stack size for DEVELHELP (implementation)
9 years ago
Ludwig Ortmann 1df6505db9 boards/cpu: fix some warnings 9 years ago
Ludwig Ortmann c883c33d83 doc: fix flashrom doxygen 9 years ago
Ludwig Ortmann 3912e5e632 Merge pull request #1529 from LudwigOrtmann/cpuid_fixup
tests, native: fixup for cpuid
9 years ago
Hauke Petersen be46f2047a cpu/cortex-mX_common: bugfix to arch_stack_init
- fixed cortex-[m0|m3|m4]
9 years ago
Ludwig Ortmann 4c6ba818ed Merge pull request #1534 from LudwigOrtmann/queue-cleanup-two
core/queue: queue -> priority_queue && dynamic initializers
9 years ago
Ludwig Ortmann 347719f2c7 Merge pull request #1527 from LudwigOrtmann/cppcheck-tests
tests: fix cppcheck findings
9 years ago
Ludwig Ortmann 1efdf99dfe core/priority_queue: add dynamic initializers
- priority_queue_init
- priority_queue_node_init
9 years ago
Ludwig Ortmann c2b2e4554b core/queue: queue -> priority_queue
Rename queue to priority queue, because that's what it is.
9 years ago
Ludwig Ortmann d667c4964a tests: fix cppcheck findings
- bitarithm_timings: use more void, decrease range
- struct_tm_utility: add cppcheck-suppress invalidscanf
9 years ago
René Kijewski d0a94945df Merge pull request #1545 from LudwigOrtmann/spellingbee
doc: fix spelling in core/include
9 years ago
Ludwig Ortmann 2e190d21ed doc: fix spelling in core/include 9 years ago
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
9 years ago
Oleg Hahm 60fd4caf37 Merge pull request #1543 from LudwigOrtmann/pyterm-fixup
boards: fixup for pyterm renaming
9 years ago
Ludwig Ortmann 27b28e70bf boards: fixup for pyterm renaming 9 years ago
Oleg Hahm 1623b68ae3 Merge pull request #1311 from haukepetersen/add_driver_spi_if
drivers: Initial import of SPI low-level driver IF
9 years ago
Hauke Petersen cc12fa5a7e Merge pull request #1498 from fukuehl/nrf51822
cpu/board: added support for nrf51822
9 years ago
epiktet 5784a15cdd boards/pca10005: squash added Support for Nordic Dev Kit p2 9 years ago
epiktet c1993b1bf6 boards/pca10000: squash added support for Nordic Dev Kit p1 9 years ago
epiktet 1154bd5a50 cpu/nrf51822: squash added support for nrf51822 cpu 9 years ago
Ludwig Ortmann 8aea1c196e Merge pull request #1536 from krf/fix-astylerc
.astylerc: Respect max code line length of 100
9 years ago
Kevin Funk 7a6b69a778 .astylerc: Respect max code line length of 100 9 years ago
Ludwig Ortmann 47ca52cb8d SQUASHME: clean out extern kernel_pid_t transceiver_pid redefinitions 9 years ago
Ludwig Ortmann 232dd781ae sys/transceiver: make transceiver_pid volatile
- because it is
9 years ago
Ludwig Ortmann 153b577877 Merge pull request #1532 from cgundogan/remove_tabs_asm
cpu: removing tabs from asm files (#1439)
9 years ago
Cenk Gündoğan 5429035b1c cpu: removing tabs from asm files (#1439)
```find . -name "*.[sS]" -exec grep -l $'\t' {} \;``` and ```ack --asm -l "\t"```
revealed three more files with tabs.
9 years ago
René Kijewski f7bdc7e4fe core: thread_measure_stack_free() is only useful for DEVELHELP 9 years ago
René Kijewski 9e3830a72b core: only store the stack size for DEVELHELP
`tcp_t::stack_size` is only examined by the shell command `ps` and
`DEBUG_PRINT`. For the latter one only if `DEVELHELP` was enabled.

This PR guards the member `tcp_t::stack_size` in `#ifdef DEVELHELP`.
Only if DEVELHELP was activated its value get printed by `ps`.

Closes #1287.
9 years ago
Ludwig Ortmann 5886d83333 Merge pull request #1441 from LudwigOrtmann/scheduler_documentation
doc: add detailed scheduler documentation
9 years ago
Ludwig Ortmann c63eaab74a Merge pull request #1530 from LudwigOrtmann/examples-develhelp
examples: use DEVELHELP per default
9 years ago
Ludwig Ortmann c216d2870f doc: add detailed scheduler documentation 9 years ago
Ludwig Ortmann 106137ff64 examples: use DEVELHELP per default 9 years ago
Oleg Hahm 4e2640f9de Merge pull request #1375 from OlegHahm/radio_packet_length
Radio packet length
9 years ago
Ludwig Ortmann a3d883f610 Merge pull request #1374 from OlegHahm/harmonize_pid
core: harmonizes the data type for the process ID
9 years ago
Oleg Hahm 04e256e7cf Merge pull request #1437 from OlegHahm/pyterm_improvements2
Pyterm improvements
9 years ago
Oleg Hahm cb85a901f2 pyterm: renamed pyterm.py to pyterm 9 years ago
Oleg Hahm 6340123558 make: introduced TERMFLAGS
Also added the missing -p flag for the new pyterm version where
necessary.
9 years ago
Oleg Hahm af24a947f6 pyterm: make Guido happy 9 years ago
Oleg Hahm 73f6a0c518 pyterm: split connect and set_baudrate
Apparently, opening and setting the baudrate at the same time creates
problem for certain platforms (Arduino-Due).
9 years ago
Oleg Hahm af5291b7d7 pyterm: handle TCP connection errors 9 years ago
Oleg Hahm 8b9c54efae pyterm: make formatting string configurable 9 years ago
Oleg Hahm a0f43ba736 pyterm: outsource serial connect to a separate function 9 years ago
Oleg Hahm 8c84df391e pyterm: added license 9 years ago