Commit Graph

3022 Commits (256a2074f01f508d6dbb7b36e6a75e8406fb30ba)
 

Author SHA1 Message Date
Oleg Hahm 256a2074f0 Replaced old release notes with the current ones 9 years ago
Thomas Eichinger cc83220f48 Merge pull request #1217 from thomaseichinger/YALF
boards: cpu: cleanup licenses to fix #392
9 years ago
Thomas Eichinger c70ae14ff0 cleanup licenses to fix #392 9 years ago
Kévin Roussel 7ab53506c6 Merge pull request #1239 from rousselk/radio-API-again
Add a missing constant in 'radio_tx_status_t' enum
9 years ago
Kévin Roussel 5eb83c7c18 Add a missing constant in 'radio_tx_status_t' enum 9 years ago
Martine Lenders fb4619ebc6 Merge pull request #1163 from authmillenon/fix-whitespaces
Fix trailing whitespaces
9 years ago
Martin Lenders 2362623490 Fix trailing whitespaces
Fixes #1138
9 years ago
Martine Lenders 62139bd0d2 Merge pull request #1207 from Kijewski/unittests-makefile.include
unittests: support Makefile.include in test suites
9 years ago
Christian Mehlis ad46060929 Merge pull request #1227 from emmanuelsearch/CCN-documentation
CCN documentation
9 years ago
emmanuelsearch a37e86db0a Documentation: Create README.md for the CCN-lite client and relay 9 years ago
Thomas Eichinger 44612df6d1 Merge pull request #1224 from thomaseichinger/pro-to-app
make: s/PROJECT/APPLICATION/g
9 years ago
Thomas Eichinger 1e983c9670 s/PROJECT/APPLICATION/g
fixes #548
9 years ago
Oleg Hahm e2ff26efd9 Merge pull request #764 from Kijewski/implement-x86
Initial x86 port: "qemu-i386"
9 years ago
René Kijewski 4e4f908379 Initial import of the x86 port
Currently this works only in qemu.
9 years ago
René Kijewski 2b95e7b144 Merge pull request #1230 from Kijewski/fix-clean
make: fix clean together with TLSF
9 years ago
Martine Lenders 1bee1e1184 Merge pull request #1229 from OlegHahm/description_unification
Unification of descriptive text of similar modules
9 years ago
René Kijewski 054f9fd026 make: fix clean together with TLSF 9 years ago
Oleg Hahm 484f817ea6 Merge pull request #1152 from Kijewski/vtimer-test-warnings
vtimer: fix usage in test application
9 years ago
Oleg Hahm c8d474eae4 documentation: unified descriptive text for drivers 9 years ago
Oleg Hahm ad28f4f1c0 cosmetics: converted tabs into spaces for lpc1768 header 9 years ago
Oleg Hahm ef4fe6616c documentation: unified descriptive text for cpu 9 years ago
Oleg Hahm a2db556139 cosmetics: cleaned up arm_common.h
* converted tabs to white spaces, fixed indentation, and removed SVN clutter
9 years ago
Oleg Hahm de6e70c594 copyriot: fixed copyriot header for arm_common 9 years ago
Oleg Hahm 4ddc9539fd documentation: unified descriptive text for boards 9 years ago
Oleg Hahm f2ee98c285 Merge pull request #1039 from Kijewski/buildtest-insufficient-ram
make: add `BOARD_INSUFFICIENT_RAM` blacklisting
9 years ago
René Kijewski 49778752b3 Use `BOARD_INSUFFICIENT_RAM` in examples and tests 9 years ago
René Kijewski 4198b7518c make: add `BOARD_INSUFFICIENT_RAM` blacklisting
Currently most blacklistings for examples and tests are done because the
board provides too little RAM or ROM. Besides of the actual linking all
the compiling should nevertheless work just fine.

This PR adds the variable `BOARD_INSUFFICIENT_RAM` to tell the
`buildtest` to compile the code for a board, but omit the linking step.
9 years ago
René Kijewski 27ae094413 make: remove clutter
Remove some outdated example code.
9 years ago
René Kijewski e8bf4ef6a2 Merge pull request #1182 from Kijewski/msp-oneway-malloc
msp430: provide oneway-malloc implicitly
9 years ago
René Kijewski 9f40d019e3 Merge pull request #1201 from Kijewski/exclusive-make-clean
make: make clean usable together with `-j`
9 years ago
René Kijewski d52651f61d Merge pull request #1215 from Kijewski/tlsf
Add TLSF (two level segregated fit) PKG
9 years ago
René Kijewski f3eeb98a01 msp/tests: remove blacklist from test_bloom_bytes
Issue #1061 was fixed.
9 years ago
René Kijewski 75f71992e5 Add doxygen comments to MSP's oneway malloc 9 years ago
René Kijewski 1b89f334e3 msp430: provide oneway-malloc implicitly
For MSP430 boards oneway-malloc is already used *if* `malloc.h` was
included. The problem is that `malloc.h` is not a standard header, even
though it is common. `stdlib.h` in the right place to look for
`malloc()` and friends.

