build fix: use adf_os_mem_set instead of memset

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
build fix: stbcsupport used only with MAGPIE_MERLIN

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
build fix: add missing type converter ATH_NODE_TARGET

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
build fix: pSib used only with MAGPIE_MERLIN

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
build fix: use native string functions

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
build fix: remove dead code

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
build fix: disable check for currently dead code

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Merge pull request #13 from olerem/buildfixes

Buildfixes part4v2
Merge pull request #12 from KrasnikovEugene/master

Build warning fix
Merge pull request #15 from KrasnikovEugene/master

Add UART documentation
remove useless checks in wlan_task

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
dbg: replace zm_uart_send with A_PRINTF

theoretically zm_uart_send should work like snprintf with
limiting size of the string. Practically, string size was ignored:
zm_uart_send(x, y) A_PUTS(x)

As result, terminal was trashed with not printable chars.
We replacing it with A_PRINTF.

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
dbg: remove db_dump_memory

db_dump_memory is not correctly. Also functionality of this caommand
overlap with db_cmd_memdump. There place only for one of this functions :)

This patch fix a build warning too.

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
dbg: remove empty functions

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
dbg: make local functions static

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
dbg: remove dead code

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
dbg: add db_incorect_format

Replace duplicated code with db_incorect_format function.

ram usage before patch:
>info ram
ALLOCRAM Current Addr 0x5352bc
ALLOCRAM Remaining Bytes 42308

after patch:
>info ram
ALLOCRAM Current Addr 0x535234
ALLOCRAM Remaining Bytes 42444

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
gdb: remove some chars from db_wdt_cmd

hope this reduce some bits from memory.

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Merge pull request #19 from olerem/dbg

debug work from olerem!
dbg: add new db_unknown_command function to reduce redundand code

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>