Solomon Peachy
13c2e97ae2
Error out sanely if we don't have some necessary stuff defined
2020-01-01 23:25:55 -05:00
Solomon Peachy
dfb519ba95
Further updates for C++ support.
2019-11-29 19:29:16 -05:00
Solomon Peachy
d2532efb83
misc: Fix up a few problems.
2019-11-29 19:07:28 -05:00
Solomon Peachy
c3751beefb
bump toolchain configs
2016-07-12 21:08:02 -04:00
Solomon Peachy
de19dba9a5
Updated toolchain configs.
2015-08-01 12:23:37 -04:00
Solomon Peachy
3aa824a432
Fix LTO builds.
2015-07-25 09:37:43 -04:00
Solomon Peachy
0afb489d29
build: Better Dependency tracking.
2014-02-18 10:18:37 -05:00
Solomon Peachy
65ac5c8bae
freertos: Better integration. Selected some sane defaults to get
...
started.
2013-12-19 14:30:40 -05:00
Solomon Peachy
ab4eadd711
freertos: Add FreeRTOS into the mix.
2013-12-19 10:51:41 -05:00
Solomon Peachy
4c1f1ee0ff
build improvements.
2013-12-18 19:39:30 -05:00
Solomon Peachy
d9507de368
build: Rework how the libraries are included, trying to make this more
...
generic.
2013-11-10 00:23:03 -05:00
Solomon Peachy
5a0561db04
build: get rid of the use of $(TOP) since we're not recursive now.
2013-10-30 11:01:27 -04:00
Solomon Peachy
3bdb9fb92c
build: allow different 'make' to be used.
2013-10-27 12:53:54 -04:00
Solomon Peachy
547fd8066d
build: Rename the generated linker script to match the exectutable.
2013-10-27 12:46:56 -04:00
Solomon Peachy
94627e7995
build: Consolidate Makefile.common into Makefile.
...
.common was a holdover from when the build system was recursive.
2013-10-27 08:12:48 -04:00
Solomon Peachy
142700b241
build: Fix another dangling toolchain path.
2013-10-27 07:58:33 -04:00
Solomon Peachy
39162b0cf2
Move toolchain config files into the toolchain dir.
2013-10-25 23:24:13 -04:00
Solomon Peachy
63ff847454
build: Make sure we pass MCU_TYPE and MCU_SUBTYPE to the ld script generation
2013-10-24 11:28:23 -04:00
Solomon Peachy
c1fde1c885
build: Generate a linker map.
2013-10-23 11:54:43 -04:00
Solomon Peachy
fc6dd379be
libs: Build the ARM math libraries.
2013-10-22 11:55:23 -04:00
Solomon Peachy
064661992e
build: Clean up linking a bit, make LTO explicitly optional.
2013-08-29 23:59:38 -04:00
Solomon Peachy
14a4f311a7
Use $() instead of ${} in Makefiles, unless an explicit shell thing is dsired.
2013-08-26 09:16:37 -04:00
Solomon Peachy
62b2f375a2
dep: fix up dependency a bit.
...
I really need to rewrite this to a proper dependency solutoion.
2013-08-05 17:02:18 -04:00
Solomon Peachy
6e15ac3b6a
depend: Fix up error caused by asm sources.
2013-08-05 09:28:35 -04:00
Solomon Peachy
aaed191387
build: Further simplification of target make rules.
...
lib$(MCU) is now a generic top-level target.
2013-08-05 09:18:08 -04:00
Solomon Peachy
2e65fe791c
build: Simplify target rules.
2013-08-05 09:04:48 -04:00
Solomon Peachy
a9a8eda4c9
build: use LTO.
2013-08-04 18:45:47 -04:00
Solomon Peachy
b56572dfa2
build: Include a summary of text/data/bss sizes.
2013-08-04 08:47:31 -04:00
Solomon Peachy
03dd0312ff
build: A few more cleanups. And use LTO.
2013-08-04 00:16:01 -04:00
Solomon Peachy
fcde03e4ac
build: Fix linking.
2013-08-03 23:30:27 -04:00
Solomon Peachy
0af35f521f
build: use a different .toolchain-* file for each toolchian.
2013-08-03 20:43:28 -04:00
Solomon Peachy
1b8c1f1c62
stm32f2: Build and link the STM32F2 libraries.
2013-08-03 20:30:57 -04:00
Solomon Peachy
5c15204ea1
build: Clean up output a bit.
2013-08-03 20:16:29 -04:00
Solomon Peachy
6cfcd4e207
build: Add a main.c, and finish everything. We now build and link!
2013-08-03 20:13:14 -04:00
Solomon Peachy
1241046242
build: Cleanups in output.
2013-08-03 14:17:31 -04:00
Solomon Peachy
b39a79582c
Build system builds the peripheral library proprly now.
2013-08-03 14:11:44 -04:00
Solomon Peachy
36dee2ecbd
Toolchain itegration
2013-08-03 13:08:13 -04:00
Solomon Peachy
87fe42acc9
startup: Use the CMSIS startup code. Add the first cut at a linker script.
...
Still need a toolchain...
2013-08-03 10:56:57 -04:00
Solomon Peachy
e9f538cbd3
...
2013-08-03 10:05:38 -04:00
Solomon Peachy
5978d0bbbd
build: Split out MCU_CFLAGS and MCU_LIBS explicity.
2013-08-03 10:04:46 -04:00
Solomon Peachy
bd5734f82e
build: Skeleton of the build system, initially STM32F1xx only.
...
There are a lot of missing pieces still, including the toolchain.
* Toolchain
* Ensure clean STM32F1xx "library" build
* Clean up startup code and linker script and "target hardware" headers
2013-08-03 09:58:19 -04:00