Wrap up the project

master
Jason Zhu 2021-02-14 14:34:09 +11:00
parent fb2a8ca8fb
commit 2ba3845f5f
5 changed files with 72 additions and 0 deletions

24
.dockerignore 100644
View File

@ -0,0 +1,24 @@
**/.classpath
**/.dockerignore
**/.env
**/.git
**/.gitignore
**/.project
**/.settings
**/.toolstarget
**/.vs
**/.vscode
**/*.*proj.user
**/*.dbmdl
**/*.jfm
**/azds.yaml
**/bin
**/charts
**/docker-compose*
**/Dockerfile*
**/node_modules
**/npm-debug.log
**/obj
**/secrets.dev.yaml
**/values.dev.yaml
README.md

19
Dockerfile 100644
View File

@ -0,0 +1,19 @@
# GCC support can be specified at major, minor, or micro version
# (e.g. 8, 8.2 or 8.2.0).
# See https://hub.docker.com/r/library/gcc/ for all supported GCC
# tags from Docker Hub.
# See https://docs.docker.com/samples/library/gcc/ for more on how to use this image
FROM gcc:latest as dev
# These commands copy your files into the specified directory in the image
# and set that as the working location
COPY SDK/nRF5_SDK_17.0.2_d674dde /usr/src/myapp
WORKDIR /usr/src/myapp/examples/ble_peripheral/ble_app_blinky
# This command compiles your app using GCC, adjust for your source code
# RUN g++ -o myapp main.cpp
# This command runs your application, comment out this line to compile only
# CMD ["./myapp"]
LABEL Name=nordic-gcc Version=0.0.1

View File

@ -3,3 +3,11 @@
This is a project aimed to create a HID dongle for my Filco Minila bluetooth keyboard. I love this keyboard, but it cannot be used during BIOS, and will have some connection issue. I would love to create a HID dongle for this keyboard only. This is a project aimed to create a HID dongle for my Filco Minila bluetooth keyboard. I love this keyboard, but it cannot be used during BIOS, and will have some connection issue. I would love to create a HID dongle for this keyboard only.
This dongle is created out of nRF52840 dongle from nordic This dongle is created out of nRF52840 dongle from nordic
Reference:
* [The nRF52840 USB Dongle Tutorial (Part 1)](https://www.novelbits.io/nrf52840-usb-dongle-tutorial-1/)
* [nRF52840 Dongle Programming Tutorial](https://devzone.nordicsemi.com/nordic/short-range-guides/b/getting-started/posts/nrf52840-dongle-programming-tutorial)
* [Nordic Semiconductor: Programming the nRF52840 Dongle](https://infocenter.nordicsemi.com/index.jsp?topic=%2Fug_nc_programmer%2FUG%2Fnrf_connect_programmer%2Fncp_programming_dongle.html)
* [Docker for nRF52840](https://hub.docker.com/r/hardwario/gcc-arm-embedded-nrf52)
Update on 2020-02-14: This project is currently paused. As testing shows that nRF52840 USB Dongle cannot detect the Filco minila air. So, I have to go back to raspberry pi zero w.

View File

@ -0,0 +1,8 @@
version: '3.4'
services:
hidkeyboarddongle:
image: hidkeyboarddongle
build:
context: .
dockerfile: ./Dockerfile

13
docker-compose.yml 100644
View File

@ -0,0 +1,13 @@
version: '3.4'
services:
nordic-gcc:
container_name: nordic-gcc
# image: hidkeyboarddongle
build:
context: .
dockerfile: ./Dockerfile
entrypoint: /bin/sh
working_dir: /usr/
stdin_open: true
tty: true