diff --git a/boards/e104-bt5011a-tb/Kconfig b/boards/e104-bt5011a-tb/Kconfig new file mode 100644 index 0000000000..5f5134fecc --- /dev/null +++ b/boards/e104-bt5011a-tb/Kconfig @@ -0,0 +1,16 @@ +# Copyright (c) 2020 Benjamin Valentin +# +# This file is subject to the terms and conditions of the GNU Lesser +# General Public License v2.1. See the file LICENSE in the top level +# directory for more details. + +config BOARD + default "e104-bt5011a-tb" if BOARD_E104_BT5011A_TB + +config BOARD_E104_BT5011A_TB + bool + default y + select BOARD_COMMON_E104_BT50XXA_TB + select CPU_MODEL_NRF52811XXAA + +source "$(RIOTBOARD)/common/e104-bt50xxa-tb/Kconfig" diff --git a/boards/e104-bt5011a-tb/Makefile b/boards/e104-bt5011a-tb/Makefile new file mode 100644 index 0000000000..e3e754831f --- /dev/null +++ b/boards/e104-bt5011a-tb/Makefile @@ -0,0 +1,5 @@ +MODULE = board + +DIRS = $(RIOTBOARD)/common/e104-bt50xxa-tb + +include $(RIOTBASE)/Makefile.base diff --git a/boards/e104-bt5011a-tb/Makefile.dep b/boards/e104-bt5011a-tb/Makefile.dep new file mode 100644 index 0000000000..d5b015b176 --- /dev/null +++ b/boards/e104-bt5011a-tb/Makefile.dep @@ -0,0 +1,3 @@ +USEMODULE += boards_common_e104_bt50xxa_tb + +include $(RIOTBOARD)/common/e104-bt50xxa-tb/Makefile.dep diff --git a/boards/e104-bt5011a-tb/Makefile.features b/boards/e104-bt5011a-tb/Makefile.features new file mode 100644 index 0000000000..dd2fe05539 --- /dev/null +++ b/boards/e104-bt5011a-tb/Makefile.features @@ -0,0 +1,3 @@ +CPU_MODEL = nrf52811xxaa + +include $(RIOTBOARD)/common/e104-bt50xxa-tb/Makefile.features diff --git a/boards/e104-bt5011a-tb/Makefile.include b/boards/e104-bt5011a-tb/Makefile.include new file mode 100644 index 0000000000..f3dda365ba --- /dev/null +++ b/boards/e104-bt5011a-tb/Makefile.include @@ -0,0 +1 @@ +include $(RIOTBOARD)/common/e104-bt50xxa-tb/Makefile.include diff --git a/boards/e104-bt5011a-tb/doc.txt b/boards/e104-bt5011a-tb/doc.txt new file mode 100644 index 0000000000..21e4d4fab4 --- /dev/null +++ b/boards/e104-bt5011a-tb/doc.txt @@ -0,0 +1,31 @@ +/** +@defgroup boards_e104-bt5011a-tb E104-BT5011A Test Board +@ingroup boards +@brief Support for the Ebyte E104-BT5011A Test Board (nRF52811) + +## General information + +The E104-BT5011A Test Board is a cheap break-out board for the E104-BT5011A module. +It's based on the nRF52811 and by default comes with a Firmware that accepts AT +commands over UART, but it can be flashed with RIOT easily. + + - [Module Datasheet](http://www.ebyte.com/en/downpdf.aspx?id=1074) + - [Module Website](http://www.ebyte.com/en/product-view-news.aspx?id=1074) + +## Flashing the board + +To flash the board, you have to connect a SWD programmer to the pins labeled SWDIO and +SWCLK. Also make sure to connect GND. +P0.21 is Reset. + +## Accessing STDIO via UART + +The STDIO is directly accessible via the USB port. On a Linux host, it's +generally mapped to `/dev/ttyUSB0`. + +Use the `term` target to connect to the board serial port
+``` + make BOARD=e104-bt5011a-tb -C examples/hello-world term +``` + + */