[riot-notifications] [RIOT-OS/RIOT] boards/lora-e5-dev: initial support (#16660)

Francisco notifications at github.com
Tue Jul 20 15:49:23 CEST 2021


### Contribution description

This PR adds support for [LoRa-E5 Development Board](https://www.google.com/search?channel=fs&client=ubuntu&q=seedstudio+lora-e5). 

Missing form this PR:
- [ ] support for the integrated temperature sensor
- [ ] support for the integrated spi-flash (no documentation available AFAIKT)

There seems to be an issue with I2C but I experienced the same issue with `nucleo-wl55jc`, so I think its unrelated to this PR and I'm confident on the pin mapping, so I kept the support. Maybe @MrKevinWeiss can use HIL to verify that `stm32wl` i2c is not broken?

### Testing procedure

Tested main functionalities:

- spi ( bme280_spi)

```
2021-07-20 13:46:27,385 # main(): This is RIOT! (Version: 2021.10-devel-170-g05efb-wip/lora_e5)
2021-07-20 13:46:27,386 # BMX280 test application
2021-07-20 13:46:27,386 #
2021-07-20 13:46:27,393 # +------------Initializing------------+
2021-07-20 13:46:27,393 # Initialization successful
2021-07-20 13:46:27,394 #
2021-07-20 13:46:27,398 # +------------Calibration Data------------+
2021-07-20 13:46:27,399 # dig_T1: 28497
2021-07-20 13:46:27,399 # dig_T2: 26274
2021-07-20 13:46:27,400 # dig_T3: 50
2021-07-20 13:46:27,404 # dig_P1: 37174
2021-07-20 13:46:27,404 # dig_P2: -10773
2021-07-20 13:46:27,405 # dig_P3: 3024
2021-07-20 13:46:27,405 # dig_P4: 9121
2021-07-20 13:46:27,406 # dig_P5: -67
2021-07-20 13:46:27,410 # dig_P6: -7
2021-07-20 13:46:27,410 # dig_P7: 12300
2021-07-20 13:46:27,410 # dig_P8: -12000
2021-07-20 13:46:27,411 # dig_P9: 5000
2021-07-20 13:46:27,411 # dig_H1: 75
2021-07-20 13:46:27,415 # dig_H2: 334
2021-07-20 13:46:27,415 # dig_H3: 0
2021-07-20 13:46:27,416 # dig_H4: 393
2021-07-20 13:46:27,416 # dig_H5: 50
2021-07-20 13:46:27,416 # dig_H6: 30
2021-07-20 13:46:27,416 #
2021-07-20 13:46:27,421 # +--------Starting Measurements--------+
2021-07-20 13:46:27,424 # [bmx280] _do_measurement: measurement data ready
2021-07-20 13:46:27,439 # [bmx280] _do_measurement: measurement data ready
2021-07-20 13:46:27,445 # [bmx280] _do_measurement: measurement data ready
2021-07-20 13:46:27,445 # Temperature [°C]: 26.14
2021-07-20 13:46:27,450 #    Pressure [Pa]: 99053
2021-07-20 13:46:27,451 #   Humidity [%rH]: 52.67
2021-07-20 13:46:27,451 #
2021-07-20 13:46:27,454 # +-------------------------------------+
2021-07-20 13:46:27,454 #
2021-07-20 13:46:29,459 # [bmx280] _do_measurement: measurement data ready
2021-07-20 13:46:29,467 # [bmx280] _do_measurement: measurement data ready
2021-07-20 13:46:29,475 # [bmx280] _do_measurement: measurement data ready
2021-07-20 13:46:29,480 # Temperature [°C]: 26.16
2021-07-20 13:46:29,480 #    Pressure [Pa]: 99076
2021-07-20 13:46:29,481 #   Humidity [%rH]: 52.62
2021-07-20 13:46:29,481 #
2021-07-20 13:46:29,485 # +-------------------------------------+
```

- rtt
```
2021-07-20 09:11:05,949 # main(): This is RIOT! (Version: 2021.10-devel-170-g43cad-wip/lora_e5)
2021-07-20 09:11:05,949 #
2021-07-20 09:11:05,951 # RIOT RTT low-level driver test
2021-07-20 09:11:05,952 # RTT configuration:
2021-07-20 09:11:05,955 # RTT_MAX_VALUE: 0x0000ffff
2021-07-20 09:11:05,956 # RTT_FREQUENCY: 1024
2021-07-20 09:11:05,956 #
2021-07-20 09:11:05,960 # Testing the tick conversion
2021-07-20 09:11:05,961 # Trying to convert 1 to seconds and back
2021-07-20 09:11:05,965 # Trying to convert 256 to seconds and back
2021-07-20 09:11:05,971 # Trying to convert 65536 to seconds and back
2021-07-20 09:11:05,971 # Trying to convert 16777216 to seconds and back
2021-07-20 09:11:05,978 # Trying to convert 2147483648 to seconds and back
2021-07-20 09:11:05,978 # All ok
2021-07-20 09:11:05,978 #
2021-07-20 09:11:05,979 # Initializing the RTT driver
2021-07-20 09:11:06,139 # This test will now display 'Hello' every 5 seconds
2021-07-20 09:11:06,140 #
2021-07-20 09:11:06,140 # RTT now: 1
2021-07-20 09:11:06,144 # Setting initial alarm to now + 5 s (5121)
2021-07-20 09:11:06,150 # rtt_get_alarm() PASSED
2021-07-20 09:11:06,151 # Done setting up the RTT, wait for many Hellos
2021-07-20 09:11:11,141 # Hello
2021-07-20 09:11:16,140 # Hello
2021-07-20 09:11:21,139 # Hello
2021-07-20 09:11:26,139 # Hello
2021-07-20 09:11:31,138 # Hello
```
- loramac

```
2021-07-20 10:13:08,853 # All up, running the shell now
: loramac set deveui 00D23F63A8D87785
2021-07-20 10:13:12,822 # loramac set deveui 00D23F63A8D87785
: loramac set appeui 70B3D57ED00204EC
2021-07-20 10:13:15,817 # loramac set appeui 70B3D57ED00204EC
: loramac set appkey 916145C2F84B9B30584164B8625B50EE
2021-07-20 10:13:18,962 # loramac set appkey 916145C2F84B9B30584164B8625B50EE
: loramac join otaa
2021-07-20 10:13:20,813 # loramac join otaa
2021-07-20 10:13:29,141 # Join procedure succeeded!
loramac tx "hi"
2021-07-20 10:13:42,814 # loramac tx "hi"
2021-07-20 10:13:50,162 # Received ACK from network
2021-07-20 10:13:50,163 # Message sent with success
```
You can view, comment on, or merge this pull request online at:

  https://github.com/RIOT-OS/RIOT/pull/16660

-- Commit Summary --

  * boards/lora-e5-dev: initial support

-- File Changes --

    A boards/lora-e5-dev/Kconfig (25)
    A boards/lora-e5-dev/Makefile (3)
    A boards/lora-e5-dev/Makefile.dep (11)
    A boards/lora-e5-dev/Makefile.features (13)
    A boards/lora-e5-dev/Makefile.include (26)
    A boards/lora-e5-dev/board.c (69)
    A boards/lora-e5-dev/dist/openocd.cfg (3)
    A boards/lora-e5-dev/doc.txt (64)
    A boards/lora-e5-dev/include/board.h (108)
    A boards/lora-e5-dev/include/gpio_params.h (61)
    A boards/lora-e5-dev/include/periph_conf.h (152)
    M boards/nucleo-wl55jc/Makefile.dep (2)
    M cpu/stm32/cpu_init.c (1)
    M cpu/stm32/stm32_info.mk (7)
    M cpu/stm32/stm32_mem_lengths.mk (18)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/16660.patch
https://github.com/RIOT-OS/RIOT/pull/16660.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/16660
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210720/48d5eb84/attachment-0001.htm>


More information about the notifications mailing list