• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/board/stmicroelectronics/stm32f469-disco/flash.sh
Lee JonesLee Jones committed 04d0a5793fd15 Apr 2016
Raw file
Source viewDiff to previous
 
1
#!/bin/bash
2
​
3
OUTPUT_DIR=$1
4
​
5
if ! test -d "${OUTPUT_DIR}" ; then
6
    echo "ERROR: no output directory specified."
7
    echo "Usage: $0 OUTPUT_DIR"
8
    exit 1
9
fi
10
​
11
${OUTPUT_DIR}/host/usr/bin/openocd -f board/stm32f469discovery.cfg \
12
  -c "init" \
13
  -c "reset init" \
14
  -c "flash probe 0" \
15
  -c "flash info 0" \
16
  -c "flash write_image erase ${OUTPUT_DIR}/images/stm32f469i-disco.bin 0x08000000" \
17
  -c "flash write_image erase ${OUTPUT_DIR}/images/stm32f469-disco.dtb 0x08004000" \
18
  -c "flash write_image erase ${OUTPUT_DIR}/images/xipImage 0x08008000" \
19
  -c "reset run" \
20
  -c "shutdown"
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.