Skip to content

makefiles/app_dirs.inc.mk: target to list supported applications/boards#11590

Merged
cladmi merged 2 commits intoRIOT-OS:masterfrom
cladmi:pr/make/info_applications_supported_boards
May 27, 2019
Merged

makefiles/app_dirs.inc.mk: target to list supported applications/boards#11590
cladmi merged 2 commits intoRIOT-OS:masterfrom
cladmi:pr/make/info_applications_supported_boards

Conversation

@cladmi
Copy link
Copy Markdown
Contributor

@cladmi cladmi commented May 27, 2019

Contribution description

Slow implementation to list all supported boards.
It is adapted from what .murdock does without the toolchain handling.

Testing procedure

Run make info-applications-supported-boards from the RIOT root.

make info-applications-supported-boards
bootloaders/riotboot acd52832
bootloaders/riotboot b-l072z-lrwan1
bootloaders/riotboot iotlab-a8-m3
bootloaders/riotboot iotlab-m3
bootloaders/riotboot lsn50
bootloaders/riotboot nrf52832-mdk
bootloaders/riotboot nrf52840-mdk
bootloaders/riotboot nrf52840dk
bootloaders/riotboot nrf52dk
bootloaders/riotboot nucleo-l073rz
bootloaders/riotboot nucleo-l152re
bootloaders/riotboot particle-argon
bootloaders/riotboot particle-boron
bootloaders/riotboot particle-xenon
bootloaders/riotboot reel
bootloaders/riotboot ruuvitag
bootloaders/riotboot saml10-xpro
bootloaders/riotboot saml11-xpro
bootloaders/riotboot saml21-xpro
bootloaders/riotboot samr21-xpro
bootloaders/riotboot thingy52
examples/arduino_hello-world arduino-due
examples/arduino_hello-world arduino-duemilanove
examples/arduino_hello-world arduino-leonardo
examples/arduino_hello-world arduino-mega2560
examples/arduino_hello-world arduino-mkr1000
examples/arduino_hello-world arduino-mkrfox1200
examples/arduino_hello-world arduino-mkrzero
examples/arduino_hello-world arduino-nano
examples/arduino_hello-world arduino-uno                                                 
...

The output of .murdock includes the toolchain but it is not supposed to replace it for the moment.

bash ./.murdock get_app_board_toolchain_pairs bootloaders/riotboot
bootloaders/riotboot acd52832:gnu
bootloaders/riotboot b-l072z-lrwan1:gnu
bootloaders/riotboot iotlab-a8-m3:gnu
bootloaders/riotboot iotlab-m3:gnu
bootloaders/riotboot iotlab-m3:llvm
bootloaders/riotboot lsn50:gnu
bootloaders/riotboot nrf52832-mdk:gnu
bootloaders/riotboot nrf52840-mdk:gnu
bootloaders/riotboot nrf52840dk:gnu
bootloaders/riotboot nrf52dk:gnu
bootloaders/riotboot nrf52dk:llvm
bootloaders/riotboot nucleo-l073rz:gnu
bootloaders/riotboot nucleo-l152re:gnu
bootloaders/riotboot particle-argon:gnu
bootloaders/riotboot particle-boron:gnu
bootloaders/riotboot particle-xenon:gnu
bootloaders/riotboot reel:gnu
bootloaders/riotboot ruuvitag:gnu
bootloaders/riotboot saml10-xpro:gnu
bootloaders/riotboot saml11-xpro:gnu
bootloaders/riotboot saml21-xpro:gnu
bootloaders/riotboot samr21-xpro:gnu
bootloaders/riotboot samr21-xpro:llvm
bootloaders/riotboot thingy52:gnu

Issues/PRs references

Split out of #11492 and will be used to review changes done through #9913

cladmi added 2 commits May 27, 2019 17:21
Slow implementation to list all supported boards.
It is adapted from what `.murdock` does without the `toolchain` handling.
@cladmi cladmi requested a review from fjmolinas May 27, 2019 15:35
@cladmi cladmi added the Area: build system Area: Build system label May 27, 2019
@cladmi cladmi added this to the Release 2019.07 milestone May 27, 2019
@cladmi cladmi added the Type: new feature The issue requests / The PR implemements a new feature for RIOT label May 27, 2019
@fjmolinas fjmolinas added the CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR label May 27, 2019
Copy link
Copy Markdown
Contributor

@fjmolinas fjmolinas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested locally by comparing the output while removing all blacklisted board in examples/gnrc_networking and verifying the output files where correctly different.

diff:

1525,1526d1524
< examples/gnrc_border_router pic32-clicker
< examples/gnrc_border_router pic32-wifire
1532d1529
< examples/gnrc_border_router ruuvitag
1561d1557
< examples/gnrc_border_router thingy52

It is indeed slow though :) but ACK

@cladmi
Copy link
Copy Markdown
Contributor Author

cladmi commented May 27, 2019

CI is green. Let's go !

@cladmi cladmi merged commit 1dc479d into RIOT-OS:master May 27, 2019
@cladmi
Copy link
Copy Markdown
Contributor Author

cladmi commented May 27, 2019

Thank you for the review

@cladmi cladmi deleted the pr/make/info_applications_supported_boards branch May 27, 2019 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: build system Area: Build system CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Type: new feature The issue requests / The PR implemements a new feature for RIOT

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants