Skip to content

stxent/halm-examples

Repository files navigation

Installation

Examples require:

  • Arm GNU toolchain for bare-metal targets version 11 or newer.
  • CMake version 3.21 or newer.
  • Python 3 packages Jinja2 and Kconfiglib.

Quickstart

Clone Git repository:

git clone https://github.com/stxent/halm-examples.git
cd halm-examples
git submodule update --init --recursive

Build project with CMake:

mkdir build
cd build
cmake ..
make

Build in a Docker container:

cd docker
docker build -t halm-examples:test .
docker run -it halm-examples:test

Useful settings

  • CMAKE_BUILD_TYPE — option specifies the build type.
  • TARGET_NOR — place executables in an external NOR Flash.
  • TARGET_SDRAM — place executables in an external SDRAM.
  • TARGET_SRAM — place executables in the embedded SRAM.
  • USE_BIN — enable generation of executables in Binary format.
  • USE_HEX — enable generation of executables in Intel HEX format.
  • USE_DFU — enable memory layout compatible with a bootloader.
  • USE_LTO — option enables Link Time Optimization.

About

Examples for halm and xcore libraries

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published