Skip to content

Commit

Permalink
bricks/debug: Drop build.
Browse files Browse the repository at this point in the history
This is no longer used, so let's further streamline maintenance.
  • Loading branch information
laurensvalk committed Jan 15, 2025
1 parent f7758da commit d5e5600
Show file tree
Hide file tree
Showing 14 changed files with 2 additions and 1,542 deletions.
22 changes: 0 additions & 22 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -174,28 +174,6 @@ jobs:
flag-name: virtualhub
parallel: true

debug:
name: debug firmware
needs: [mpy_cross]
runs-on: ubuntu-22.04
steps:
- name: Install cross-compiler
run: sudo apt-get update && sudo apt-get install --yes gcc-arm-none-eabi
- name: Checkout repo
uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
- name: Download mpy-cross
uses: actions/download-artifact@v4
with:
name: mpy-cross
path: micropython/mpy-cross/build
- name: Fix file permission
run: chmod +x micropython/mpy-cross/build/mpy-cross
- name: Build
run: make $MAKEOPTS -C bricks/debug build/firmware.dfu

pbio:
name: pbio tests
runs-on: ubuntu-22.04
Expand Down
10 changes: 2 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ doc:
clean-doc:
@$(MAKE) -C lib/pbio/doc clean

all: movehub cityhub technichub primehub essentialhub virtualhub nxt debug ev3 doc
all: movehub cityhub technichub primehub essentialhub virtualhub nxt ev3 doc

clean-all: clean-movehub clean-cityhub clean-technichub clean-primehub clean-essentialhub clean-virtualhub clean-nxt clean-debug clean-ev3 clean-doc
clean-all: clean-movehub clean-cityhub clean-technichub clean-primehub clean-essentialhub clean-virtualhub clean-nxt clean-ev3 clean-doc

ev3: mpy-cross
@$(MAKE) -C bricks/ev3
Expand Down Expand Up @@ -81,12 +81,6 @@ clean-virtualhub: clean-mpy-cross
@$(MAKE) -C bricks/virtualhub clean CROSS_COMPILE=
@$(MAKE) -C bricks/virtualhub clean DEBUG=1

debug: mpy-cross
@$(MAKE) -C bricks/debug build/firmware.dfu

clean-debug: clean-mpy-cross
@$(MAKE) -C bricks/debug clean

mpy-cross:
@$(MAKE) -C micropython/mpy-cross CROSS_COMPILE=$(HOST_CROSS_COMPILE)

Expand Down
16 changes: 0 additions & 16 deletions bricks/debug/Makefile

This file was deleted.

1 change: 0 additions & 1 deletion bricks/debug/manifest.py

This file was deleted.

52 changes: 0 additions & 52 deletions bricks/debug/mpconfigport.h

This file was deleted.

44 changes: 0 additions & 44 deletions bricks/debug/openocd_stm32f4.cfg

This file was deleted.

19 changes: 0 additions & 19 deletions lib/pbio/platform/debug/contiki-conf.h

This file was deleted.

48 changes: 0 additions & 48 deletions lib/pbio/platform/debug/pbdrvconfig.h

This file was deleted.

19 changes: 0 additions & 19 deletions lib/pbio/platform/debug/pbioconfig.h

This file was deleted.

20 changes: 0 additions & 20 deletions lib/pbio/platform/debug/pbsysconfig.h

This file was deleted.

Loading

0 comments on commit d5e5600

Please sign in to comment.