Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove links to binaries #1309

Merged
merged 2 commits into from
Aug 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ jobs:
with:
name: ${{ matrix.platform }}-${{ github.sha }}
path: |
${{ matrix.platform }}.bin
${{ matrix.platform }}.elf
build/${{ matrix.platform }}.bin
build/${{ matrix.platform }}.elf

features:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.get_release_info.outputs.upload_url }}
asset_path: ${{ matrix.platform }}.bin
asset_path: build/${{ matrix.platform }}.bin
asset_name: ${{ matrix.platform }}-${{ steps.get_release_version.outputs.release_version }}.bin
asset_content_type: application/octet-stream
9 changes: 1 addition & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -120,17 +120,10 @@ endif
_all:

all: $(PROG).hex $(PROG).bin
@echo "Build for the $(PLATFORM)!"
@echo "Build for the $(PLATFORM) platform!"
@$(PYTHON) $(srctree)/tools/make/versionTemplate.py --crazyflie-base $(srctree) --print-version
@$(PYTHON) $(srctree)/tools/make/size.py $(SIZE) $(PROG).elf $(MEM_SIZE_FLASH_K) $(MEM_SIZE_RAM_K) $(MEM_SIZE_CCM_K)

#
# Create symlinks to the ouput files in the build directory
#
for f in $$(ls $(PROG).*); do \
ln -sf $(KBUILD_OUTPUT)/$$f $(srctree)/$$(basename $$f); \
done

include tools/make/targets.mk

size:
Expand Down
2 changes: 2 additions & 0 deletions docs/building-and-flashing/build.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ $ tb make cf2_defconfig
$ tb make
```

Build artifacts, including binaries, will end up in the `build` directory.

### Bolt and Roadrunner
We have some ready-to-go config files in the `configs/` directory. So, for example, if you want to build the Roadrunner (tag) you can go:

Expand Down