AgeCommit message (Collapse)Author
2017-04-17update gitignore file to include generated filesHEADv1masterKlaus Goger
2017-04-17doc: add READMEPhilipp Tomsich
2017-04-17crosstools: add defconfig for arm-cortex_m0-eabiPhilipp Tomsich
2017-04-17crosstools: add submodule crosstools/crosstool-ng @ crosstool-ng-1.23.0-rc2Philipp Tomsich
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
2017-04-17Makefile: migrate to TSD guidelines for Cortex-M0 projectsPhilipp Tomsich
We rewrite the Makefile from scratch using our guidelines for embedded projects (e.g. used on the Cortex-M0 firmware for our module's companion controllers). The highlights of this commit include: - convert to our Makefile template for Cortex-M0 projects - switch to LTO - add support for an 'internal' toolchain build from crosstools-ng Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
2017-04-17src: rename main function to 'm0_main' to avoid warningsPhilipp Tomsich
With recent GCC versions (we currently use GCC-6.3.0 for code-size and static analysis reasons), we can neither have a main()-function that has a void return-type (warns on return not being 'int') nor can we have a function with an 'int' return-type marked 'noreturn'. Consequently we rename the main-function to 'm0_main' to help the compiler understand that we are not in a standard C runtime.
2017-04-17import: update Makefile for standalone usePhilipp Tomsich
The original Makefile was intended to run as part of the ATF build. As we split this off into a standalone project again, we need to change things and update/add rules that are missing when the ATF build infrastructure is not present. This commit makes a standalone Makefile from what we found within the ATF repository.
2017-04-17import: add shared header filesPhilipp Tomsich
2017-04-04import: Cortex-M0 sources from upstream ATFPhilipp Tomsich
Imported from hash 3944adca5943a050ca7e7e9cc802a9ae04dec186
2017-04-04Initial commit (.gitignore-only)Philipp Tomsich