RIOT-OS / RIOT

RIOT - The friendly OS for IoT
https://riot-os.org
GNU Lesser General Public License v2.1
4.85k stars 1.97k forks source link

add board for Seeedstudio LoRa E5 Mini #17059

Open donsez opened 2 years ago

donsez commented 2 years ago

Description

add board for Seeedstudio LoRa E5 Mini

The Seeedstudio LoRa E5 Mini board is the compact version of the Seeedstudio LoRa E5 Dev board (already in boards/lora-e5-dev).

This board works like the Seeedstudio LoRa E5 Dev board.

However, it had only one user buttons (tagged boot) instead of two.

cd tests/leds
gmake BOARD=lora-e5-dev
main(): This is RIOT! (Version: 2022.01-devel-217-g43bef)
On-board LED test

Available LEDs: 1

Will now light up each LED once short and twice long in a loop
cd tests/buttons
gmake BOARD=lora-e5-dev
Help: Press s to start test, r to print it is ready
START
main(): This is RIOT! (Version: 2022.01-devel-217-g43bef)
On-board button test

 -- Available buttons: 2

 -- Try pressing buttons to test.

[SUCCESS]
Help: Press s to start test, r to print it is ready
START
main(): This is RIOT! (Version: 2022.01-devel-217-g43bef)
On-board button test

 -- Available buttons: 2

 -- Try pressing buttons to test.

[SUCCESS]
Pressed BTN0
Pressed BTN0
Pressed BTN0
git checkout 1fa6374530c5ad5134f488a3bcde16b906067aa5
cd tests/pkg_semtech-loramac
gmake BOARD=lora-e5-dev LORA_DRIVER=sx126x_stm32wl
> loramac set deveui cafebabecafe1234
> loramac set appeui cafebabecafeffff
> loramac set appkey cafebabecafe1234cafebabecafe1234
> loramac join otaa
Join procedure succeeded!

Useful links

jdavid commented 1 year ago

Also the mini does not have the lm75a sensor.

If this was to be done, how should the code be organized? Maybe:

boards/common/lora-e5
boards/lora-e5-dev
boards/lora-e5-mini

??