Added debug target to compile without optimization

- The debug flag -g and the optimization flag -O3 are skipped
in the debug target. Also, the print level is the highest possible.
Suppress warnings and correct __attribute__ syntax

- Warnings suppressed: braced-groups and variadic-macro
- Syntax fixed: ((__used)) to ((used)) and ((__section)) to ((section))