This change removes this discrepancy. `malloc()` is just named like
that, without the leading underscore. The symbols now are weak, which
means that they won't override library functions if MSP's standard
library will provide these functions at some point. (Unlikely, since
using `malloc()` on tiny systems is less then optimal ...)

Closes #1061 and #863.
9 years ago
Oleg Hahm f54b363b6c Merge pull request #1015 from OlegHahm/sixlowpan_doxygen_fix
Some doxygen fixes
9 years ago
Oleg Hahm 6dbeacd2ce documentation: fixed sixlowpan doxygen filename 9 years ago
Oleg Hahm f8168c86d3 documentation: fixed organization of 6LoWPAN doxygen 9 years ago
Oleg Hahm 9efc0d2255 documentation: added missing doxygen header to transceiver interface 9 years ago
Oleg Hahm ce73fa56e2 documentation: moved network documentation to top level 9 years ago
Oleg Hahm bf00b019e4 documentation: CMSIS cleanup
Put all CMSIS documentation into a dedicated subgroup of cpu.
9 years ago
Kévin Roussel e9ff3e6cf8 Merge pull request #1211 from rousselk/complete-radio_driver_h
Completing low-level radio driver definition.
9 years ago
Kévin Roussel 2a02203067 Complete the definition of low-level radio driver API 9 years ago
Thomas Eichinger 5808662d05 Merge pull request #1193 from LudwigOrtmann/issue-924
core/hwtimer: disable interrupts in hwtimer_remove
9 years ago
Thomas Eichinger 1e12d5896b Merge pull request #977 from mehlis/doxygen-irq
core: kernel: improved doxygen documentation
9 years ago
Christian Mehlis 67428b5814 core: kernel: improved doxygen documentation
also added param[in] to irq.h and fix order of doxygen endguards
9 years ago
Christian Mehlis 0aa87a8ee7 Merge pull request #1208 from Kijewski/issue-1199
documentation: fix doxygen for `pthread_*.h`
9 years ago
René Kijewski 06eb95d687 Merge pull request #1216 from LudwigOrtmann/issue-1215
native: set _native_pid correctly in daemon mode
9 years ago
Oleg Hahm 8aa78edb0a Merge pull request #1213 from OlegHahm/ubuntu_msp430_errno_fix
msp430: workaround: define errno values if not provided by MSP430 lib
9 years ago
Ludwig Ortmann c9f68e79b9 native: set _native_pid correctly in daemon mode
This fixes a bug that leads to all unix sockets being created as
`/tmp/riot.tty.0`.
9 years ago
René Kijewski 88e8915dfe Add TLSF (two level segregated fit) PKG
This is my second take on #669, because I was asked to separate it from #764.

This change adds a malloc implementation as a PKG, which uses *TLSF* (two
level segregated fit).

The patch file removes the 64bit capatibilities, debug functions, and the
option to have multiple "control blocks" (a control block holds multiple
memory pools). It wraps `malloc()` and friends in `disableIRQ() … restoreIRQ()`.

The implemention does not support 16bit platforms, yet, but probably only some
constants would need fixing. I limited the maximum size of a memory pool to
2**30 bytes = 1GB.

This PKG is not meant to be used by applicitions directly, but by the boards.
The board's initialition code needs to call
`int tlsf_add_pool(void *mem, size_t bytes)` for every free memory region it
has. If the board in using newlib, then this call needs to happen before the
first call to `puts`, `printf`, and friends, because newlib allocates the
control data IO streams (stdin, stdout, stderr) on the heap. Adding a small
(e.g. 1kB) pool before proper board initialization would be a possible solution.

Please read the additional information in the website of the implementator,
http://tlsf.baisoku.org/:

> TLSF (two level segregated fit) is a relatively new memory
allocator designed for embedded systems. It boasts constant
time O(1) malloc/free response time and a 4-byte block
overhead. Though it typically is slightly slower than other
allocators such as dlmalloc, it has no worst-case behavior.

> The original implementation, which comes alongside the white
paper, is distributed under the GNU GPL/LGPL. The code found
here is an original implementation, released into the public
domain, therefore is not subject to any licensing restrictions.

> Features:
 -  O(1) cost for malloc, free, realloc, memalign
 -  Extremely low overhead per allocation (4 bytes)
 -  Low overhead per pool (~3kB)
 -  Low fragmentation
 -  Compiles to only a few kB of code and data

> Caveats:
 -  Currently, assumes architecture can make 4-byte aligned accesses
 -  Not designed to be thread safe; the user must provide this

> Known Issues:
Due to the internal block structure size and the implementation
details of tlsf_memalign, there is worst-case behavior when requesting
small (<16 byte) blocks aligned to 8-byte boundaries. Overuse of memalign
will generally increase fragmentation, but this particular case will leave
lots of unusable "holes" in the heap. The solution would be to internally
align all blocks to 8 bytes, but this will require significantl changes
to the implementation. Contact me if you are interested.
9 years ago