Skip to content

Add FlockLab 2 specific configuration of nrf52840dongle#16498

Closed
MBradbury wants to merge 1 commit intoRIOT-OS:masterfrom
MBradbury:nrf52840-flocklab
Closed

Add FlockLab 2 specific configuration of nrf52840dongle#16498
MBradbury wants to merge 1 commit intoRIOT-OS:masterfrom
MBradbury:nrf52840-flocklab

Conversation

@MBradbury
Copy link
Copy Markdown

Contribution description

FlockLab 2 is an IoT testbed with support for a variety of different hardware platforms. This PR adds a custom board definition that modifies the existing nrf52840dongle board to match how FlockLab 2 has set up their nrf52840dongle devices.

They key changes are:

  • Additional GPIO definitions have been added (such as additional LEDs)
  • The UART has been set to use the correct GPIO pins
  • SPI and I2C have been removed as FlockLab 2 does not connect any SPI or I2C devices
  • An additional compilation step has been added to support how FlockLab 2 deploys images (in elf format) to the testbed. FlockLab performs a full wipe of flash and then writes the provided image. FlockLab 2 does not load a new image with support from a boot loader. So a new rule has been added to convert the combined bin generated by riotboot back into the supported elf format. Which can be invoked by:
make BOARD=nrf52840dongle-flocklab flocklab

Testing procedure

  1. Sign up for an account at https://user.flocklab.ethz.ch/
  2. Build an example hello world
cd examples/hello-world
make BOARD=nrf52840dongle-flocklab flocklab
  1. In examples/hello-world/bin/nrf52840dongle-flocklab there will be hello-world.flocklab.elf which can be deployed to the testbed on the nrf5 targets.
  2. Deploy the image on the testbed. Note that the output may not occur due to the FlockLab logger starting up, so a short delay (e.g., 30 seconds) may need to be added to the beginning of the main function.

@MBradbury MBradbury force-pushed the nrf52840-flocklab branch from eb82e4d to 85c8a37 Compare May 26, 2021 12:32
@MrKevinWeiss MrKevinWeiss added this to the Release 2021.07 milestone Jun 21, 2021
@MrKevinWeiss MrKevinWeiss removed this from the Release 2021.07 milestone Jul 15, 2021
@stale
Copy link
Copy Markdown

stale bot commented Mar 2, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you want me to ignore this issue, please mark it with the "State: don't stale" label. Thank you for your contributions.

@stale stale bot added the State: stale State: The issue / PR has no activity for >185 days label Mar 2, 2022
@stale stale bot closed this Apr 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: boards Area: Board ports State: stale State: The issue / PR has no activity for >185 days

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants