Skip to content
Snippets Groups Projects
Select Git revision
  • b57d3b923cdbe9a01f5f01147fa5d08aa2fee3c0
  • master default protected
  • feature/personal_state
  • feature/gpio-module
  • rahix/menu
  • msgctl/gfx_rle
  • msgctl/faultscreen
  • msgctl/textbuffer_api
  • schneider/bonding
  • schneider/bootloader-update-9a0d158
  • schneider/bsec
  • rahix/bma
  • rahix/bhi
  • schleicher-test
  • schneider/schleicher-test
  • freertos-btle
  • ch3/api-speed-eval2
  • schneider/mp-for-old-bl
  • ch3/leds-api
  • ch3/genapi-refactor
  • ch3/dual-core
  • v0.0
22 results

bootstrap.sh

Blame
  • Forked from card10 / firmware
    Source project has a limited visibility.
    bootstrap.sh 740 B
    #!/bin/sh
    set -xe
    
    cd "$(dirname "$0")"
    test -d build/ && rm -r build/
    
    git submodule update --init ./lib/micropython
    meson --cross-file card10-cross.ini build/
    
    set +x
    
    echo "---------------------------------------------------------------"
    echo "   Build configured successfully!"
    echo "---------------------------------------------------------------"
    echo "   You can now start building using"
    echo "       ninja -C build/"
    echo ""
    echo "   The path after -C is the path to the build-directory."
    echo "   Suppose you are in 'hw-tests/hello-world/', you could"
    echo "   then run 'ninja -C ../../build/'"
    echo ""
    echo "   You can also build a single target.  For example:"
    echo "       ninja -C build/ hw-tests/hello-world/hello-world.elf"