aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32/f1/Makefile.include
AgeCommit message (Collapse)Author
2012-09-25Explicitly link example binaries statically.Paul Sokolovsky
This allow good share of binaries be linkable (and actually run) with a typical distro-packaged ARM toolchain (Cortex-A and Linux targetted).
2012-08-14Use make wildcard command for source dir detect. Library path fix.Piotr Esden-Tempski
Thanks ni!
2012-08-13Examples detect if they are being built in src dir.Piotr Esden-Tempski
If an example is in the libopencm3 source directory it will use the locally built library instead of the system library. When you copy an example out of the libopencm3 tree it will automatically detect it and build using the system wide installation.
2012-08-13Changed local build target for library and linker files.Piotr Esden-Tempski
- The library files are now being built into the lib subdirectory of the source. - The linker files for each library are being copied into the lib source subdirectory. Motivation: The relative locations of files in the source directory after make are now the same as after make install now. This makes it easier to reuse examples with their makefiles outside of the libopencm3 sourcecode directory.
2012-06-29Fix link flags to specify cpu instead of (wrong) arch.Karl Palsson
-march=armv7 is NOT right for cortex-m3, and results in unexpected arm code being linked in when using multilib toolchains
2012-04-24Support for exception handling in linker scripts.Tomaz Solc
This is needed even in plain C when 64 bit variable (e.g. long long int) arithmetic is used. For example it is required when newlib is compiled with --enable-newlib-io-long-long. Conflicts: lib/stm32/f1/libopencm3_stm32f1.ld lib/stm32/f2/libopencm3_stm32f2.ld
2012-03-02License change of the library to LGPL, version 3 or later.Piotr Esden-Tempski
Agreed to by all the significant contributors to the library.
2011-11-13examples: Remove duplicate example linker scripts.Uwe Hermann
Only add one linker script per eval board, and have the Makefiles use that. This avoids duplication, and various copy-paste errors and left-overs which we already have in the tree. Some of the linker scripts are not really correct, yet. Both, the comments which say which board, chip, and RAM/ROM sizes are used, as well as the actual RAM/ROM size definitions are sometimes copy-pasted from other boards and are thus incorrect. This needs to be fixed.
2011-11-02stm32f1/f2: Update to recent OpenOCD syntax.Uwe Hermann
Newer versions of OpenOCD expect stm32f1x mass_erase 0 or stm32f2x mass_erase 0 instead of stm32x mass_erase 0 So far, there doesn't seem to be an explicit F4 command, so leave that untouched for now.
2011-10-31Move STM32 example projects in family specific foldersStephen Caudle