Skip to content

Commit

Permalink
Add info about hex file location & fix in CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
microbit-carlos committed May 9, 2024
1 parent eb25d56 commit 0c932d2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: MICROBIT-MICROPYTHON-${{ github.sha }}-${{ matrix.os }}.hex
path: src/MICROBIT.hex
path: micropython-microbit-v2/src/build/MICROBIT.hex
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,6 @@ Build MicroPython with the C++ module included:

```
make -C micropython-microbit-v2/src USER_C_MODULES=../../..
```
```

Hex file: `micropython-microbit-v2/src/build/MICROBIT.hex`
2 changes: 1 addition & 1 deletion module/micropython.mk
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ SRC_USERMOD_CXX += $(CPPEXAMPLE_MOD_DIR)/src/example.cpp

# Add our module directory to the include path.
CFLAGS_USERMOD += -I$(CPPEXAMPLE_MOD_DIR)/src
CXXFLAGS_USERMOD += -I$(CPPEXAMPLE_MOD_DIR)/src -std=c++11 $(CFLAGS)
CXXFLAGS_USERMOD += -I$(CPPEXAMPLE_MOD_DIR)/src -std=c++11


# We use C++ features so have to link against the standard library.
Expand Down

0 comments on commit 0c932d2

Please sign in to comment.