Skip to content

Commit 83619b8

Browse files
committed
bricks/stm32: add ReadMe_OSS.txt per hub
This adds a ReadMe_OSS.txt file for each STM32-based hub. This file includes the licenses and copyright statements for binary distribution. These files were created using Fossology after manually auditing the source code with the assumption that the binary is built using the default configuration for each hub.
1 parent 9c27409 commit 83619b8

File tree

6 files changed

+1146
-1
lines changed

6 files changed

+1146
-1
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,12 @@ jobs:
234234
with:
235235
name: ${{ matrix.hub }}-firmware
236236
path: bricks/${{ matrix.hub }}/main.py
237+
- name: Upload ReadMe_OSS.txt
238+
if: ${{ success() }}
239+
uses: actions/upload-artifact@v2
240+
with:
241+
name: ${{ matrix.hub }}-firmware
242+
path: bricks/${{ matrix.hub }}/ReadMe_OSS.txt
237243

238244
debug:
239245
name: debug firmware

bricks/cityhub/ReadMe_OSS.txt

Lines changed: 275 additions & 0 deletions
Large diffs are not rendered by default.

bricks/movehub/ReadMe_OSS.txt

Lines changed: 319 additions & 0 deletions
Large diffs are not rendered by default.

bricks/primehub/ReadMe_OSS.txt

Lines changed: 243 additions & 0 deletions
Large diffs are not rendered by default.

bricks/stm32/stm32.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ $(BUILD)/firmware.metadata.json: $(BUILD)/firmware-no-checksum.elf $(METADATA)
521521
$(ECHO) "META creating firmware metadata"
522522
$(Q)$(METADATA) $(FW_VERSION) $(PBIO_PLATFORM) $(MPY_CROSS_FLAGS) $<.map $@
523523

524-
$(BUILD)/firmware.zip: $(BUILD)/firmware-base.bin $(BUILD)/firmware.metadata.json main.py
524+
$(BUILD)/firmware.zip: $(BUILD)/firmware-base.bin $(BUILD)/firmware.metadata.json main.py ReadMe_OSS.txt
525525
$(ECHO) "ZIP creating firmware package"
526526
$(Q)$(ZIP) -j $@ $^
527527

0 commit comments

Comments
 (0)