Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ae70b4b02a | ||
|
|
7ca09a66c5 | ||
|
|
b38f2c390d | ||
|
|
ac74931f2f | ||
|
|
2b4b78ac84 | ||
|
|
e14110f195 | ||
|
|
dab1759193 | ||
|
|
8aa6a5c0bf | ||
|
|
4d05a8f576 | ||
|
|
68a64b7b74 | ||
|
|
53f3c3a6c6 | ||
|
|
48ec730006 | ||
|
|
cd63ca1305 | ||
|
|
4959758715 | ||
|
|
9c8c291b0c | ||
|
|
e4b7638577 | ||
|
|
b088d20759 | ||
|
|
79eea88d64 | ||
|
|
e281c6e0af | ||
|
|
6d116dbe2e | ||
|
|
46ad2336d7 | ||
|
|
ca2bb7a8b4 | ||
|
|
395b37b761 | ||
|
|
f72f86790d | ||
|
|
8095b06cce | ||
|
|
a09eb86dcf | ||
|
|
0516ba3929 | ||
|
|
e06a0ab709 | ||
|
|
202fcd39fa | ||
|
|
92141059d5 | ||
|
|
11657f41e1 | ||
|
|
6247922370 | ||
|
|
5c7b6fd64a | ||
|
|
2c92de2f7f | ||
|
|
a974a2f501 | ||
|
|
d953180b28 | ||
|
|
5c03cd5072 | ||
|
|
4a968d4981 | ||
|
|
cbb77b5782 | ||
|
|
c9e02ff9b2 | ||
|
|
9e10b6bdc6 | ||
|
|
77e19fd5e5 | ||
|
|
69b8e3b833 | ||
|
|
b07835e0ec | ||
|
|
e89846187c | ||
|
|
901ae0634c | ||
|
|
d46876fcaa | ||
|
|
253c76d45a | ||
|
|
75ce487b1b |
+5
-2
@@ -1,7 +1,10 @@
|
||||
build/_build/*
|
||||
!build/_build/nrf52832_xxaa.hex
|
||||
.vscode*
|
||||
.directory*
|
||||
.DS_Store
|
||||
cscope.out
|
||||
Docs
|
||||
Docs
|
||||
nrf52832/build/_build/*
|
||||
!nrf52832/build/_build/nrf52832_xxaa.hex
|
||||
nrf52840/build/_build/*
|
||||
!nrf52840/build/_build/nrf52832_xxaa.hex
|
||||
+10
@@ -20,10 +20,13 @@
|
||||
path = libs/MCP23017
|
||||
url = https://git.simvelop.de/aconnoLibs/MCP23017
|
||||
[submodule "libs/KDT00030"]
|
||||
path = libs/KDT00030
|
||||
url = https://git.simvelop.de/aconnoLibs/KDT00030
|
||||
[submodule "libs/aconnoSAADC"]
|
||||
path = "libs/aconnoSAADC"
|
||||
url = https://git.simvelop.de/aconnoLibs/aconnoSAADC
|
||||
[submodule "libs/aconnoSensor"]
|
||||
path = "libs/aconnoSensor"
|
||||
url = https://git.simvelop.de/aconnoLibs/aconnoSensor
|
||||
[submodule "libs/LDR"]
|
||||
path = libs/LDR
|
||||
@@ -38,6 +41,7 @@
|
||||
path = libs/LSM9DS1
|
||||
url = https://git.simvelop.de/aconnoLibs/LSM9DS1
|
||||
[submodule "libs/aconnoPWM"]
|
||||
path = "libs/aconnoPWM"
|
||||
url = https://git.simvelop.de/aconnoLibs/aconnoPWM
|
||||
[submodule "libs/servo"]
|
||||
path = libs/servo
|
||||
@@ -46,3 +50,9 @@
|
||||
path = libs/aconnoBeeper
|
||||
url = https://git.simvelop.de/aconnoLibs/aconnoBeeper.git
|
||||
|
||||
[submodule "libs/aconnoLog"]
|
||||
path = libs/aconnoLog
|
||||
url = https://git.simvelop.de/aconnoLibs/aconnoLog
|
||||
[submodule "aconnoSettings"]
|
||||
path = aconnoSettings
|
||||
url = https://git.simvelop.de/aconnoLibs/aconnoSettings
|
||||
|
||||
Vendored
+20
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Linux",
|
||||
"includePath": [
|
||||
"${workspaceFolder}/**",
|
||||
"~/acnProject/nRF5_SDK_15.2.0",
|
||||
"~/acnProject/FreeRTOSv10.2.1_191129/FreeRTOS",
|
||||
"/usr/local/include",
|
||||
"/usr/include"
|
||||
],
|
||||
"defines": [],
|
||||
"compilerPath": "/opt/gcc-arm-none-eabi-9-2019-q4-major/bin",
|
||||
"cStandard": "c11",
|
||||
"cppStandard": "c++2a",
|
||||
"intelliSenseMode": "clang-x64"
|
||||
}
|
||||
],
|
||||
"version": 4
|
||||
}
|
||||
Vendored
+26
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Linux",
|
||||
"includePath": [
|
||||
"/home/sepehr/acnProject/ACD528xx_Test_Project/**",
|
||||
"/home/sepehr/acnProject/nRF5_SDK_15.2.0/**",
|
||||
"/home/sepehr/acnProject/FreeRTOSv10.2.1_191129/FreeRTOS/",
|
||||
"/opt/gcc-arm-none-eabi-9-2019-q4-major/include",
|
||||
"/usr/local/include",
|
||||
"/usr/include"
|
||||
],
|
||||
"browse": {
|
||||
"path":[
|
||||
"/home/sepehr/acnProject/ACD528xx_Test_Project/**"
|
||||
]
|
||||
},
|
||||
"defines": [],
|
||||
"compilerPath": "/opt/gcc-arm-none-eabi-9-2019-q4-major/bin",
|
||||
"cStandard": "c11",
|
||||
"cppStandard": "c++20",
|
||||
"intelliSenseMode": "gcc-x64"
|
||||
}
|
||||
],
|
||||
"version": 4
|
||||
}
|
||||
Vendored
+26
@@ -0,0 +1,26 @@
|
||||
{
|
||||
// Use IntelliSense to learn about possible attributes.
|
||||
// Hover to view descriptions of existing attributes.
|
||||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Cortex Debug",
|
||||
"cwd": "${workspaceRoot}",
|
||||
"windows": {
|
||||
"executable": ".\\_build\\nrf52832_xxaa.out"
|
||||
},
|
||||
"linux": {
|
||||
"executable": ".\\_build\\nrf52832_xxaa.out"
|
||||
},
|
||||
"request": "launch",
|
||||
"type": "cortex-debug",
|
||||
"servertype": "jlink",
|
||||
"device": "nRF52832_xxAA",
|
||||
"interface": "swd",
|
||||
"ipAddress": "localhost",
|
||||
"serialNumber": null,
|
||||
"preLaunchTask": "all",
|
||||
}
|
||||
]
|
||||
}
|
||||
Vendored
+29
@@ -0,0 +1,29 @@
|
||||
{
|
||||
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
||||
// for the documentation about the tasks.json format
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "all",
|
||||
"dependsOn": "compile_erase_merge",
|
||||
"type": "shell",
|
||||
"linux": {
|
||||
"command": "cd ${workspaceFolder}; make all;"
|
||||
},
|
||||
"windows": {
|
||||
"command": "cd ${workspaceFolder}; make all;"
|
||||
},
|
||||
"presentation": {
|
||||
"echo": true,
|
||||
"reveal": "always",
|
||||
"focus": false,
|
||||
"panel": "shared"
|
||||
},
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": true
|
||||
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1 +1 @@
|
||||
aconno ACD52832 Master example
|
||||
aconno ACD52832 Master example used as a reference project for further experimentation with the hardware.
|
||||
|
||||
+1
-1
Submodule aconnoBLE updated: fb4a9d669a...114d80fc3d
@@ -10,7 +10,6 @@
|
||||
*/
|
||||
|
||||
//------------------------------ INCLUDES -------------------------------------
|
||||
|
||||
#include "aconnoHelpers.h"
|
||||
#include "sdk_config.h"
|
||||
#include "app_error.h"
|
||||
@@ -22,7 +21,7 @@
|
||||
#include "nrf_log_default_backends.h"
|
||||
|
||||
#include "MCP23017.h"
|
||||
#include "acd52832Bsp.h"
|
||||
#include "aconnoBsp.h"
|
||||
//-------------------------------- MACROS -------------------------------------
|
||||
//----------------------------- DATA TYPES ------------------------------------
|
||||
//--------------------- PRIVATE FUNCTION PROTOTYPES ---------------------------
|
||||
|
||||
+197
-1
@@ -15,7 +15,7 @@
|
||||
*
|
||||
*/
|
||||
const unsigned char intro1[] = {
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
|
||||
0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
|
||||
,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
|
||||
,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
|
||||
,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
|
||||
@@ -217,6 +217,202 @@ const unsigned char intro1[] = {
|
||||
,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
|
||||
};
|
||||
|
||||
const unsigned char nesLogo[] = {
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x02,
|
||||
0x00, 0x00, 0x00, 0x00, 0x08, 0x10, 0x40, 0x08, 0x10, 0x41, 0x04, 0x10, 0x40, 0x80, 0x00, 0x00, 0x01, 0x04, 0x10, 0x40, 0x80, 0x00, 0x03, 0xff, 0xff, 0xf0,
|
||||
0x00, 0x00, 0x03, 0xff, 0xff, 0xe3, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xe0, 0x00, 0x03, 0xff, 0xff, 0xff, 0xff, 0xc0, 0x00, 0x03, 0xff, 0xff, 0xf0, 0x00,
|
||||
0x00, 0x03, 0xff, 0xff, 0xe3, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xe0, 0x00, 0x1f, 0xff, 0xff, 0xff, 0xff, 0xc0, 0x00, 0x03, 0xff, 0xff, 0xf1, 0x00, 0x00,
|
||||
0x03, 0xff, 0xff, 0xe3, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xe7, 0x00, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xc7, 0x00, 0x03, 0xff, 0xff, 0xf9, 0x00, 0x00, 0x03,
|
||||
0xff, 0xff, 0xe7, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xc7, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xc7, 0x00, 0x03, 0xff, 0xff, 0xf8, 0x00, 0x00, 0x03, 0xff,
|
||||
0xff, 0xe3, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xe7, 0x01, 0xff, 0xff, 0xff, 0xff, 0xff, 0xc7, 0x00, 0x03, 0xff, 0xff, 0xf8, 0x80, 0x00, 0x03, 0xff, 0xff,
|
||||
0xe7, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xc7, 0x03, 0xff, 0xff, 0xff, 0xff, 0xff, 0xc7, 0x00, 0x03, 0xff, 0xff, 0xf8, 0x80, 0x00, 0x07, 0xff, 0xff, 0xe7,
|
||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xc7, 0x07, 0xff, 0xff, 0xff, 0xff, 0xff, 0xc6, 0x00, 0x03, 0xff, 0xff, 0xf8, 0x80, 0x00, 0x03, 0xff, 0xff, 0xe7, 0xff,
|
||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xc6, 0x0f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xce, 0x00, 0x03, 0xff, 0xff, 0xfc, 0x80, 0x00, 0x07, 0xff, 0xff, 0xe7, 0xff, 0xff,
|
||||
0xff, 0xff, 0xff, 0xff, 0xc6, 0x1f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xc6, 0x00, 0x03, 0xff, 0xff, 0xf8, 0x00, 0x00, 0x07, 0xff, 0xff, 0xe7, 0xff, 0xff, 0xff,
|
||||
0xff, 0xff, 0xff, 0xc4, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xce, 0x00, 0x03, 0xff, 0xff, 0xfc, 0x40, 0x00, 0x07, 0xff, 0xff, 0xe7, 0xff, 0xff, 0xff, 0xff,
|
||||
0xff, 0xff, 0xc4, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xc6, 0x00, 0x03, 0xff, 0xff, 0xfc, 0x40, 0x00, 0x07, 0xff, 0xff, 0xc7, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||||
0xff, 0xc0, 0x7f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xce, 0x00, 0x03, 0xff, 0xff, 0xfc, 0x40, 0x00, 0x07, 0xff, 0xff, 0xc7, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||||
0xc0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xce, 0x00, 0x07, 0xff, 0xff, 0xfe, 0x40, 0x00, 0x07, 0xff, 0xff, 0xc7, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xc0,
|
||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x8e, 0x00, 0x03, 0xff, 0xff, 0xfe, 0x40, 0x00, 0x07, 0xff, 0xff, 0xc7, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xc1, 0xff,
|
||||
0xff, 0xff, 0xff, 0xff, 0xff, 0x8e, 0x00, 0x07, 0xff, 0xff, 0xfe, 0x20, 0x00, 0x07, 0xff, 0xff, 0xc7, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xc1, 0xff, 0xff,
|
||||
0xff, 0xff, 0xff, 0xff, 0xce, 0x00, 0x07, 0xff, 0xff, 0xfe, 0x20, 0x00, 0x07, 0xff, 0xff, 0xc7, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xc3, 0xff, 0xff, 0xff,
|
||||
0xff, 0xff, 0xff, 0x8e, 0x00, 0x07, 0xff, 0xff, 0xfe, 0x20, 0x00, 0x07, 0xff, 0xff, 0xc7, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xc3, 0xff, 0xff, 0xff, 0xff,
|
||||
0xff, 0xff, 0x8e, 0x00, 0x07, 0xff, 0xff, 0xfe, 0x20, 0x00, 0x07, 0xff, 0xff, 0xc7, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xc7, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||||
0xff, 0x8e, 0x00, 0x07, 0xff, 0xff, 0xff, 0x20, 0x00, 0x07, 0xff, 0xff, 0xc7, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x87, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||||
0x8e, 0x00, 0x07, 0xff, 0xff, 0xff, 0x10, 0x00, 0x07, 0xff, 0xff, 0xcf, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x87, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x8e,
|
||||
0x00, 0x07, 0xff, 0xff, 0xff, 0x10, 0x00, 0x07, 0xff, 0xff, 0xc7, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x8f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x8e, 0x00,
|
||||
0x07, 0xff, 0xff, 0xff, 0x10, 0x00, 0x07, 0xff, 0xff, 0xcf, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x8f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x8c, 0x00, 0x07,
|
||||
0xff, 0xff, 0xff, 0x10, 0x00, 0x0f, 0xff, 0xff, 0xcf, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x1f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x9c, 0x00, 0x07, 0xff,
|
||||
0xff, 0xff, 0x90, 0x00, 0x07, 0xff, 0xff, 0xcf, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x1f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x8c, 0x00, 0x07, 0xff, 0xff,
|
||||
0xff, 0x88, 0x00, 0x0f, 0xff, 0xff, 0xcf, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x1f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x9c, 0x00, 0x07, 0xff, 0xff, 0xff,
|
||||
0x88, 0x00, 0x07, 0xff, 0xff, 0x8f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfe, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x8c, 0x00, 0x07, 0xff, 0xff, 0xff, 0x88,
|
||||
0x00, 0x0f, 0xff, 0xff, 0xcf, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfe, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x9c, 0x00, 0x07, 0xff, 0xff, 0xff, 0x88, 0x00,
|
||||
0x0f, 0xff, 0xff, 0x8f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfe, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x9c, 0x00, 0x07, 0xff, 0xff, 0xff, 0xc8, 0x00, 0x0f,
|
||||
0xff, 0xff, 0x8f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfe, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x1c, 0x00, 0x07, 0xff, 0xff, 0xff, 0xc4, 0x00, 0x0f, 0xff,
|
||||
0xff, 0x8f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfc, 0x7f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x9c, 0x00, 0x0f, 0xff, 0xff, 0xff, 0xc4, 0x00, 0x0f, 0xff, 0xff,
|
||||
0x8f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfc, 0x7f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x1c, 0x00, 0x0f, 0xff, 0xff, 0xff, 0xc4, 0x00, 0x0f, 0xff, 0xff, 0x8f,
|
||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xfc, 0x7f, 0xff, 0xff, 0xff, 0x41, 0x12, 0x55, 0x1c, 0x00, 0x0f, 0xff, 0xff, 0xff, 0xc4, 0x00, 0x0f, 0xff, 0xff, 0x8f, 0xff,
|
||||
0xff, 0xff, 0xff, 0xff, 0xfc, 0x7f, 0xff, 0xff, 0xf8, 0x00, 0x00, 0x00, 0x1c, 0x00, 0x0f, 0xff, 0xff, 0xff, 0xe4, 0x00, 0x0f, 0xff, 0xff, 0x8f, 0xff, 0xff,
|
||||
0xff, 0xff, 0xff, 0xfc, 0x7f, 0xff, 0xff, 0xf0, 0x00, 0x00, 0x00, 0x1c, 0x00, 0x0f, 0xff, 0xff, 0xff, 0xe0, 0x00, 0x0f, 0xff, 0xff, 0x8f, 0xff, 0xff, 0x80,
|
||||
0x00, 0x00, 0x20, 0xff, 0xff, 0xff, 0xc0, 0x00, 0x00, 0x00, 0x1c, 0x00, 0x0f, 0xff, 0xff, 0xff, 0xe2, 0x00, 0x0f, 0xff, 0xff, 0x8f, 0xff, 0xff, 0x80, 0x00,
|
||||
0x00, 0x00, 0xff, 0xff, 0xff, 0xc0, 0x00, 0x00, 0x00, 0x1c, 0x00, 0x0f, 0xff, 0xff, 0xff, 0xe2, 0x00, 0x0f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x80, 0x00, 0x00,
|
||||
0x00, 0xff, 0xff, 0xff, 0x00, 0xb6, 0xed, 0xdb, 0xfc, 0x00, 0x0f, 0xff, 0xff, 0xff, 0xe2, 0x00, 0x0f, 0xff, 0xff, 0x8f, 0xff, 0xff, 0x80, 0x00, 0x00, 0x00,
|
||||
0xff, 0xff, 0xff, 0x03, 0xff, 0xff, 0xff, 0xf8, 0x00, 0x0f, 0xff, 0xff, 0xff, 0xf2, 0x00, 0x1f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x80, 0x00, 0x00, 0x00, 0xff,
|
||||
0xff, 0xfe, 0x0f, 0xff, 0xff, 0xff, 0xf8, 0x00, 0x0f, 0xff, 0xff, 0xff, 0xf0, 0x00, 0x0f, 0xff, 0xff, 0x9f, 0xfd, 0xff, 0x8f, 0xff, 0xff, 0xf8, 0xff, 0x7d,
|
||||
0xfe, 0x1f, 0xff, 0xff, 0xff, 0xf8, 0x00, 0x0f, 0xff, 0xff, 0xff, 0xf1, 0x00, 0x1f, 0xff, 0xff, 0x1f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0xf9, 0xff, 0xff, 0xfe,
|
||||
0x3f, 0xff, 0xff, 0xff, 0xf8, 0x00, 0x0f, 0xff, 0xff, 0xff, 0xf1, 0x00, 0x0f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0xf8, 0xff, 0xff, 0xfc, 0x3f,
|
||||
0xff, 0xff, 0xff, 0xf8, 0x00, 0x0f, 0xff, 0xff, 0xff, 0xf1, 0x00, 0x1f, 0xff, 0xff, 0x1f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0xf1, 0xff, 0xff, 0xfc, 0x7f, 0xff,
|
||||
0xff, 0xff, 0xf8, 0x00, 0x0f, 0xff, 0xff, 0xff, 0xf9, 0x00, 0x0f, 0xff, 0xff, 0x1f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0xf9, 0xff, 0xff, 0xfc, 0x7f, 0xe0, 0x00,
|
||||
0x00, 0x00, 0x00, 0x0f, 0xff, 0xff, 0xff, 0xf0, 0x00, 0x1f, 0xff, 0xff, 0x9f, 0xff, 0xff, 0x1f, 0xff, 0xff, 0xf1, 0xff, 0xff, 0xf8, 0xff, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x0f, 0xbf, 0xff, 0xff, 0xf8, 0x80, 0x1f, 0xff, 0xff, 0x1f, 0xff, 0xff, 0x1f, 0xff, 0xff, 0xf1, 0xff, 0xff, 0xf8, 0xfe, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x1f, 0xff, 0xff, 0xff, 0xf8, 0x80, 0x1f, 0xff, 0xff, 0x1f, 0xff, 0xff, 0x1c, 0x00, 0x00, 0x01, 0xff, 0xff, 0xf8, 0xfc, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x0f, 0xff, 0xff, 0xff, 0xf8, 0x80, 0x1f, 0xff, 0xff, 0x1f, 0xff, 0xff, 0x1c, 0x00, 0x00, 0x01, 0xff, 0xff, 0xf8, 0xf8, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1f,
|
||||
0xff, 0xff, 0xff, 0xfc, 0x80, 0x1f, 0xff, 0xff, 0x1f, 0xff, 0xff, 0x1c, 0x00, 0x00, 0x01, 0xff, 0xff, 0xf8, 0xf0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1f, 0xff,
|
||||
0xff, 0xff, 0xfc, 0x00, 0x1f, 0xff, 0xff, 0x1f, 0xff, 0xff, 0x1c, 0x00, 0x00, 0x01, 0xff, 0xff, 0xf8, 0xf0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1f, 0xff, 0xff,
|
||||
0xff, 0xfc, 0xc0, 0x1f, 0xff, 0xff, 0x1f, 0xff, 0xff, 0x1c, 0x00, 0x00, 0x01, 0xff, 0xff, 0xf8, 0xe0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1f, 0xff, 0xff, 0xff,
|
||||
0xfc, 0x40, 0x1f, 0xff, 0xff, 0x1f, 0x7f, 0xff, 0x1c, 0x00, 0x00, 0x01, 0xff, 0xff, 0xf8, 0xe0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1f, 0xf7, 0xff, 0xff, 0xfc,
|
||||
0x40, 0x1f, 0xff, 0xff, 0x3f, 0xff, 0xff, 0x38, 0x00, 0x00, 0x01, 0xff, 0xff, 0xf8, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1f, 0xff, 0xff, 0xff, 0xfc, 0x40,
|
||||
0x1f, 0xff, 0xff, 0x1f, 0xff, 0xff, 0x18, 0x00, 0x00, 0x01, 0xfe, 0xff, 0xfc, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1f, 0xff, 0xff, 0xff, 0xfe, 0x00, 0x1f,
|
||||
0xff, 0xff, 0x3f, 0xff, 0xff, 0x38, 0x00, 0x00, 0x01, 0xff, 0xff, 0xfc, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1f, 0xff, 0xff, 0xff, 0xfe, 0x20, 0x1f, 0xff,
|
||||
0xff, 0x1f, 0xff, 0xff, 0x38, 0x00, 0x00, 0x01, 0xff, 0xff, 0xfc, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1f, 0xff, 0xff, 0xff, 0xfe, 0x20, 0x3f, 0xff, 0xfe,
|
||||
0x3f, 0xff, 0xff, 0x38, 0x00, 0x00, 0x01, 0xff, 0xff, 0xfc, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1f, 0xff, 0xff, 0xff, 0xfe, 0x20, 0x1f, 0xff, 0xff, 0x3f,
|
||||
0xff, 0xfe, 0x38, 0x00, 0x00, 0x01, 0xff, 0xff, 0xfe, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1f, 0xff, 0xff, 0xff, 0xff, 0x20, 0x3f, 0xff, 0xfe, 0x3f, 0xff,
|
||||
0xff, 0x38, 0x00, 0x00, 0x01, 0xff, 0xff, 0xfe, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1f, 0xff, 0xff, 0xff, 0xfe, 0x20, 0x1f, 0xff, 0xfe, 0x3f, 0xff, 0xfe,
|
||||
0x38, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1f, 0xfd, 0xff, 0xff, 0xff, 0x10, 0x3f, 0xff, 0xff, 0x3f, 0xff, 0xfe, 0x38,
|
||||
0x00, 0x00, 0x01, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1f, 0xff, 0xff, 0xff, 0xff, 0x10, 0x3f, 0xff, 0xfe, 0x3f, 0xff, 0xfe, 0x38, 0x00,
|
||||
0x00, 0x00, 0xff, 0xff, 0xff, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3f, 0xff, 0xff, 0xff, 0xff, 0x10, 0x3f, 0xff, 0xfe, 0x3f, 0xff, 0xfe, 0x38, 0x00, 0x00,
|
||||
0x01, 0xff, 0xff, 0xff, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3f, 0xff, 0xff, 0xff, 0xff, 0x10, 0x3f, 0xff, 0xfe, 0x3f, 0xff, 0xfe, 0x38, 0x00, 0x00, 0x00,
|
||||
0xff, 0xff, 0xff, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3f, 0xff, 0xff, 0xff, 0xff, 0x90, 0x3f, 0xff, 0xfe, 0x3f, 0xff, 0xfe, 0x38, 0x00, 0x00, 0x00, 0xff,
|
||||
0xff, 0xff, 0xe0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3f, 0xff, 0xff, 0xff, 0xff, 0x88, 0x3f, 0xff, 0xfe, 0x3f, 0xff, 0xfe, 0x38, 0x00, 0x00, 0x00, 0xff, 0xff,
|
||||
0xff, 0xf0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3f, 0xff, 0xff, 0xff, 0xff, 0x88, 0x3f, 0xff, 0xfe, 0x3f, 0xff, 0xfe, 0x70, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff,
|
||||
0xf8, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3f, 0xff, 0xff, 0xff, 0xff, 0x88, 0x3f, 0xff, 0xfe, 0x3f, 0xff, 0xfe, 0x70, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xfc,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x3f, 0xff, 0xbf, 0xff, 0xff, 0x88, 0x3f, 0xff, 0xfe, 0x7f, 0xff, 0xfe, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xfc, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xc8, 0x3f, 0xff, 0xfe, 0x3f, 0xff, 0xfe, 0x00, 0x00, 0x00, 0x00, 0x7f, 0xff, 0xff, 0xfe, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xc4, 0x3f, 0xff, 0xfe, 0x7f, 0xff, 0xfc, 0x00, 0x00, 0x00, 0x00, 0x7f, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x3f, 0xbf, 0xff, 0xff, 0xff, 0xc4, 0x3f, 0xff, 0xfe, 0x3f, 0xff, 0xfc, 0x00, 0x00, 0x00, 0x00, 0x7f, 0xff, 0xff, 0xff, 0x80, 0x00, 0x00, 0x00,
|
||||
0x00, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xc4, 0x7f, 0xff, 0xfc, 0x7f, 0xff, 0xfe, 0x00, 0x00, 0x00, 0x00, 0x7f, 0xff, 0xff, 0xff, 0x80, 0x00, 0x00, 0x00, 0x00,
|
||||
0x3f, 0xff, 0xff, 0xff, 0xff, 0xc4, 0x3f, 0xff, 0xfe, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfc, 0x3f, 0xff, 0xff, 0xff, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x3f,
|
||||
0xff, 0xff, 0xff, 0xff, 0xe4, 0x7f, 0xff, 0xfc, 0x7f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfc, 0x7f, 0xff, 0xff, 0xff, 0xe0, 0x00, 0x00, 0x00, 0x00, 0x3f, 0xff,
|
||||
0xff, 0xff, 0xff, 0xe4, 0x3f, 0xff, 0xfc, 0x7f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfc, 0x3f, 0xff, 0xff, 0xff, 0xf0, 0x00, 0x00, 0x00, 0x00, 0x7f, 0xff, 0xff,
|
||||
0xff, 0xff, 0xe2, 0x7f, 0xff, 0xfe, 0x7f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfc, 0x3f, 0xff, 0xff, 0xff, 0xf0, 0x00, 0x00, 0x00, 0x00, 0x3f, 0xff, 0xff, 0xff,
|
||||
0xff, 0xe0, 0x7f, 0xff, 0xfc, 0x7f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfc, 0x1f, 0xff, 0xff, 0xff, 0xf8, 0x00, 0x00, 0x00, 0x00, 0x7f, 0xff, 0xbf, 0xff, 0xff,
|
||||
0xe2, 0x7f, 0xff, 0xfc, 0x7f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfc, 0x1f, 0xff, 0xff, 0xff, 0xfc, 0x00, 0x00, 0x00, 0x00, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xf0,
|
||||
0x7f, 0xff, 0xfc, 0x7f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfc, 0x1f, 0xff, 0xff, 0xff, 0xfe, 0x00, 0x00, 0x00, 0x00, 0x7f, 0xff, 0xff, 0xff, 0xff, 0xf0, 0x7f,
|
||||
0xff, 0xfc, 0x7f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfc, 0x1f, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x7f, 0xbf, 0xff, 0xff, 0xff, 0xf0, 0x7f, 0xff,
|
||||
0xfc, 0x7f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfc, 0x8f, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x7f, 0xff, 0xfe, 0xff, 0xff, 0xf0, 0x7f, 0xff, 0xfc,
|
||||
0x7f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf8, 0x8f, 0xff, 0xff, 0xff, 0xff, 0x80, 0x00, 0x00, 0x00, 0x7f, 0xff, 0xfe, 0xff, 0xff, 0xf0, 0x7f, 0xff, 0xfc, 0x7f,
|
||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xf8, 0x87, 0xff, 0xff, 0xff, 0xff, 0xc0, 0x00, 0x00, 0x00, 0x7f, 0xff, 0xfe, 0xff, 0xff, 0xf8, 0x7f, 0xff, 0xfc, 0xff, 0xff,
|
||||
0xff, 0xff, 0xff, 0xff, 0xfc, 0xc7, 0xff, 0xff, 0xff, 0xff, 0xe0, 0x00, 0x00, 0x00, 0x7f, 0xff, 0xfe, 0xff, 0xff, 0xf8, 0x7f, 0xff, 0xfc, 0x7f, 0xff, 0xff,
|
||||
0xff, 0xff, 0xff, 0xf8, 0xc3, 0xff, 0xff, 0xff, 0xff, 0xe0, 0x00, 0x00, 0x00, 0x7f, 0xff, 0xfe, 0x7f, 0xff, 0xf8, 0x7f, 0xff, 0xfc, 0xff, 0xff, 0xff, 0xff,
|
||||
0xff, 0xff, 0xf8, 0xc3, 0xff, 0xff, 0xff, 0xff, 0xf0, 0x00, 0x00, 0x00, 0x7f, 0xff, 0xfe, 0x7f, 0xff, 0xf8, 0x7f, 0xff, 0xfc, 0x7f, 0xff, 0xff, 0xff, 0xff,
|
||||
0xff, 0xf8, 0xe1, 0xff, 0xff, 0xff, 0xff, 0xf8, 0x00, 0x00, 0x00, 0x7f, 0xff, 0xfe, 0x7f, 0xff, 0xf8, 0xff, 0xff, 0xf8, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||||
0xf8, 0xe1, 0xff, 0xff, 0xff, 0xff, 0xfc, 0x00, 0x00, 0x00, 0x7f, 0xff, 0xfe, 0x7f, 0xff, 0xf8, 0x7f, 0xff, 0xfc, 0x7f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf8,
|
||||
0xe0, 0xff, 0xff, 0xff, 0xff, 0xfc, 0x00, 0x00, 0x00, 0x7f, 0xff, 0xfc, 0x7f, 0xff, 0xfc, 0xff, 0xff, 0xf8, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf8, 0xe0,
|
||||
0x7f, 0xff, 0xff, 0xff, 0xfe, 0x00, 0x00, 0x00, 0x7f, 0xef, 0xfc, 0x3f, 0xff, 0xfc, 0xff, 0xff, 0xf8, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf8, 0xe8, 0x7f,
|
||||
0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0xfc, 0x3f, 0xff, 0xfc, 0xff, 0xff, 0xfc, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf9, 0xc0, 0x3f, 0xff,
|
||||
0xff, 0xff, 0xff, 0x80, 0x00, 0x00, 0x7f, 0xff, 0xfc, 0x3f, 0xff, 0xfc, 0xff, 0xff, 0xf8, 0xf7, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf8, 0xc4, 0x1f, 0xff, 0xff,
|
||||
0xff, 0xff, 0x80, 0x00, 0x00, 0xff, 0xff, 0xfc, 0x3f, 0xff, 0xfc, 0xff, 0xff, 0xf8, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf9, 0xc2, 0x1f, 0xff, 0xff, 0xff,
|
||||
0xff, 0xc0, 0x00, 0x00, 0x7f, 0xff, 0xfc, 0x3f, 0xff, 0xfe, 0xff, 0xff, 0xf8, 0xff, 0xff, 0xff, 0xf7, 0xff, 0xff, 0xf9, 0xc2, 0x07, 0xff, 0xff, 0xff, 0xff,
|
||||
0xc0, 0x00, 0x00, 0xff, 0xff, 0xfc, 0x3f, 0xff, 0xfe, 0xff, 0xff, 0xf8, 0xff, 0xef, 0xbd, 0xff, 0xff, 0xff, 0xf8, 0xc1, 0x07, 0xff, 0xff, 0xff, 0xff, 0xc0,
|
||||
0x00, 0x00, 0x7f, 0xff, 0xfc, 0x1f, 0xff, 0xfe, 0xff, 0xff, 0xf8, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf9, 0xc1, 0x81, 0xff, 0xff, 0xff, 0xff, 0xe0, 0x00,
|
||||
0x00, 0xff, 0xff, 0xfc, 0x1f, 0xff, 0xff, 0xff, 0xff, 0xf8, 0xff, 0xff, 0xff, 0xff, 0xbf, 0xff, 0xf1, 0xc0, 0xc0, 0xff, 0xff, 0xff, 0xff, 0xe0, 0x00, 0x00,
|
||||
0xff, 0xff, 0xfc, 0x1f, 0xff, 0xff, 0xff, 0xff, 0xf8, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf9, 0xc0, 0xe0, 0x7f, 0xff, 0xff, 0xff, 0xf0, 0x00, 0x00, 0xff,
|
||||
0xff, 0xfc, 0x1f, 0xff, 0xff, 0xff, 0xff, 0xf9, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf1, 0xc0, 0x70, 0x3f, 0xff, 0xff, 0xff, 0xf0, 0x00, 0x00, 0xff, 0xff,
|
||||
0xfc, 0x1f, 0xff, 0xff, 0xff, 0xff, 0xf8, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf1, 0xc0, 0x78, 0x1f, 0xff, 0xff, 0xff, 0xf0, 0x00, 0x00, 0xff, 0xff, 0xfc,
|
||||
0x8f, 0xff, 0xff, 0xff, 0xff, 0xf9, 0xff, 0xff, 0xf4, 0x00, 0x80, 0x02, 0x51, 0xc0, 0x3c, 0x0f, 0xff, 0xff, 0xff, 0xf1, 0x00, 0x00, 0xfb, 0xff, 0xfc, 0x8f,
|
||||
0xff, 0xff, 0xff, 0xff, 0xf8, 0xff, 0xff, 0xf0, 0x00, 0x00, 0x00, 0x01, 0xc0, 0x1e, 0x07, 0xff, 0xff, 0xff, 0xf8, 0x00, 0x00, 0xff, 0xff, 0xf8, 0x8f, 0xff,
|
||||
0xff, 0xff, 0xff, 0xf1, 0xff, 0xff, 0xf8, 0x00, 0x00, 0x00, 0x01, 0xc0, 0x0f, 0x03, 0xff, 0xff, 0xff, 0xf8, 0x00, 0x00, 0xff, 0xff, 0xf8, 0x8f, 0xff, 0xff,
|
||||
0xff, 0xff, 0xf9, 0xff, 0xff, 0xf0, 0x00, 0x00, 0x00, 0x01, 0xc0, 0x0f, 0x81, 0xff, 0xff, 0xff, 0xf8, 0x80, 0x00, 0xff, 0xff, 0xf8, 0x8f, 0xff, 0xff, 0xdf,
|
||||
0xff, 0xf1, 0xff, 0xff, 0xf0, 0x00, 0x00, 0x00, 0x01, 0xc0, 0x07, 0xc0, 0xff, 0xff, 0xff, 0xf8, 0x80, 0x00, 0xff, 0xff, 0xf8, 0xc7, 0xff, 0xff, 0xff, 0xff,
|
||||
0xf9, 0xff, 0xff, 0xf1, 0xb7, 0x7f, 0xff, 0xff, 0xc0, 0x03, 0xe0, 0x7f, 0xff, 0xff, 0xf8, 0x80, 0x01, 0xff, 0xff, 0xf8, 0xc7, 0xff, 0xff, 0xff, 0xff, 0xf1,
|
||||
0xff, 0xff, 0xf1, 0xff, 0xff, 0xff, 0xff, 0x80, 0x01, 0xf0, 0x3f, 0xff, 0xff, 0xfc, 0x80, 0x00, 0xff, 0xff, 0xf8, 0xc7, 0xff, 0xff, 0xff, 0xff, 0xf1, 0xfb,
|
||||
0xff, 0xf1, 0xff, 0xff, 0xff, 0xff, 0x80, 0x00, 0xf8, 0x1f, 0xff, 0xff, 0xfc, 0x40, 0x01, 0xff, 0xff, 0xf8, 0xc7, 0xff, 0xff, 0xff, 0xff, 0xf1, 0xff, 0xff,
|
||||
0xf1, 0xff, 0xff, 0xff, 0xff, 0x80, 0x00, 0x7c, 0x1f, 0xff, 0xff, 0xfc, 0x40, 0x00, 0xff, 0xff, 0xf8, 0xc7, 0xff, 0xff, 0xff, 0xff, 0xf1, 0xff, 0xff, 0xf1,
|
||||
0xff, 0xff, 0xff, 0xff, 0x80, 0x00, 0x3e, 0x0f, 0xff, 0xff, 0xfc, 0x40, 0x01, 0xff, 0xff, 0xf9, 0xc7, 0xff, 0xff, 0xff, 0xff, 0xf1, 0xff, 0xff, 0xf3, 0xff,
|
||||
0xff, 0xff, 0xff, 0x80, 0x00, 0x0f, 0x0f, 0xff, 0xff, 0xfc, 0x40, 0x00, 0xff, 0xff, 0xf8, 0xc3, 0xff, 0xff, 0xff, 0xff, 0xf1, 0xff, 0xff, 0xf1, 0xff, 0xff,
|
||||
0xff, 0xff, 0x80, 0x00, 0x07, 0x87, 0xff, 0xff, 0xfc, 0x40, 0x01, 0xff, 0xff, 0xf9, 0xc3, 0xff, 0xff, 0xff, 0xff, 0xf1, 0xff, 0xff, 0xf3, 0xc0, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x03, 0x87, 0xff, 0xff, 0xfc, 0x60, 0x01, 0xff, 0xff, 0xf9, 0xc3, 0xfe, 0xff, 0xff, 0xff, 0xf1, 0xff, 0xff, 0xf1, 0x80, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x01, 0xc7, 0xff, 0xff, 0xfe, 0x60, 0x01, 0xff, 0xff, 0xf9, 0xc3, 0xff, 0xff, 0xff, 0xff, 0xf3, 0xff, 0xff, 0xf3, 0x80, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0xc7, 0xff, 0xff, 0xfc, 0x60, 0x01, 0xef, 0xff, 0xf9, 0xc3, 0xff, 0xff, 0xff, 0xff, 0xf1, 0xff, 0xff, 0xf3, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x43, 0xff, 0xff, 0xfe, 0x60, 0x01, 0xff, 0xff, 0xf1, 0xc1, 0xff, 0xf7, 0xff, 0xff, 0xf3, 0xff, 0xff, 0xe3, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x27, 0xff, 0xff, 0xfc, 0x60, 0x01, 0xff, 0xff, 0xf1, 0xc1, 0xff, 0xff, 0xff, 0xff, 0xf1, 0xff, 0xff, 0xe3, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03,
|
||||
0xff, 0xff, 0xfe, 0x60, 0x01, 0xff, 0xff, 0xf1, 0xc1, 0xff, 0xff, 0xff, 0xff, 0xf3, 0xff, 0xff, 0xf3, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0xff,
|
||||
0xff, 0xfe, 0x60, 0x01, 0xff, 0xff, 0xf1, 0xc1, 0xff, 0xfe, 0xff, 0xff, 0xf3, 0xff, 0xff, 0xe3, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0xff, 0xff,
|
||||
0xfe, 0x60, 0x01, 0xff, 0xff, 0xf1, 0xc1, 0xff, 0xff, 0xff, 0xff, 0xe3, 0xff, 0xff, 0xe3, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0xff, 0xff, 0xfe,
|
||||
0x20, 0x01, 0xff, 0xff, 0xf1, 0xc0, 0xff, 0xff, 0xff, 0xff, 0xf3, 0xef, 0xff, 0xe3, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0xff, 0xff, 0xfe, 0x20,
|
||||
0x03, 0xff, 0xff, 0xf1, 0xc1, 0xff, 0xff, 0xff, 0xff, 0xe3, 0xff, 0xff, 0xe3, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0xff, 0xff, 0xfe, 0x70, 0x01,
|
||||
0xff, 0xff, 0xf1, 0xc0, 0xff, 0xff, 0xff, 0xff, 0xe3, 0xff, 0xff, 0xe3, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0xff, 0xff, 0xfe, 0x30, 0x03, 0xff,
|
||||
0xff, 0xf3, 0xc0, 0xff, 0xff, 0xff, 0xff, 0xe3, 0xff, 0xff, 0xe3, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0xff, 0xff, 0xfe, 0x70, 0x01, 0xff, 0xff,
|
||||
0xf1, 0x80, 0xff, 0xff, 0xff, 0xff, 0xe3, 0xff, 0xff, 0xe3, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0xff, 0xff, 0xfe, 0x30, 0x03, 0xff, 0xff, 0xf3,
|
||||
0x80, 0xff, 0xff, 0xff, 0xff, 0xe3, 0xff, 0xff, 0xe7, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0xff, 0xff, 0xfe, 0x70, 0x01, 0xff, 0xff, 0xf3, 0x80,
|
||||
0x7f, 0xff, 0xff, 0xff, 0xe3, 0xff, 0xff, 0xe3, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0xff, 0xff, 0xfe, 0x30, 0x03, 0xff, 0xff, 0xf3, 0x80, 0x7f,
|
||||
0xff, 0xff, 0xff, 0xe3, 0xff, 0xff, 0xe7, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0xff, 0xff, 0xfe, 0x70, 0x03, 0xff, 0xff, 0xf3, 0x80, 0x7f, 0xff,
|
||||
0x7f, 0xff, 0xe3, 0xff, 0xff, 0xe3, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0xff, 0xff, 0xfe, 0x70, 0x03, 0xff, 0xff, 0xe3, 0x80, 0x7f, 0xff, 0xff,
|
||||
0xff, 0xe3, 0xff, 0xff, 0xe7, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x07, 0xff, 0xff, 0xfe, 0x30, 0x03, 0xff, 0xff, 0xe3, 0x80, 0x7f, 0xff, 0xff, 0xff,
|
||||
0xe3, 0xff, 0xff, 0xe7, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0xff, 0xff, 0xfe, 0x70, 0x03, 0xff, 0xff, 0xf3, 0x80, 0x7d, 0xff, 0xff, 0xff, 0xe7,
|
||||
0xff, 0xff, 0xc7, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x07, 0xff, 0xff, 0xfe, 0x70, 0x03, 0xff, 0xff, 0xe3, 0x80, 0x3f, 0xff, 0xff, 0xff, 0xe3, 0xff,
|
||||
0xff, 0xe7, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x07, 0xff, 0xff, 0xfe, 0x70, 0x03, 0xff, 0xff, 0xe3, 0x80, 0x3f, 0xff, 0xff, 0xff, 0xe7, 0xff, 0xff,
|
||||
0xc7, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x07, 0xff, 0xff, 0xfc, 0x70, 0x03, 0xff, 0xff, 0xe3, 0x80, 0x3f, 0xff, 0xff, 0xff, 0xe7, 0xff, 0xff, 0xc7,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x07, 0xff, 0xff, 0xfc, 0x70, 0x03, 0xff, 0xff, 0xe3, 0x80, 0x3f, 0xff, 0xff, 0xff, 0xc7, 0xff, 0xff, 0xe7, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0f, 0xff, 0xff, 0xfc, 0x70, 0x03, 0xff, 0xff, 0xe3, 0x80, 0x3f, 0xff, 0xff, 0xff, 0xe7, 0xff, 0xff, 0xc7, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x0f, 0xff, 0xff, 0xfc, 0x70, 0x03, 0xff, 0xff, 0xe3, 0x80, 0x3f, 0xff, 0xff, 0xff, 0xc7, 0xff, 0xff, 0xc7, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x1f, 0xdf, 0xff, 0xfc, 0x70, 0x03, 0xff, 0xff, 0xe3, 0x80, 0x1f, 0xff, 0xff, 0xff, 0xc7, 0xff, 0xff, 0xc7, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x1f, 0xff, 0xff, 0xfc, 0x70, 0x07, 0xff, 0xff, 0xe7, 0x00, 0x1f, 0xbd, 0xff, 0xff, 0xc7, 0xff, 0xff, 0xc7, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x1f, 0xff, 0xff, 0xfc, 0xf0, 0x03, 0xff, 0xff, 0xe3, 0x00, 0x1f, 0xff, 0xff, 0xff, 0xc7, 0xff, 0xff, 0xc6, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x3f, 0xff, 0xff, 0xfc, 0x70, 0x07, 0xff, 0xff, 0xe7, 0x00, 0x1f, 0xff, 0xff, 0xff, 0xc7, 0xff, 0xff, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x7f, 0xff, 0xff, 0xfc, 0xe0, 0x03, 0xff, 0xff, 0xe7, 0x00, 0x0f, 0xff, 0xff, 0xff, 0xc7, 0xff, 0xff, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7f,
|
||||
0xff, 0xff, 0xf8, 0xe0, 0x07, 0xff, 0xff, 0xc7, 0x00, 0x1f, 0xff, 0xff, 0xff, 0xc7, 0xff, 0xff, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0xff, 0xff,
|
||||
0xff, 0xf8, 0xe0, 0x07, 0xff, 0xff, 0xe7, 0x00, 0x0f, 0xff, 0xff, 0xff, 0xc7, 0xff, 0xff, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0xff, 0xfb, 0xff,
|
||||
0xf8, 0xe0, 0x07, 0xff, 0xff, 0xc7, 0x00, 0x0f, 0xff, 0xff, 0xff, 0xc7, 0xff, 0xff, 0xd5, 0x55, 0x55, 0x05, 0x6b, 0x5a, 0xdd, 0xdf, 0xff, 0xff, 0xff, 0xf8,
|
||||
0xe0, 0x07, 0xff, 0xff, 0xc7, 0x00, 0x0f, 0xff, 0xff, 0xff, 0xc7, 0xff, 0xff, 0xff, 0xff, 0xff, 0x8f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf9, 0xe0,
|
||||
0x07, 0xff, 0xff, 0xe7, 0x00, 0x0f, 0xfe, 0xff, 0xff, 0xcf, 0xff, 0xff, 0xff, 0xff, 0xff, 0xcf, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf1, 0xe0, 0x07,
|
||||
0xff, 0xff, 0xc7, 0x00, 0x07, 0xff, 0xff, 0xff, 0xc7, 0xff, 0xff, 0xff, 0xff, 0xff, 0x8f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf1, 0xe0, 0x07, 0xff,
|
||||
0xff, 0xc7, 0x00, 0x07, 0xff, 0xff, 0xff, 0xcf, 0xff, 0xff, 0xff, 0xff, 0xff, 0x8f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf1, 0xe0, 0x07, 0xff, 0xff,
|
||||
0xc7, 0x00, 0x07, 0xff, 0xff, 0xff, 0xcf, 0xff, 0xff, 0xff, 0xff, 0xff, 0x8f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf1, 0xc0, 0x07, 0xff, 0xff, 0xc7,
|
||||
0x00, 0x07, 0xff, 0xff, 0xff, 0x8f, 0xff, 0xff, 0xff, 0xff, 0xff, 0x8f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xe3, 0xc0, 0x07, 0xff, 0xff, 0xc7, 0x00,
|
||||
0x07, 0xff, 0xff, 0xff, 0xcf, 0xff, 0xff, 0xff, 0xff, 0xff, 0x8f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xe3, 0xc0, 0x07, 0xff, 0xff, 0xce, 0x00, 0x07,
|
||||
0xff, 0xff, 0xff, 0x8f, 0xff, 0xff, 0xff, 0xff, 0xff, 0x8f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xe3, 0xc0, 0x07, 0xff, 0xff, 0xc6, 0x00, 0x03, 0xff,
|
||||
0xff, 0xff, 0x8f, 0xff, 0xff, 0xff, 0xff, 0xff, 0x8f, 0xff, 0xff, 0xff, 0xff, 0xf7, 0xff, 0xff, 0xe3, 0xc0, 0x0f, 0xff, 0xff, 0xce, 0x00, 0x03, 0xff, 0xff,
|
||||
0xff, 0x8f, 0xff, 0xff, 0xff, 0xff, 0xff, 0x9f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xdf, 0xff, 0xc7, 0xc0, 0x07, 0xff, 0xff, 0xce, 0x00, 0x03, 0xff, 0xff, 0xff,
|
||||
0x8f, 0xff, 0xff, 0xff, 0xff, 0xff, 0x8f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xc7, 0x80, 0x0f, 0xff, 0xff, 0xc6, 0x00, 0x03, 0xfd, 0xff, 0xff, 0x8f,
|
||||
0xff, 0xff, 0xff, 0xff, 0xff, 0x9f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x87, 0x80, 0x07, 0xff, 0xff, 0xce, 0x00, 0x01, 0xff, 0xff, 0xff, 0x8f, 0xff,
|
||||
0xff, 0xff, 0xff, 0xff, 0x8f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x8f, 0x80, 0x0f, 0xff, 0xff, 0x8e, 0x00, 0x03, 0xff, 0xff, 0xff, 0x8f, 0xff, 0xff,
|
||||
0xff, 0xff, 0xff, 0x9f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x8f, 0x80, 0x0f, 0xff, 0xff, 0x8e, 0x00, 0x01, 0xff, 0xff, 0xff, 0x8f, 0xff, 0xff, 0xff,
|
||||
0xff, 0xff, 0x9f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x0f, 0x00, 0x0f, 0xff, 0xff, 0xce, 0x00, 0x01, 0xff, 0xff, 0xff, 0x8f, 0xff, 0xff, 0xff, 0xff,
|
||||
0xff, 0x1f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x1f, 0x00, 0x0f, 0xff, 0xff, 0x8e, 0x00, 0x01, 0xff, 0xff, 0xff, 0x8f, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||||
0x1f, 0xff, 0xff, 0xff, 0xdf, 0xff, 0xff, 0xfe, 0x1f, 0x00, 0x0f, 0xff, 0xff, 0x8e, 0x00, 0x01, 0xff, 0xff, 0xff, 0x9f, 0xff, 0xff, 0xff, 0xff, 0xff, 0x9f,
|
||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfe, 0x3e, 0x00, 0x0f, 0xff, 0xff, 0x8e, 0x00, 0x00, 0xff, 0xff, 0xff, 0x8f, 0xff, 0xff, 0xff, 0xff, 0xff, 0x1f, 0xff,
|
||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xfc, 0x3e, 0x00, 0x0f, 0xff, 0xff, 0x8e, 0x00, 0x00, 0xff, 0xff, 0xff, 0x9f, 0xff, 0xff, 0xff, 0xff, 0xff, 0x1f, 0xff, 0xff,
|
||||
0xff, 0xff, 0xff, 0xdf, 0xfc, 0x3e, 0x00, 0x0f, 0xff, 0xff, 0x8e, 0x00, 0x00, 0xfb, 0xff, 0xff, 0x9f, 0xff, 0xff, 0xff, 0xff, 0xff, 0x1f, 0xff, 0xff, 0xff,
|
||||
0xfd, 0xff, 0xff, 0xf8, 0x7c, 0x00, 0x0f, 0xff, 0xff, 0x9e, 0x00, 0x00, 0xff, 0xff, 0xff, 0x1f, 0xff, 0xff, 0xff, 0xff, 0xff, 0x1f, 0xff, 0xff, 0xff, 0xff,
|
||||
0xef, 0xff, 0xf8, 0xfc, 0x00, 0x0f, 0xff, 0xff, 0x8c, 0x00, 0x00, 0xff, 0xff, 0xff, 0x1f, 0xbf, 0xff, 0xff, 0xff, 0xff, 0x1f, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||||
0xff, 0xf0, 0xfc, 0x00, 0x0f, 0xff, 0xff, 0x9c, 0x00, 0x00, 0xff, 0xff, 0xff, 0x9f, 0xff, 0xff, 0xff, 0xff, 0xff, 0x1f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||||
0xe1, 0xf8, 0x00, 0x0f, 0xff, 0xff, 0x8c, 0x00, 0x00, 0x7f, 0xff, 0xff, 0x1f, 0xff, 0xff, 0xff, 0xff, 0xff, 0x1f, 0xff, 0xfe, 0xff, 0xff, 0xff, 0xff, 0xe1,
|
||||
0xf8, 0x00, 0x1f, 0xff, 0xff, 0x9c, 0x00, 0x00, 0x7f, 0xff, 0xff, 0x1f, 0xff, 0xff, 0xff, 0xff, 0xff, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x83, 0xf0,
|
||||
0x00, 0x0f, 0xff, 0xff, 0x9c, 0x00, 0x00, 0x7f, 0xff, 0xff, 0x1f, 0xff, 0x7f, 0xff, 0xff, 0xff, 0x1f, 0xfe, 0xff, 0xff, 0xff, 0xff, 0xff, 0x83, 0xf0, 0x00,
|
||||
0x1f, 0xff, 0xff, 0x1c, 0x00, 0x00, 0x7f, 0xff, 0xff, 0x1f, 0xff, 0xff, 0xff, 0xff, 0xff, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x07, 0xe0, 0x00, 0x1f,
|
||||
0xff, 0xff, 0x9c, 0x00, 0x00, 0x3f, 0xff, 0xff, 0x1f, 0xff, 0xff, 0xff, 0xff, 0xff, 0x1f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfe, 0x0f, 0xe0, 0x00, 0x1f, 0xff,
|
||||
0xff, 0x1c, 0x00, 0x00, 0x7f, 0xff, 0xff, 0x1f, 0xff, 0xff, 0xff, 0xff, 0xff, 0x3f, 0x7f, 0xff, 0xef, 0xff, 0xff, 0xf8, 0x1f, 0xc0, 0x00, 0x1f, 0xff, 0xff,
|
||||
0x1c, 0x00, 0x00, 0x3f, 0xff, 0xff, 0x1f, 0xff, 0xf7, 0xff, 0xff, 0xff, 0x1f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf0, 0x3f, 0xc0, 0x00, 0x1f, 0xff, 0xff, 0x1c,
|
||||
0x00, 0x00, 0x3e, 0xff, 0xff, 0x1f, 0xff, 0xff, 0xff, 0xff, 0xfe, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0x80, 0x7f, 0x80, 0x00, 0x1f, 0xff, 0xff, 0x1c, 0x00,
|
||||
0x00, 0x3f, 0xff, 0xff, 0x1f, 0xff, 0xff, 0xff, 0xff, 0xff, 0x3f, 0xff, 0xff, 0xff, 0xf6, 0xda, 0x00, 0x7f, 0x80, 0x00, 0x00, 0x00, 0x00, 0x1c, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1c, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0xfe, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1c, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0f, 0xfe, 0x00, 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3f, 0xfc, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x13, 0xff, 0xf8, 0x00, 0x00, 0x1f, 0xff, 0xff, 0xf8, 0x00, 0x00, 0x3f, 0xff, 0xff, 0xff, 0xff,
|
||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf0, 0x00, 0x00, 0x1f, 0xff, 0xff, 0xf8, 0x00, 0x00, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xe0, 0x00, 0x00, 0x1f, 0xff, 0xff, 0xf8, 0x00, 0x00, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xc0, 0x00, 0x00, 0x1f, 0xff, 0xff, 0xf8, 0x00, 0x00, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x1f, 0xff, 0xff, 0xf8, 0x00, 0x00, 0x1f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfe, 0x00, 0x00, 0x00, 0x1f, 0xff, 0xff, 0xf8, 0x00, 0x00, 0x1f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xf8, 0x00, 0x00, 0x00, 0x1f, 0xff, 0xff, 0xf8, 0x00, 0x00, 0x1f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||||
0xff, 0xff, 0xff, 0xff, 0x80, 0x00, 0x00, 0x00
|
||||
};
|
||||
|
||||
/**
|
||||
* @brief Data for introduction EPD image 2
|
||||
*
|
||||
|
||||
Submodule
+1
Submodule aconnoSettings added at cc305d3556
-419
@@ -1,419 +0,0 @@
|
||||
PROJECT_NAME := ble_app_hrs_freertos_pca10040_s132
|
||||
TARGETS := nrf52832_xxaa
|
||||
OUTPUT_DIRECTORY := _build
|
||||
|
||||
SDK_ROOT := ../../nRF5_SDK_15.2.0
|
||||
PROJ_DIR := ../
|
||||
|
||||
$(OUTPUT_DIRECTORY)/nrf52832_xxaa.out: \
|
||||
LINKER_SCRIPT := ble_app_hrs_freertos_gcc_nrf52.ld
|
||||
|
||||
PROJ_SRC += \
|
||||
$(PROJ_DIR)/source/main.cpp \
|
||||
$(PROJ_DIR)/aconnoHelpers/aconnoHelpers.cpp \
|
||||
$(PROJ_DIR)/tasks/aconnoTasks.cpp \
|
||||
$(PROJ_DIR)/aconnoBLE/aconnoBLE.cpp \
|
||||
$(PROJ_DIR)/aconnoBLE/aconnoGAP.cpp \
|
||||
$(PROJ_DIR)/aconnoBLE/aconnoGATT.cpp \
|
||||
$(PROJ_DIR)/aconnoBLE/aconnoBLEChar.cpp \
|
||||
$(PROJ_DIR)/aconnoBLE/aconnoBLEService.cpp \
|
||||
$(PROJ_DIR)/aconnoBLE/advPayload.cpp \
|
||||
$(PROJ_DIR)/libs/aconnoGPIO/aconnoGPIO.cpp \
|
||||
$(PROJ_DIR)/libs/aconnoNordicPAL/aconnoNordicPAL.cpp \
|
||||
$(PROJ_DIR)/states/states.cpp \
|
||||
$(PROJ_DIR)/libs/aconnoI2C/aconnoI2C.cpp \
|
||||
$(PROJ_DIR)/libs/aconnoSPI/aconnoSPI.cpp \
|
||||
$(PROJ_DIR)/libs/aconnoPWM/aconnoPWM.cpp \
|
||||
$(PROJ_DIR)/libs/GDEP015OC1/GDEP015OC1.cpp \
|
||||
$(PROJ_DIR)/libs/MCP23017/MCP23017.cpp \
|
||||
$(PROJ_DIR)/libs/LDR/LDR.cpp \
|
||||
$(PROJ_DIR)/libs/potentiometer/potentiometer.cpp \
|
||||
$(PROJ_DIR)/libs/MCP9700/MCP9700.cpp \
|
||||
$(PROJ_DIR)/libs/aconnoSensor/aconnoSensor.cpp \
|
||||
$(PROJ_DIR)/libs/aconnoSAADC/aconnoSAADC.cpp \
|
||||
$(PROJ_DIR)/libs/LSM9DS1/LSM9DS1.cpp \
|
||||
$(PROJ_DIR)/libs/servo/servo.cpp \
|
||||
$(SDK_ROOT)/integration/nrfx/legacy/nrf_drv_twi.c \
|
||||
$(SDK_ROOT)/modules/nrfx/drivers/src/nrfx_twi.c \
|
||||
$(SDK_ROOT)/modules/nrfx/drivers/src/nrfx_twim.c \
|
||||
$(SDK_ROOT)/integration/nrfx/legacy/nrf_drv_spi.c \
|
||||
$(SDK_ROOT)/modules/nrfx/drivers/src/nrfx_spi.c \
|
||||
$(SDK_ROOT)/modules/nrfx/drivers/src/nrfx_spim.c \
|
||||
$(PROJ_DIR)/libs/aconnoBeeper/aconnoBeeper.cpp \
|
||||
$(PROJ_DIR)/libs/aconnoPWM/aconnoPWM.cpp \
|
||||
|
||||
|
||||
PROJ_INC += \
|
||||
$(PROJ_DIR)/libs/aconnoGPIO \
|
||||
$(PROJ_DIR)/libs/aconnoNordicPAL \
|
||||
$(PROJ_DIR)/config/ \
|
||||
$(PROJ_DIR)/aconnoHelpers/ \
|
||||
$(PROJ_DIR)/tasks/ \
|
||||
$(PROJ_DIR)/aconnoBLE/ \
|
||||
$(PROJ_DIR)/states/ \
|
||||
$(PROJ_DIR)/libs/aconnoI2C \
|
||||
$(PROJ_DIR)/libs/aconnoSPI \
|
||||
$(PROJ_DIR)/libs/aconnoPWM \
|
||||
$(PROJ_DIR)/libs/GDEP015OC1 \
|
||||
$(PROJ_DIR)/libs/MCP23017 \
|
||||
$(PROJ_DIR)/libs/MCP9700/ \
|
||||
$(PROJ_DIR)/libs/LDR/ \
|
||||
$(PROJ_DIR)/libs/potentiometer/ \
|
||||
$(PROJ_DIR)/libs/aconnoSensor/ \
|
||||
$(PROJ_DIR)/libs/aconnoSAADC/ \
|
||||
$(PROJ_DIR)/libs/LSM9DS1 \
|
||||
$(PROJ_DIR)/libs/servo/ \
|
||||
$(PROJ_DIR)/libs/aconnoBeeper \
|
||||
$(PROJ_DIR)/libs/aconnoPWM \
|
||||
|
||||
# Source files common to all targets
|
||||
SRC_FILES += \
|
||||
$(PROJ_SRC) \
|
||||
$(SDK_ROOT)/modules/nrfx/mdk/gcc_startup_nrf52.S \
|
||||
$(SDK_ROOT)/components/libraries/log/src/nrf_log_backend_rtt.c \
|
||||
$(SDK_ROOT)/components/libraries/log/src/nrf_log_backend_serial.c \
|
||||
$(SDK_ROOT)/components/libraries/log/src/nrf_log_backend_uart.c \
|
||||
$(SDK_ROOT)/components/libraries/log/src/nrf_log_default_backends.c \
|
||||
$(SDK_ROOT)/components/libraries/log/src/nrf_log_frontend.c \
|
||||
$(SDK_ROOT)/components/libraries/log/src/nrf_log_str_formatter.c \
|
||||
$(SDK_ROOT)/components/libraries/button/app_button.c \
|
||||
$(SDK_ROOT)/components/libraries/util/app_error.c \
|
||||
$(SDK_ROOT)/components/libraries/util/app_error_handler_gcc.c \
|
||||
$(SDK_ROOT)/components/libraries/util/app_error_weak.c \
|
||||
$(SDK_ROOT)/components/libraries/timer/app_timer_freertos.c \
|
||||
$(SDK_ROOT)/components/libraries/util/app_util_platform.c \
|
||||
$(SDK_ROOT)/components/libraries/crc16/crc16.c \
|
||||
$(SDK_ROOT)/components/libraries/fds/fds.c \
|
||||
$(SDK_ROOT)/components/libraries/hardfault/nrf52/handler/hardfault_handler_gcc.c \
|
||||
$(SDK_ROOT)/components/libraries/hardfault/hardfault_implementation.c \
|
||||
$(SDK_ROOT)/components/libraries/util/nrf_assert.c \
|
||||
$(SDK_ROOT)/components/libraries/atomic_fifo/nrf_atfifo.c \
|
||||
$(SDK_ROOT)/components/libraries/atomic_flags/nrf_atflags.c \
|
||||
$(SDK_ROOT)/components/libraries/atomic/nrf_atomic.c \
|
||||
$(SDK_ROOT)/components/libraries/balloc/nrf_balloc.c \
|
||||
$(SDK_ROOT)/external/fprintf/nrf_fprintf.c \
|
||||
$(SDK_ROOT)/external/fprintf/nrf_fprintf_format.c \
|
||||
$(SDK_ROOT)/components/libraries/fstorage/nrf_fstorage.c \
|
||||
$(SDK_ROOT)/components/libraries/fstorage/nrf_fstorage_sd.c \
|
||||
$(SDK_ROOT)/components/libraries/memobj/nrf_memobj.c \
|
||||
$(SDK_ROOT)/components/libraries/ringbuf/nrf_ringbuf.c \
|
||||
$(SDK_ROOT)/components/libraries/experimental_section_vars/nrf_section_iter.c \
|
||||
$(SDK_ROOT)/components/libraries/strerror/nrf_strerror.c \
|
||||
$(SDK_ROOT)/components/libraries/sensorsim/sensorsim.c \
|
||||
$(SDK_ROOT)/modules/nrfx/mdk/system_nrf52.c \
|
||||
$(SDK_ROOT)/external/freertos/source/croutine.c \
|
||||
$(SDK_ROOT)/external/freertos/source/event_groups.c \
|
||||
$(SDK_ROOT)/external/freertos/source/portable/MemMang/heap_1.c \
|
||||
$(SDK_ROOT)/external/freertos/source/list.c \
|
||||
$(SDK_ROOT)/external/freertos/portable/GCC/nrf52/port.c \
|
||||
$(SDK_ROOT)/external/freertos/portable/CMSIS/nrf52/port_cmsis.c \
|
||||
$(SDK_ROOT)/external/freertos/portable/CMSIS/nrf52/port_cmsis_systick.c \
|
||||
$(SDK_ROOT)/external/freertos/source/queue.c \
|
||||
$(SDK_ROOT)/external/freertos/source/stream_buffer.c \
|
||||
$(SDK_ROOT)/external/freertos/source/tasks.c \
|
||||
$(SDK_ROOT)/external/freertos/source/timers.c \
|
||||
$(SDK_ROOT)/components/boards/boards.c \
|
||||
$(SDK_ROOT)/integration/nrfx/legacy/nrf_drv_clock.c \
|
||||
$(SDK_ROOT)/integration/nrfx/legacy/nrf_drv_uart.c \
|
||||
$(SDK_ROOT)/modules/nrfx/drivers/src/nrfx_clock.c \
|
||||
$(SDK_ROOT)/modules/nrfx/drivers/src/nrfx_gpiote.c \
|
||||
$(SDK_ROOT)/modules/nrfx/drivers/src/nrfx_power_clock.c \
|
||||
$(SDK_ROOT)/modules/nrfx/drivers/src/prs/nrfx_prs.c \
|
||||
$(SDK_ROOT)/modules/nrfx/drivers/src/nrfx_uart.c \
|
||||
$(SDK_ROOT)/modules/nrfx/drivers/src/nrfx_uarte.c \
|
||||
$(SDK_ROOT)/components/libraries/bsp/bsp.c \
|
||||
$(SDK_ROOT)/components/libraries/bsp/bsp_btn_ble.c \
|
||||
$(SDK_ROOT)/external/segger_rtt/SEGGER_RTT.c \
|
||||
$(SDK_ROOT)/external/segger_rtt/SEGGER_RTT_Syscalls_GCC.c \
|
||||
$(SDK_ROOT)/external/segger_rtt/SEGGER_RTT_printf.c \
|
||||
$(SDK_ROOT)/components/ble/peer_manager/auth_status_tracker.c \
|
||||
$(SDK_ROOT)/components/ble/common/ble_advdata.c \
|
||||
$(SDK_ROOT)/components/ble/ble_advertising/ble_advertising.c \
|
||||
$(SDK_ROOT)/components/ble/common/ble_conn_params.c \
|
||||
$(SDK_ROOT)/components/ble/common/ble_conn_state.c \
|
||||
$(SDK_ROOT)/components/ble/common/ble_srv_common.c \
|
||||
$(SDK_ROOT)/components/ble/peer_manager/gatt_cache_manager.c \
|
||||
$(SDK_ROOT)/components/ble/peer_manager/gatts_cache_manager.c \
|
||||
$(SDK_ROOT)/components/ble/peer_manager/id_manager.c \
|
||||
$(SDK_ROOT)/components/ble/nrf_ble_gatt/nrf_ble_gatt.c \
|
||||
$(SDK_ROOT)/components/ble/nrf_ble_qwr/nrf_ble_qwr.c \
|
||||
$(SDK_ROOT)/components/ble/peer_manager/peer_data_storage.c \
|
||||
$(SDK_ROOT)/components/ble/peer_manager/peer_database.c \
|
||||
$(SDK_ROOT)/components/ble/peer_manager/peer_id.c \
|
||||
$(SDK_ROOT)/components/ble/peer_manager/peer_manager.c \
|
||||
$(SDK_ROOT)/components/ble/peer_manager/peer_manager_handler.c \
|
||||
$(SDK_ROOT)/components/ble/peer_manager/pm_buffer.c \
|
||||
$(SDK_ROOT)/components/ble/peer_manager/security_dispatcher.c \
|
||||
$(SDK_ROOT)/components/ble/peer_manager/security_manager.c \
|
||||
$(SDK_ROOT)/external/utf_converter/utf.c \
|
||||
$(SDK_ROOT)/components/ble/ble_services/ble_bas/ble_bas.c \
|
||||
$(SDK_ROOT)/components/ble/ble_services/ble_dis/ble_dis.c \
|
||||
$(SDK_ROOT)/components/ble/ble_services/ble_hrs/ble_hrs.c \
|
||||
$(SDK_ROOT)/components/softdevice/common/nrf_sdh.c \
|
||||
$(SDK_ROOT)/components/softdevice/common/nrf_sdh_ble.c \
|
||||
$(SDK_ROOT)/components/softdevice/common/nrf_sdh_freertos.c \
|
||||
$(SDK_ROOT)/components/softdevice/common/nrf_sdh_soc.c \
|
||||
|
||||
# Include folders common to all targets
|
||||
INC_FOLDERS += \
|
||||
$(PROJ_INC) \
|
||||
$(SDK_ROOT)/components/nfc/ndef/generic/message \
|
||||
$(SDK_ROOT)/components/nfc/t2t_lib \
|
||||
$(SDK_ROOT)/components/nfc/t4t_parser/hl_detection_procedure \
|
||||
$(SDK_ROOT)/components/ble/ble_services/ble_ancs_c \
|
||||
$(SDK_ROOT)/components/ble/ble_services/ble_ias_c \
|
||||
$(SDK_ROOT)/components/libraries/pwm \
|
||||
$(SDK_ROOT)/components/softdevice/s132/headers/nrf52 \
|
||||
$(SDK_ROOT)/components/libraries/usbd/class/cdc/acm \
|
||||
$(SDK_ROOT)/components/libraries/usbd/class/hid/generic \
|
||||
$(SDK_ROOT)/components/libraries/usbd/class/msc \
|
||||
$(SDK_ROOT)/components/libraries/usbd/class/hid \
|
||||
$(SDK_ROOT)/modules/nrfx/hal \
|
||||
$(SDK_ROOT)/components/nfc/ndef/conn_hand_parser/le_oob_rec_parser \
|
||||
$(SDK_ROOT)/components/libraries/log \
|
||||
$(SDK_ROOT)/components/ble/ble_services/ble_gls \
|
||||
$(SDK_ROOT)/components/libraries/fstorage \
|
||||
$(SDK_ROOT)/components/nfc/ndef/text \
|
||||
$(SDK_ROOT)/components/libraries/mutex \
|
||||
$(SDK_ROOT)/components/libraries/gpiote \
|
||||
$(SDK_ROOT)/components/libraries/bootloader/ble_dfu \
|
||||
$(SDK_ROOT)/components/nfc/ndef/connection_handover/common \
|
||||
$(SDK_ROOT)/components/boards \
|
||||
$(SDK_ROOT)/components/nfc/ndef/generic/record \
|
||||
$(SDK_ROOT)/components/nfc/t4t_parser/cc_file \
|
||||
$(SDK_ROOT)/components/ble/ble_advertising \
|
||||
$(SDK_ROOT)/external/utf_converter \
|
||||
$(SDK_ROOT)/components/ble/ble_services/ble_bas_c \
|
||||
$(SDK_ROOT)/modules/nrfx/drivers/include \
|
||||
$(SDK_ROOT)/components/libraries/experimental_task_manager \
|
||||
$(SDK_ROOT)/components/ble/ble_services/ble_hrs_c \
|
||||
$(SDK_ROOT)/components/nfc/ndef/connection_handover/le_oob_rec \
|
||||
$(SDK_ROOT)/components/libraries/queue \
|
||||
$(SDK_ROOT)/components/libraries/pwr_mgmt \
|
||||
$(SDK_ROOT)/external/freertos/portable/GCC/nrf52 \
|
||||
$(SDK_ROOT)/components/ble/ble_dtm \
|
||||
$(SDK_ROOT)/components/toolchain/cmsis/include \
|
||||
$(SDK_ROOT)/components/ble/ble_services/ble_rscs_c \
|
||||
$(SDK_ROOT)/components/ble/common \
|
||||
$(SDK_ROOT)/components/ble/ble_services/ble_lls \
|
||||
$(SDK_ROOT)/components/libraries/hardfault/nrf52 \
|
||||
$(SDK_ROOT)/components/libraries/bsp \
|
||||
$(SDK_ROOT)/components/nfc/ndef/connection_handover/ac_rec \
|
||||
$(SDK_ROOT)/components/ble/ble_services/ble_bas \
|
||||
$(SDK_ROOT)/components/libraries/mpu \
|
||||
$(SDK_ROOT)/components/libraries/experimental_section_vars \
|
||||
$(SDK_ROOT)/components/softdevice/s132/headers \
|
||||
$(SDK_ROOT)/components/ble/ble_services/ble_ans_c \
|
||||
$(SDK_ROOT)/components/libraries/slip \
|
||||
$(SDK_ROOT)/components/libraries/delay \
|
||||
$(SDK_ROOT)/components/libraries/mem_manager \
|
||||
$(SDK_ROOT)/components/libraries/csense_drv \
|
||||
$(SDK_ROOT)/components/libraries/memobj \
|
||||
$(SDK_ROOT)/components/ble/ble_services/ble_nus_c \
|
||||
$(SDK_ROOT)/components/softdevice/common \
|
||||
$(SDK_ROOT)/components/ble/ble_services/ble_ias \
|
||||
$(SDK_ROOT)/components/libraries/usbd/class/hid/mouse \
|
||||
$(SDK_ROOT)/components/libraries/low_power_pwm \
|
||||
$(SDK_ROOT)/components/nfc/ndef/conn_hand_parser/ble_oob_advdata_parser \
|
||||
$(SDK_ROOT)/components/ble/ble_services/ble_dfu \
|
||||
$(SDK_ROOT)/external/fprintf \
|
||||
$(SDK_ROOT)/components/libraries/svc \
|
||||
$(SDK_ROOT)/components/libraries/atomic \
|
||||
$(SDK_ROOT)/components \
|
||||
$(SDK_ROOT)/components/libraries/scheduler \
|
||||
$(SDK_ROOT)/components/libraries/cli \
|
||||
$(SDK_ROOT)/components/ble/ble_services/ble_lbs \
|
||||
$(SDK_ROOT)/components/ble/ble_services/ble_hts \
|
||||
$(SDK_ROOT)/components/libraries/crc16 \
|
||||
$(SDK_ROOT)/components/nfc/t4t_parser/apdu \
|
||||
$(SDK_ROOT)/external/freertos/config \
|
||||
$(SDK_ROOT)/components/libraries/util \
|
||||
$(SDK_ROOT)/external/freertos/portable/CMSIS/nrf52 \
|
||||
../config \
|
||||
$(SDK_ROOT)/components/libraries/usbd/class/cdc \
|
||||
$(SDK_ROOT)/components/libraries/csense \
|
||||
$(SDK_ROOT)/components/libraries/balloc \
|
||||
$(SDK_ROOT)/components/libraries/ecc \
|
||||
$(SDK_ROOT)/components/libraries/hardfault \
|
||||
$(SDK_ROOT)/components/ble/ble_services/ble_cscs \
|
||||
$(SDK_ROOT)/components/libraries/hci \
|
||||
$(SDK_ROOT)/components/libraries/usbd/class/hid/kbd \
|
||||
$(SDK_ROOT)/components/libraries/timer \
|
||||
$(SDK_ROOT)/integration/nrfx \
|
||||
$(SDK_ROOT)/components/nfc/t4t_parser/tlv \
|
||||
$(SDK_ROOT)/components/libraries/sortlist \
|
||||
$(SDK_ROOT)/components/libraries/spi_mngr \
|
||||
$(SDK_ROOT)/components/libraries/led_softblink \
|
||||
$(SDK_ROOT)/components/nfc/ndef/conn_hand_parser \
|
||||
$(SDK_ROOT)/components/libraries/sdcard \
|
||||
$(SDK_ROOT)/components/nfc/ndef/parser/record \
|
||||
$(SDK_ROOT)/modules/nrfx/mdk \
|
||||
$(SDK_ROOT)/components/ble/ble_services/ble_cts_c \
|
||||
$(SDK_ROOT)/components/ble/ble_services/ble_nus \
|
||||
$(SDK_ROOT)/components/libraries/twi_mngr \
|
||||
$(SDK_ROOT)/components/ble/ble_services/ble_hids \
|
||||
$(SDK_ROOT)/components/libraries/strerror \
|
||||
$(SDK_ROOT)/components/libraries/crc32 \
|
||||
$(SDK_ROOT)/components/nfc/ndef/connection_handover/ble_oob_advdata \
|
||||
$(SDK_ROOT)/components/nfc/t2t_parser \
|
||||
$(SDK_ROOT)/external/freertos/source/include \
|
||||
$(SDK_ROOT)/components/nfc/ndef/connection_handover/ble_pair_msg \
|
||||
$(SDK_ROOT)/components/libraries/usbd/class/audio \
|
||||
$(SDK_ROOT)/components/nfc/t4t_lib/hal_t4t \
|
||||
$(SDK_ROOT)/components/libraries/sensorsim \
|
||||
$(SDK_ROOT)/components/nfc/t4t_lib \
|
||||
$(SDK_ROOT)/components/ble/peer_manager \
|
||||
$(SDK_ROOT)/components/drivers_nrf/usbd \
|
||||
$(SDK_ROOT)/components/libraries/ringbuf \
|
||||
$(SDK_ROOT)/components/ble/ble_services/ble_tps \
|
||||
$(SDK_ROOT)/components/nfc/ndef/parser/message \
|
||||
$(SDK_ROOT)/components/ble/ble_services/ble_dis \
|
||||
$(SDK_ROOT)/components/nfc/ndef/uri \
|
||||
$(SDK_ROOT)/components/ble/nrf_ble_gatt \
|
||||
$(SDK_ROOT)/components/ble/nrf_ble_qwr \
|
||||
$(SDK_ROOT)/components/libraries/gfx \
|
||||
$(SDK_ROOT)/components/libraries/button \
|
||||
$(SDK_ROOT)/modules/nrfx \
|
||||
$(SDK_ROOT)/components/libraries/twi_sensor \
|
||||
$(SDK_ROOT)/integration/nrfx/legacy \
|
||||
$(SDK_ROOT)/components/libraries/usbd \
|
||||
$(SDK_ROOT)/components/nfc/ndef/connection_handover/ep_oob_rec \
|
||||
$(SDK_ROOT)/external/segger_rtt \
|
||||
$(SDK_ROOT)/components/libraries/atomic_fifo \
|
||||
$(SDK_ROOT)/components/ble/ble_services/ble_lbs_c \
|
||||
$(SDK_ROOT)/components/nfc/ndef/connection_handover/ble_pair_lib \
|
||||
$(SDK_ROOT)/components/libraries/crypto \
|
||||
$(SDK_ROOT)/components/ble/ble_racp \
|
||||
$(SDK_ROOT)/components/libraries/fds \
|
||||
$(SDK_ROOT)/components/nfc/ndef/launchapp \
|
||||
$(SDK_ROOT)/components/libraries/atomic_flags \
|
||||
$(SDK_ROOT)/components/ble/ble_services/ble_hrs \
|
||||
$(SDK_ROOT)/components/ble/ble_services/ble_rscs \
|
||||
$(SDK_ROOT)/components/nfc/ndef/connection_handover/hs_rec \
|
||||
$(SDK_ROOT)/components/nfc/t2t_lib/hal_t2t \
|
||||
$(SDK_ROOT)/components/nfc/ndef/conn_hand_parser/ac_rec_parser \
|
||||
$(SDK_ROOT)/components/libraries/stack_guard \
|
||||
$(SDK_ROOT)/components/libraries/log/src \
|
||||
|
||||
# Libraries common to all targets
|
||||
LIB_FILES += \
|
||||
|
||||
# Optimization flags
|
||||
OPT = -O3 -g3
|
||||
# Uncomment the line below to enable link time optimization
|
||||
#OPT += -flto
|
||||
|
||||
# C flags common to all targets
|
||||
CFLAGS += $(OPT)
|
||||
CFLAGS += -DBOARD_PCA10040
|
||||
#CFLAGS += -DCONFIG_GPIO_AS_PINRESET
|
||||
CFLAGS += -DFLOAT_ABI_HARD
|
||||
CFLAGS += -DFREERTOS
|
||||
CFLAGS += -DNRF52
|
||||
CFLAGS += -DNRF52832_XXAA
|
||||
CFLAGS += -DNRF52_PAN_74
|
||||
CFLAGS += -DNRF_SD_BLE_API_VERSION=6
|
||||
CFLAGS += -DS132
|
||||
CFLAGS += -DSOFTDEVICE_PRESENT
|
||||
CFLAGS += -mcpu=cortex-m4
|
||||
CFLAGS += -mthumb -mabi=aapcs
|
||||
CFLAGS += -Wall
|
||||
#CFLAGS += -Werror
|
||||
CFLAGS += -mfloat-abi=hard -mfpu=fpv4-sp-d16
|
||||
# keep every function in a separate section, this allows linker to discard unused ones
|
||||
CFLAGS += -ffunction-sections -fdata-sections -fno-strict-aliasing
|
||||
CFLAGS += -fno-builtin -fshort-enums
|
||||
CFLAGS += -DDEBUG
|
||||
|
||||
# C++ flags common to all targets
|
||||
CXXFLAGS += $(OPT)
|
||||
CXXFLAGS += -DDEBUG
|
||||
|
||||
# Assembler flags common to all targets
|
||||
ASMFLAGS += -g3
|
||||
ASMFLAGS += -mcpu=cortex-m4
|
||||
ASMFLAGS += -mthumb -mabi=aapcs
|
||||
ASMFLAGS += -mfloat-abi=hard -mfpu=fpv4-sp-d16
|
||||
ASMFLAGS += -DBOARD_PCA10040
|
||||
#ASMFLAGS += -DCONFIG_GPIO_AS_PINRESET
|
||||
ASMFLAGS += -DFLOAT_ABI_HARD
|
||||
ASMFLAGS += -DFREERTOS
|
||||
ASMFLAGS += -DNRF52
|
||||
ASMFLAGS += -DNRF52832_XXAA
|
||||
ASMFLAGS += -DNRF52_PAN_74
|
||||
ASMFLAGS += -DNRF_SD_BLE_API_VERSION=6
|
||||
ASMFLAGS += -DS132
|
||||
ASMFLAGS += -DSOFTDEVICE_PRESENT
|
||||
|
||||
# Linker flags
|
||||
LDFLAGS += $(OPT)
|
||||
LDFLAGS += -mthumb -mabi=aapcs -L$(SDK_ROOT)/modules/nrfx/mdk -T$(LINKER_SCRIPT)
|
||||
LDFLAGS += -mcpu=cortex-m4
|
||||
LDFLAGS += -mfloat-abi=hard -mfpu=fpv4-sp-d16
|
||||
# let linker dump unused sections
|
||||
LDFLAGS += -Wl,--gc-sections
|
||||
# use newlib in nano version
|
||||
LDFLAGS += --specs=nano.specs
|
||||
|
||||
nrf52832_xxaa: CFLAGS += -D__HEAP_SIZE=1024
|
||||
nrf52832_xxaa: CFLAGS += -D__STACK_SIZE=2048
|
||||
nrf52832_xxaa: ASMFLAGS += -D__HEAP_SIZE=1024
|
||||
nrf52832_xxaa: ASMFLAGS += -D__STACK_SIZE=2048
|
||||
|
||||
# Add standard libraries at the very end of the linker input, after all objects
|
||||
# that may need symbols provided by these libraries.
|
||||
LIB_FILES += -lc -lnosys -lm -lstdc++
|
||||
|
||||
|
||||
.PHONY: default help
|
||||
|
||||
# Default target - first one defined
|
||||
default: nrf52832_xxaa
|
||||
|
||||
# Print all targets that can be built
|
||||
help:
|
||||
@echo following targets are available:
|
||||
@echo nrf52832_xxaa
|
||||
@echo flash_softdevice
|
||||
@echo sdk_config - starting external tool for editing sdk_config.h
|
||||
@echo flash - flashing binary
|
||||
|
||||
TEMPLATE_PATH := $(SDK_ROOT)/components/toolchain/gcc
|
||||
|
||||
|
||||
include $(TEMPLATE_PATH)/Makefile.common
|
||||
|
||||
$(foreach target, $(TARGETS), $(call define_target, $(target)))
|
||||
|
||||
.PHONY: flash flash_softdevice erase
|
||||
|
||||
# Flash the program
|
||||
flash: default
|
||||
@echo Flashing: $(OUTPUT_DIRECTORY)/nrf52832_xxaa.hex
|
||||
nrfjprog -f nrf52 --program $(OUTPUT_DIRECTORY)/nrf52832_xxaa.hex --sectorerase
|
||||
nrfjprog -f nrf52 --reset
|
||||
|
||||
# Merge the program and softdevice
|
||||
merge_soft:
|
||||
@echo Merging: $(OUTPUT_DIRECTORY)/nrf52832_xxaa.hex and s132_nrf52_6.1.0_softdevice.hex
|
||||
mergehex -m $(SDK_ROOT)/components/softdevice/s132/hex/s132_nrf52_6.1.0_softdevice.hex $(OUTPUT_DIRECTORY)/nrf52832_xxaa.hex -o $(OUTPUT_DIRECTORY)/nrf52832_xxaa_and_soft.hex
|
||||
|
||||
# Flash the program and softdevice
|
||||
flash_merged:
|
||||
@echo Flashing: $(OUTPUT_DIRECTORY)/nrf52832_xxaa_and_soft.hex
|
||||
nrfjprog -f nrf52 --program $(OUTPUT_DIRECTORY)/nrf52832_xxaa_and_soft.hex --sectorerase
|
||||
nrfjprog -f nrf52 --reset
|
||||
|
||||
# Flash softdevice
|
||||
flash_softdevice:
|
||||
@echo Flashing: s132_nrf52_6.1.0_softdevice.hex
|
||||
nrfjprog -f nrf52 --program $(SDK_ROOT)/components/softdevice/s132/hex/s132_nrf52_6.1.0_softdevice.hex --sectorerase
|
||||
nrfjprog -f nrf52 --reset
|
||||
|
||||
erase:
|
||||
nrfjprog -f nrf52 --eraseall
|
||||
|
||||
SDK_CONFIG_FILE := ../config/sdk_config.h
|
||||
CMSIS_CONFIG_TOOL := $(SDK_ROOT)/external_tools/cmsisconfig/CMSIS_Configuration_Wizard.jar
|
||||
sdk_config:
|
||||
java -jar $(CMSIS_CONFIG_TOOL) $(SDK_CONFIG_FILE)
|
||||
File diff suppressed because it is too large
Load Diff
@@ -63,7 +63,7 @@
|
||||
#define configTICK_RATE_HZ 1024
|
||||
#define configMAX_PRIORITIES (3)
|
||||
#define configMINIMAL_STACK_SIZE (60)
|
||||
#define configTOTAL_HEAP_SIZE (5*4096)
|
||||
#define configTOTAL_HEAP_SIZE (6*4096)
|
||||
#define configMAX_TASK_NAME_LEN (4)
|
||||
#define configUSE_16_BIT_TICKS 0
|
||||
#define configIDLE_SHOULD_YIELD 1
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
$(PROJ_DIR)/config
|
||||
$(PROJ_DIR)/aconnoHelpers/
|
||||
$(PROJ_DIR)/tasks/
|
||||
$(PROJ_DIR)/aconnoBLE/
|
||||
$(PROJ_DIR)/aconnoSettings/
|
||||
$(PROJ_DIR)/libs/aconnoGPIO
|
||||
$(PROJ_DIR)/libs/aconnoNordicPAL
|
||||
$(PROJ_DIR)/libs/aconnoLog
|
||||
$(PROJ_DIR)/states/
|
||||
$(PROJ_DIR)/source/
|
||||
$(PROJ_DIR)/libs/aconnoI2C
|
||||
$(PROJ_DIR)/libs/aconnoSPI
|
||||
$(PROJ_DIR)/libs/aconnoPWM
|
||||
$(PROJ_DIR)/libs/GDEP015OC1
|
||||
$(PROJ_DIR)/libs/MCP23017
|
||||
$(PROJ_DIR)/libs/MCP9700/
|
||||
$(PROJ_DIR)/libs/LDR/
|
||||
$(PROJ_DIR)/libs/potentiometer/
|
||||
$(PROJ_DIR)/libs/aconnoSensor/
|
||||
$(PROJ_DIR)/libs/aconnoSAADC/
|
||||
$(PROJ_DIR)/libs/LSM9DS1
|
||||
$(PROJ_DIR)/libs/servo/
|
||||
$(PROJ_DIR)/libs/aconnoBeeper
|
||||
$(PROJ_DIR)/libs/aconnoPWM
|
||||
@@ -0,0 +1,33 @@
|
||||
$(PROJ_DIR)/aconnoBLE/aconnoBLEService.cpp
|
||||
$(PROJ_DIR)/aconnoBLE/aconnoBLEChar.cpp
|
||||
$(PROJ_DIR)/aconnoBLE/aconnoDFU.cpp
|
||||
$(PROJ_DIR)/aconnoBLE/advPayload.cpp
|
||||
$(PROJ_DIR)/aconnoSettings/settings.cpp
|
||||
$(PROJ_DIR)/aconnoSettings/configParams.cpp
|
||||
$(PROJ_DIR)/aconnoSettings/basicConfig.cpp
|
||||
$(PROJ_DIR)/aconnoSettings/arbData.cpp
|
||||
$(PROJ_DIR)/aconnoSettings/slots.cpp
|
||||
$(PROJ_DIR)/libs/aconnoGPIO/aconnoGPIO.cpp
|
||||
$(PROJ_DIR)/libs/aconnoNordicPAL/aconnoNordicPAL.cpp
|
||||
$(PROJ_DIR)/libs/aconnoLog/aconnoLog.cpp
|
||||
$(PROJ_DIR)/source/main.cpp
|
||||
$(PROJ_DIR)/aconnoHelpers/aconnoHelpers.cpp
|
||||
$(PROJ_DIR)/tasks/aconnoTasks.cpp
|
||||
$(PROJ_DIR)/aconnoBLE/aconnoBLE.cpp
|
||||
$(PROJ_DIR)/aconnoBLE/aconnoGAP.cpp
|
||||
$(PROJ_DIR)/aconnoBLE/aconnoGATT.cpp
|
||||
$(PROJ_DIR)/states/states.cpp
|
||||
$(PROJ_DIR)/libs/aconnoI2C/aconnoI2C.cpp
|
||||
$(PROJ_DIR)/libs/aconnoSPI/aconnoSPI.cpp
|
||||
$(PROJ_DIR)/libs/aconnoPWM/aconnoPWM.cpp
|
||||
$(PROJ_DIR)/libs/GDEP015OC1/GDEP015OC1.cpp
|
||||
$(PROJ_DIR)/libs/MCP23017/MCP23017.cpp
|
||||
$(PROJ_DIR)/libs/LDR/LDR.cpp
|
||||
$(PROJ_DIR)/libs/potentiometer/potentiometer.cpp
|
||||
$(PROJ_DIR)/libs/MCP9700/MCP9700.cpp
|
||||
$(PROJ_DIR)/libs/aconnoSensor/aconnoSensor.cpp
|
||||
$(PROJ_DIR)/libs/aconnoSAADC/aconnoSAADC.cpp
|
||||
$(PROJ_DIR)/libs/LSM9DS1/LSM9DS1.cpp
|
||||
$(PROJ_DIR)/libs/servo/servo.cpp
|
||||
$(PROJ_DIR)/libs/aconnoBeeper/aconnoBeeper.cpp
|
||||
$(PROJ_DIR)/libs/aconnoPWM/aconnoPWM.cpp
|
||||
@@ -0,0 +1,138 @@
|
||||
$(SDK_ROOT)/components/nfc/ndef/generic/message
|
||||
$(SDK_ROOT)/components/nfc/t2t_lib
|
||||
$(SDK_ROOT)/components/nfc/t4t_parser/hl_detection_procedure
|
||||
$(SDK_ROOT)/components/ble/ble_services/ble_ancs_c
|
||||
$(SDK_ROOT)/components/ble/ble_services/ble_ias_c
|
||||
$(SDK_ROOT)/components/libraries/pwm
|
||||
$(SDK_ROOT)/components/libraries/usbd/class/cdc/acm
|
||||
$(SDK_ROOT)/components/libraries/usbd/class/hid/generic
|
||||
$(SDK_ROOT)/components/libraries/usbd/class/msc
|
||||
$(SDK_ROOT)/components/libraries/usbd/class/hid
|
||||
$(SDK_ROOT)/modules/nrfx/hal
|
||||
$(SDK_ROOT)/components/nfc/ndef/conn_hand_parser/le_oob_rec_parser
|
||||
$(SDK_ROOT)/components/libraries/log
|
||||
$(SDK_ROOT)/components/ble/ble_services/ble_gls
|
||||
$(SDK_ROOT)/components/libraries/fstorage
|
||||
$(SDK_ROOT)/components/nfc/ndef/text
|
||||
$(SDK_ROOT)/components/libraries/mutex
|
||||
$(SDK_ROOT)/components/libraries/gpiote
|
||||
$(SDK_ROOT)/components/libraries/bootloader/ble_dfu
|
||||
$(SDK_ROOT)/components/nfc/ndef/connection_handover/common
|
||||
$(SDK_ROOT)/components/boards
|
||||
$(SDK_ROOT)/components/nfc/ndef/generic/record
|
||||
$(SDK_ROOT)/components/nfc/t4t_parser/cc_file
|
||||
$(SDK_ROOT)/components/ble/ble_advertising
|
||||
$(SDK_ROOT)/external/utf_converter
|
||||
$(SDK_ROOT)/components/ble/ble_services/ble_bas_c
|
||||
$(SDK_ROOT)/modules/nrfx/drivers/include
|
||||
$(SDK_ROOT)/components/libraries/experimental_task_manager
|
||||
$(SDK_ROOT)/components/ble/ble_services/ble_hrs_c
|
||||
$(SDK_ROOT)/components/nfc/ndef/connection_handover/le_oob_rec
|
||||
$(SDK_ROOT)/components/libraries/queue
|
||||
$(SDK_ROOT)/components/libraries/pwr_mgmt
|
||||
$(SDK_ROOT)/external/freertos/portable/GCC/nrf52
|
||||
$(SDK_ROOT)/components/ble/ble_dtm
|
||||
$(SDK_ROOT)/components/toolchain/cmsis/include
|
||||
$(SDK_ROOT)/components/ble/ble_services/ble_rscs_c
|
||||
$(SDK_ROOT)/components/ble/common
|
||||
$(SDK_ROOT)/components/ble/ble_services/ble_lls
|
||||
$(SDK_ROOT)/components/libraries/hardfault/nrf52
|
||||
$(SDK_ROOT)/components/libraries/bsp
|
||||
$(SDK_ROOT)/components/nfc/ndef/connection_handover/ac_rec
|
||||
$(SDK_ROOT)/components/ble/ble_services/ble_bas
|
||||
$(SDK_ROOT)/components/libraries/mpu
|
||||
$(SDK_ROOT)/components/libraries/experimental_section_vars
|
||||
$(SDK_ROOT)/components/ble/ble_services/ble_ans_c
|
||||
$(SDK_ROOT)/components/libraries/slip
|
||||
$(SDK_ROOT)/components/libraries/delay
|
||||
$(SDK_ROOT)/components/libraries/mem_manager
|
||||
$(SDK_ROOT)/components/libraries/csense_drv
|
||||
$(SDK_ROOT)/components/libraries/memobj
|
||||
$(SDK_ROOT)/components/ble/ble_services/ble_nus_c
|
||||
$(SDK_ROOT)/components/softdevice/common
|
||||
$(SDK_ROOT)/components/ble/ble_services/ble_ias
|
||||
$(SDK_ROOT)/components/libraries/usbd/class/hid/mouse
|
||||
$(SDK_ROOT)/components/libraries/low_power_pwm
|
||||
$(SDK_ROOT)/components/nfc/ndef/conn_hand_parser/ble_oob_advdata_parser
|
||||
$(SDK_ROOT)/components/ble/ble_services/ble_dfu
|
||||
$(SDK_ROOT)/external/fprintf
|
||||
$(SDK_ROOT)/components/libraries/svc
|
||||
$(SDK_ROOT)/components/libraries/atomic
|
||||
$(SDK_ROOT)/components
|
||||
$(SDK_ROOT)/components/libraries/scheduler
|
||||
$(SDK_ROOT)/components/libraries/cli
|
||||
$(SDK_ROOT)/components/ble/ble_services/ble_lbs
|
||||
$(SDK_ROOT)/components/ble/ble_services/ble_hts
|
||||
$(SDK_ROOT)/components/libraries/crc16
|
||||
$(SDK_ROOT)/components/nfc/t4t_parser/apdu
|
||||
$(SDK_ROOT)/external/freertos/config
|
||||
$(SDK_ROOT)/components/libraries/util
|
||||
$(SDK_ROOT)/external/freertos/portable/CMSIS/nrf52
|
||||
$(SDK_ROOT)/components/libraries/usbd/class/cdc
|
||||
$(SDK_ROOT)/components/libraries/csense
|
||||
$(SDK_ROOT)/components/libraries/balloc
|
||||
$(SDK_ROOT)/components/libraries/ecc
|
||||
$(SDK_ROOT)/components/libraries/hardfault
|
||||
$(SDK_ROOT)/components/ble/ble_services/ble_cscs
|
||||
$(SDK_ROOT)/components/libraries/hci
|
||||
$(SDK_ROOT)/components/libraries/usbd/class/hid/kbd
|
||||
$(SDK_ROOT)/components/libraries/timer
|
||||
$(SDK_ROOT)/integration/nrfx
|
||||
$(SDK_ROOT)/components/nfc/t4t_parser/tlv
|
||||
$(SDK_ROOT)/components/libraries/sortlist
|
||||
$(SDK_ROOT)/components/libraries/spi_mngr
|
||||
$(SDK_ROOT)/components/libraries/led_softblink
|
||||
$(SDK_ROOT)/components/nfc/ndef/conn_hand_parser
|
||||
$(SDK_ROOT)/components/libraries/sdcard
|
||||
$(SDK_ROOT)/components/nfc/ndef/parser/record
|
||||
$(SDK_ROOT)/modules/nrfx/mdk
|
||||
$(SDK_ROOT)/components/ble/ble_services/ble_cts_c
|
||||
$(SDK_ROOT)/components/ble/ble_services/ble_nus
|
||||
$(SDK_ROOT)/components/libraries/twi_mngr
|
||||
$(SDK_ROOT)/components/ble/ble_services/ble_hids
|
||||
$(SDK_ROOT)/components/libraries/strerror
|
||||
$(SDK_ROOT)/components/libraries/crc32
|
||||
$(SDK_ROOT)/components/nfc/ndef/connection_handover/ble_oob_advdata
|
||||
$(SDK_ROOT)/components/nfc/t2t_parser
|
||||
$(SDK_ROOT)/external/freertos/source/include
|
||||
$(SDK_ROOT)/components/nfc/ndef/connection_handover/ble_pair_msg
|
||||
$(SDK_ROOT)/components/libraries/usbd/class/audio
|
||||
$(SDK_ROOT)/components/nfc/t4t_lib/hal_t4t
|
||||
$(SDK_ROOT)/components/libraries/sensorsim
|
||||
$(SDK_ROOT)/components/nfc/t4t_lib
|
||||
$(SDK_ROOT)/components/ble/peer_manager
|
||||
$(SDK_ROOT)/components/drivers_nrf/usbd
|
||||
$(SDK_ROOT)/components/libraries/ringbuf
|
||||
$(SDK_ROOT)/components/ble/ble_services/ble_tps
|
||||
$(SDK_ROOT)/components/nfc/ndef/parser/message
|
||||
$(SDK_ROOT)/components/ble/ble_services/ble_dis
|
||||
$(SDK_ROOT)/components/nfc/ndef/uri
|
||||
$(SDK_ROOT)/components/ble/nrf_ble_gatt
|
||||
$(SDK_ROOT)/components/ble/nrf_ble_qwr
|
||||
$(SDK_ROOT)/components/libraries/gfx
|
||||
$(SDK_ROOT)/components/libraries/button
|
||||
$(SDK_ROOT)/modules/nrfx
|
||||
$(SDK_ROOT)/components/libraries/twi_sensor
|
||||
$(SDK_ROOT)/integration/nrfx/legacy
|
||||
$(SDK_ROOT)/components/libraries/usbd
|
||||
$(SDK_ROOT)/components/nfc/ndef/connection_handover/ep_oob_rec
|
||||
$(SDK_ROOT)/external/segger_rtt
|
||||
$(SDK_ROOT)/components/libraries/atomic_fifo
|
||||
$(SDK_ROOT)/components/ble/ble_services/ble_lbs_c
|
||||
$(SDK_ROOT)/components/nfc/ndef/connection_handover/ble_pair_lib
|
||||
$(SDK_ROOT)/components/libraries/crypto
|
||||
$(SDK_ROOT)/components/ble/ble_racp
|
||||
$(SDK_ROOT)/components/libraries/fds
|
||||
$(SDK_ROOT)/components/nfc/ndef/launchapp
|
||||
$(SDK_ROOT)/components/libraries/atomic_flags
|
||||
$(SDK_ROOT)/components/ble/ble_services/ble_hrs
|
||||
$(SDK_ROOT)/components/ble/ble_services/ble_rscs
|
||||
$(SDK_ROOT)/components/nfc/ndef/connection_handover/hs_rec
|
||||
$(SDK_ROOT)/components/nfc/t2t_lib/hal_t2t
|
||||
$(SDK_ROOT)/components/nfc/ndef/conn_hand_parser/ac_rec_parser
|
||||
$(SDK_ROOT)/components/libraries/stack_guard
|
||||
$(SDK_ROOT)/components/libraries/log/src
|
||||
$(SDK_ROOT)/components/libraries/bootloader
|
||||
$(SDK_ROOT)/components/libraries/bootloader/ble_dfu
|
||||
$(SDK_ROOT)/components/libraries/bootloader/dfu
|
||||
$(SDK_ROOT)/components/ble/ble_services/ble_dfu/
|
||||
@@ -0,0 +1,98 @@
|
||||
$(SDK_ROOT)/components/libraries/log/src/nrf_log_backend_rtt.c
|
||||
$(SDK_ROOT)/components/libraries/log/src/nrf_log_backend_serial.c
|
||||
$(SDK_ROOT)/components/libraries/log/src/nrf_log_backend_uart.c
|
||||
$(SDK_ROOT)/components/libraries/log/src/nrf_log_default_backends.c
|
||||
$(SDK_ROOT)/components/libraries/log/src/nrf_log_frontend.c
|
||||
$(SDK_ROOT)/components/libraries/log/src/nrf_log_str_formatter.c
|
||||
$(SDK_ROOT)/components/libraries/button/app_button.c
|
||||
$(SDK_ROOT)/components/libraries/util/app_error.c
|
||||
$(SDK_ROOT)/components/libraries/util/app_error_handler_gcc.c
|
||||
$(SDK_ROOT)/components/libraries/util/app_error_weak.c
|
||||
$(SDK_ROOT)/components/libraries/timer/app_timer_freertos.c
|
||||
$(SDK_ROOT)/components/libraries/util/app_util_platform.c
|
||||
$(SDK_ROOT)/components/libraries/crc16/crc16.c
|
||||
$(SDK_ROOT)/components/libraries/fds/fds.c
|
||||
$(SDK_ROOT)/components/libraries/hardfault/nrf52/handler/hardfault_handler_gcc.c
|
||||
$(SDK_ROOT)/components/libraries/hardfault/hardfault_implementation.c
|
||||
$(SDK_ROOT)/components/libraries/util/nrf_assert.c
|
||||
$(SDK_ROOT)/components/libraries/atomic_fifo/nrf_atfifo.c
|
||||
$(SDK_ROOT)/components/libraries/atomic_flags/nrf_atflags.c
|
||||
$(SDK_ROOT)/components/libraries/atomic/nrf_atomic.c
|
||||
$(SDK_ROOT)/components/libraries/balloc/nrf_balloc.c
|
||||
$(SDK_ROOT)/external/fprintf/nrf_fprintf.c
|
||||
$(SDK_ROOT)/external/fprintf/nrf_fprintf_format.c
|
||||
$(SDK_ROOT)/components/libraries/fstorage/nrf_fstorage.c
|
||||
$(SDK_ROOT)/components/libraries/fstorage/nrf_fstorage_sd.c
|
||||
$(SDK_ROOT)/components/libraries/memobj/nrf_memobj.c
|
||||
$(SDK_ROOT)/components/libraries/ringbuf/nrf_ringbuf.c
|
||||
$(SDK_ROOT)/components/libraries/experimental_section_vars/nrf_section_iter.c
|
||||
$(SDK_ROOT)/components/libraries/strerror/nrf_strerror.c
|
||||
$(SDK_ROOT)/components/libraries/sensorsim/sensorsim.c
|
||||
$(SDK_ROOT)/external/freertos/source/croutine.c
|
||||
$(SDK_ROOT)/external/freertos/source/event_groups.c
|
||||
$(SDK_ROOT)/external/freertos/source/portable/MemMang/heap_1.c
|
||||
$(SDK_ROOT)/external/freertos/source/list.c
|
||||
$(SDK_ROOT)/external/freertos/portable/GCC/nrf52/port.c
|
||||
$(SDK_ROOT)/external/freertos/portable/CMSIS/nrf52/port_cmsis.c
|
||||
$(SDK_ROOT)/external/freertos/portable/CMSIS/nrf52/port_cmsis_systick.c
|
||||
$(SDK_ROOT)/external/freertos/source/queue.c
|
||||
$(SDK_ROOT)/external/freertos/source/stream_buffer.c
|
||||
$(SDK_ROOT)/external/freertos/source/tasks.c
|
||||
$(SDK_ROOT)/external/freertos/source/timers.c
|
||||
$(SDK_ROOT)/components/boards/boards.c
|
||||
$(SDK_ROOT)/integration/nrfx/legacy/nrf_drv_clock.c
|
||||
$(SDK_ROOT)/integration/nrfx/legacy/nrf_drv_uart.c
|
||||
$(SDK_ROOT)/modules/nrfx/drivers/src/nrfx_clock.c
|
||||
$(SDK_ROOT)/modules/nrfx/drivers/src/nrfx_gpiote.c
|
||||
$(SDK_ROOT)/modules/nrfx/drivers/src/nrfx_power_clock.c
|
||||
$(SDK_ROOT)/modules/nrfx/drivers/src/prs/nrfx_prs.c
|
||||
$(SDK_ROOT)/modules/nrfx/drivers/src/nrfx_uart.c
|
||||
$(SDK_ROOT)/modules/nrfx/drivers/src/nrfx_uarte.c
|
||||
$(SDK_ROOT)/components/libraries/bsp/bsp.c
|
||||
$(SDK_ROOT)/components/libraries/bsp/bsp_btn_ble.c
|
||||
$(SDK_ROOT)/external/segger_rtt/SEGGER_RTT.c
|
||||
$(SDK_ROOT)/external/segger_rtt/SEGGER_RTT_Syscalls_GCC.c
|
||||
$(SDK_ROOT)/external/segger_rtt/SEGGER_RTT_printf.c
|
||||
$(SDK_ROOT)/components/ble/peer_manager/auth_status_tracker.c
|
||||
$(SDK_ROOT)/components/ble/common/ble_advdata.c
|
||||
$(SDK_ROOT)/components/ble/ble_advertising/ble_advertising.c
|
||||
$(SDK_ROOT)/components/ble/common/ble_conn_params.c
|
||||
$(SDK_ROOT)/components/ble/common/ble_conn_state.c
|
||||
$(SDK_ROOT)/components/ble/common/ble_srv_common.c
|
||||
$(SDK_ROOT)/components/ble/peer_manager/gatt_cache_manager.c
|
||||
$(SDK_ROOT)/components/ble/peer_manager/gatts_cache_manager.c
|
||||
$(SDK_ROOT)/components/ble/peer_manager/id_manager.c
|
||||
$(SDK_ROOT)/components/ble/nrf_ble_gatt/nrf_ble_gatt.c
|
||||
$(SDK_ROOT)/components/ble/nrf_ble_qwr/nrf_ble_qwr.c
|
||||
$(SDK_ROOT)/components/ble/peer_manager/peer_data_storage.c
|
||||
$(SDK_ROOT)/components/ble/peer_manager/peer_database.c
|
||||
$(SDK_ROOT)/components/ble/peer_manager/peer_id.c
|
||||
$(SDK_ROOT)/components/ble/peer_manager/peer_manager.c
|
||||
$(SDK_ROOT)/components/ble/peer_manager/peer_manager_handler.c
|
||||
$(SDK_ROOT)/components/ble/peer_manager/pm_buffer.c
|
||||
$(SDK_ROOT)/components/ble/peer_manager/security_dispatcher.c
|
||||
$(SDK_ROOT)/components/ble/peer_manager/security_manager.c
|
||||
$(SDK_ROOT)/external/utf_converter/utf.c
|
||||
$(SDK_ROOT)/components/ble/ble_services/ble_bas/ble_bas.c
|
||||
$(SDK_ROOT)/components/ble/ble_services/ble_dis/ble_dis.c
|
||||
$(SDK_ROOT)/components/ble/ble_services/ble_hrs/ble_hrs.c
|
||||
$(SDK_ROOT)/components/softdevice/common/nrf_sdh.c
|
||||
$(SDK_ROOT)/components/softdevice/common/nrf_sdh_ble.c
|
||||
$(SDK_ROOT)/components/softdevice/common/nrf_sdh_freertos.c
|
||||
$(SDK_ROOT)/components/softdevice/common/nrf_sdh_soc.c
|
||||
$(SDK_ROOT)/integration/nrfx/legacy/nrf_drv_twi.c
|
||||
$(SDK_ROOT)/modules/nrfx/drivers/src/nrfx_twi.c
|
||||
$(SDK_ROOT)/components/libraries/pwm/app_pwm.c
|
||||
$(SDK_ROOT)/modules/nrfx/drivers/src/nrfx_gpiote.c
|
||||
$(SDK_ROOT)/modules/nrfx/drivers/src/nrfx_ppi.c
|
||||
$(SDK_ROOT)/modules/nrfx/drivers/src/nrfx_timer.c
|
||||
$(SDK_ROOT)/integration/nrfx/legacy/nrf_drv_ppi.c
|
||||
$(SDK_ROOT)/modules/nrfx/drivers/src/nrfx_pwm.c
|
||||
$(SDK_ROOT)/components/ble/ble_services/ble_dfu/ble_dfu.c
|
||||
$(SDK_ROOT)/components/ble/ble_services/ble_dfu/ble_dfu_bonded.c
|
||||
$(SDK_ROOT)/components/ble/ble_services/ble_dfu/ble_dfu_unbonded.c
|
||||
$(SDK_ROOT)/components/libraries/bootloader/dfu/nrf_dfu_svci.c
|
||||
$(SDK_ROOT)/components/libraries/pwr_mgmt/nrf_pwr_mgmt.c
|
||||
$(SDK_ROOT)/integration/nrfx/legacy/nrf_drv_spi.c
|
||||
$(SDK_ROOT)/modules/nrfx/drivers/src/nrfx_spi.c
|
||||
$(SDK_ROOT)/modules/nrfx/drivers/src/nrfx_spim.c
|
||||
+1
-1
Submodule libs/KDT00030 updated: a704e9598b...dc76caf439
Submodule
+1
Submodule libs/aconnoLog added at 938bdd3b64
+1
-1
Submodule libs/aconnoNordicPAL updated: 46fbb1695d...1f8611b8ca
+1
-1
Submodule libs/aconnoPWM updated: 5023863a50...989dccb03c
+1
-1
Submodule libs/aconnoSAADC updated: 1bda1716fa...85bd63ed13
+1
-1
Submodule libs/aconnoSPI updated: 7fd471f8d7...a625b4e40e
+1
-1
Submodule libs/aconnoSensor updated: f3259fa9dc...fa552a2931
+1
-1
Submodule libs/potentiometer updated: 5783988303...19123461f0
+1
-1
Submodule libs/servo updated: ff35994e65...74275e592e
@@ -0,0 +1,17 @@
|
||||
/**
|
||||
* @file aconnoBSP.h
|
||||
* @author Jurica Resetar (Jurica@aconno.de)
|
||||
* @brief
|
||||
* @version 0.1
|
||||
* @date 2019-04-19
|
||||
*
|
||||
* @copyright Copyright (c) 2019
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __ACONNO_BSP_H__
|
||||
#define __ACONNO_BSP_H__
|
||||
|
||||
#include "acd52832Bsp.h"
|
||||
|
||||
#endif // __ACONNO_BSP_H__
|
||||
@@ -0,0 +1,187 @@
|
||||
PROJECT_NAME := ACD52832Master
|
||||
TARGETS := nrf52832_xxaa
|
||||
OUTPUT_DIRECTORY := _build
|
||||
|
||||
SDK_ROOT := ../../../nRF5_SDK_15.2.0
|
||||
PROJ_DIR := ../../
|
||||
|
||||
# Comment if the project does not use DFU
|
||||
#USE_ACONNO_DFU := YES
|
||||
|
||||
$(OUTPUT_DIRECTORY)/nrf52832_xxaa.out: \
|
||||
LINKER_SCRIPT := ble_app_hrs_freertos_gcc_nrf52.ld
|
||||
|
||||
ACONNO_SRC_FILE = ../../config/buildConfig/aconnoSource.txt
|
||||
ACONNO_SOURCE = $(shell cat ${ACONNO_SRC_FILE})
|
||||
ACONNO_INC_FILE = ../../config/buildConfig/aconnoInclude.txt
|
||||
ACONNO_INCLUDE = $(shell cat ${ACONNO_INC_FILE})
|
||||
|
||||
NORDIC_SRC_FILE = ../../config/buildConfig/nordicSource.txt
|
||||
NORDIC_SOURCE = $(shell cat ${NORDIC_SRC_FILE})
|
||||
NORDIC_INC_FILE = ../../config/buildConfig/nordicInclude.txt
|
||||
NORDIC_INCLUDE = $(shell cat ${NORDIC_INC_FILE})
|
||||
|
||||
# Source files common to all targets
|
||||
SRC_FILES += \
|
||||
$(ACONNO_SOURCE) \
|
||||
$(NORDIC_SOURCE) \
|
||||
$(SDK_ROOT)/modules/nrfx/mdk/gcc_startup_nrf52.S \
|
||||
$(SDK_ROOT)/modules/nrfx/mdk/system_nrf52.c \
|
||||
|
||||
# Include folders common to all targets
|
||||
INC_FOLDERS += \
|
||||
$(ACONNO_INCLUDE) \
|
||||
$(NORDIC_INCLUDE) \
|
||||
$(PROJ_DIR)/nrf52832/ \
|
||||
$(PROJ_DIR)/nrf52832/config \
|
||||
$(SDK_ROOT)/components/softdevice/s132/headers \
|
||||
$(SDK_ROOT)/components/softdevice/s132/headers/nrf52 \
|
||||
|
||||
# Libraries common to all targets
|
||||
LIB_FILES += \
|
||||
|
||||
# Optimization flags
|
||||
OPT = -O3 -g3
|
||||
# Uncomment the line below to enable link time optimization
|
||||
#OPT += -flto
|
||||
|
||||
# C flags common to all targets
|
||||
CFLAGS += $(OPT)
|
||||
CFLAGS += -DBOARD_PCA10040
|
||||
CFLAGS += -DFLOAT_ABI_HARD
|
||||
CFLAGS += -DFREERTOS
|
||||
CFLAGS += -DNRF52
|
||||
CFLAGS += -DNRF52832_XXAA
|
||||
CFLAGS += -DNRF52_PAN_74
|
||||
CFLAGS += -DNRF_SD_BLE_API_VERSION=6
|
||||
CFLAGS += -DS132
|
||||
CFLAGS += -DSOFTDEVICE_PRESENT
|
||||
CFLAGS += -mcpu=cortex-m4
|
||||
CFLAGS += -mthumb -mabi=aapcs
|
||||
CFLAGS += -Wall
|
||||
#CFLAGS += -Werror
|
||||
CFLAGS += -mfloat-abi=hard -mfpu=fpv4-sp-d16
|
||||
# keep every function in a separate section, this allows linker to discard unused ones
|
||||
CFLAGS += -ffunction-sections -fdata-sections -fno-strict-aliasing
|
||||
CFLAGS += -fno-builtin -fshort-enums
|
||||
CFLAGS += -DDEBUG
|
||||
CFLAGS += -DNRF_DFU_SVCI_ENABLED
|
||||
CFLAGS += -DNRF_DFU_TRANSPORT_BLE=1
|
||||
ifdef USE_ACONNO_DFU
|
||||
CFLAGS += -DUSE_ACONNO_DFU
|
||||
endif
|
||||
|
||||
# C++ flags common to all targets
|
||||
CXXFLAGS += $(OPT)
|
||||
CXXFLAGS += -DDEBUG
|
||||
|
||||
# Assembler flags common to all targets
|
||||
ASMFLAGS += -g3
|
||||
ASMFLAGS += -mcpu=cortex-m4
|
||||
ASMFLAGS += -mthumb -mabi=aapcs
|
||||
ASMFLAGS += -mfloat-abi=hard -mfpu=fpv4-sp-d16
|
||||
ASMFLAGS += -DBOARD_PCA10040
|
||||
ASMFLAGS += -DFLOAT_ABI_HARD
|
||||
ASMFLAGS += -DFREERTOS
|
||||
ASMFLAGS += -DNRF52
|
||||
ASMFLAGS += -DNRF52832_XXAA
|
||||
ASMFLAGS += -DNRF52_PAN_74
|
||||
ASMFLAGS += -DNRF_SD_BLE_API_VERSION=6
|
||||
ASMFLAGS += -DS132
|
||||
ASMFLAGS += -DSOFTDEVICE_PRESENT
|
||||
ASMFLAGS += -DNRF_DFU_SVCI_ENABLED
|
||||
ASMFLAGS += -DNRF_DFU_TRANSPORT_BLE=1
|
||||
|
||||
# Linker flags
|
||||
LDFLAGS += $(OPT)
|
||||
LDFLAGS += -mthumb -mabi=aapcs -L$(SDK_ROOT)/modules/nrfx/mdk -T$(LINKER_SCRIPT)
|
||||
LDFLAGS += -mcpu=cortex-m4
|
||||
LDFLAGS += -mfloat-abi=hard -mfpu=fpv4-sp-d16
|
||||
# let linker dump unused sections
|
||||
LDFLAGS += -Wl,--gc-sections
|
||||
# use newlib in nano version
|
||||
LDFLAGS += --specs=nano.specs
|
||||
|
||||
nrf52832_xxaa: CFLAGS += -D__HEAP_SIZE=1024
|
||||
nrf52832_xxaa: CFLAGS += -D__STACK_SIZE=2048
|
||||
nrf52832_xxaa: ASMFLAGS += -D__HEAP_SIZE=1024
|
||||
nrf52832_xxaa: ASMFLAGS += -D__STACK_SIZE=2048
|
||||
|
||||
# Add standard libraries at the very end of the linker input, after all objects
|
||||
# that may need symbols provided by these libraries.
|
||||
LIB_FILES += -lc -lnosys -lm -lstdc++
|
||||
|
||||
|
||||
.PHONY: default help
|
||||
|
||||
# Default target - first one defined
|
||||
default: nrf52832_xxaa
|
||||
|
||||
# Print all targets that can be built
|
||||
help:
|
||||
@echo following targets are available:
|
||||
@echo nrf52832_xxaa
|
||||
@echo flash_softdevice
|
||||
@echo sdk_config - starting external tool for editing sdk_config.h
|
||||
@echo flash - flashing binary
|
||||
@echo $(VARIABLE)
|
||||
TEMPLATE_PATH := $(SDK_ROOT)/components/toolchain/gcc
|
||||
|
||||
|
||||
include $(TEMPLATE_PATH)/Makefile.common
|
||||
|
||||
$(foreach target, $(TARGETS), $(call define_target, $(target)))
|
||||
|
||||
.PHONY: flash flash_softdevice erase
|
||||
|
||||
# Flash the program
|
||||
flash_app: default
|
||||
@echo Flashing: $(OUTPUT_DIRECTORY)/nrf52832_xxaa.hex
|
||||
nrfjprog -f nrf52 --program $(OUTPUT_DIRECTORY)/nrf52832_xxaa.hex --sectorerase
|
||||
nrfjprog -f nrf52 --reset
|
||||
|
||||
# Flash softdevice
|
||||
flash_softdevice:
|
||||
@echo Flashing: s132_nrf52_6.1.0_softdevice.hex
|
||||
nrfjprog -f nrf52 --program $(SDK_ROOT)/components/softdevice/s132/hex/s132_nrf52_6.1.0_softdevice.hex --sectorerase
|
||||
nrfjprog -f nrf52 --reset
|
||||
|
||||
# Flash the program and softdevice
|
||||
flash_all:
|
||||
@echo Flashing: $(OUTPUT_DIRECTORY)/$(PROJECT_NAME).hex
|
||||
nrfjprog -f nrf52 --program $(OUTPUT_DIRECTORY)/$(PROJECT_NAME).hex --sectorerase
|
||||
nrfjprog -f nrf52 --reset
|
||||
|
||||
# Merge the program and softdevice
|
||||
merge_soft:
|
||||
@echo Merging: $(OUTPUT_DIRECTORY)/nrf52832_xxaa.hex and s132_nrf52_6.1.0_softdevice.hex
|
||||
mergehex -m $(SDK_ROOT)/components/softdevice/s132/hex/s132_nrf52_6.1.0_softdevice.hex $(OUTPUT_DIRECTORY)/nrf52832_xxaa.hex -o $(OUTPUT_DIRECTORY)/$(PROJECT_NAME).hex
|
||||
|
||||
# Merge four hexes
|
||||
merge_all:
|
||||
ifdef USE_ACONNO_DFU
|
||||
@echo Merging I:
|
||||
@echo DFU bootloader: $(SDK_ROOT)/examples/dfu/secure_bootloader/pca10040_ble_debug/armgcc/_build/nrf52832_xxaa_s132.hex
|
||||
@echo Application hex: $(OUTPUT_DIRECTORY)/nrf52832_xxaa.hex
|
||||
mergehex -m $(SDK_ROOT)/components/aconno/nrf52832_xxaa_s132.hex $(OUTPUT_DIRECTORY)/nrf52832_xxaa.hex -o $(OUTPUT_DIRECTORY)/mergedBLandApp.hex
|
||||
@echo
|
||||
@echo Merging II:
|
||||
@echo Bootloader settings page: $(SDK_ROOT)/components/aconno/bootloaderSettings.hex
|
||||
@echo SoftDevice: $(SDK_ROOT)/components/softdevice/s132/hex/s132_nrf52_6.1.0_softdevice.hex
|
||||
@echo Previously merged hex: $(OUTPUT_DIRECTORY)/mergedBLandApp.hex
|
||||
mergehex -m $(SDK_ROOT)/components/aconno/bootloaderSettings.hex $(SDK_ROOT)/components/softdevice/s132/hex/s132_nrf52_6.1.0_softdevice.hex $(OUTPUT_DIRECTORY)/mergedBLandApp.hex -o $(OUTPUT_DIRECTORY)/$(PROJECT_NAME).hex
|
||||
else
|
||||
make merge_soft
|
||||
endif
|
||||
|
||||
all:
|
||||
make merge_all
|
||||
make flash_all
|
||||
|
||||
erase:
|
||||
nrfjprog -f nrf52 --eraseall
|
||||
|
||||
SDK_CONFIG_FILE := ../config/sdk_config.h
|
||||
CMSIS_CONFIG_TOOL := $(SDK_ROOT)/external_tools/cmsisconfig/CMSIS_Configuration_Wizard.jar
|
||||
sdk_config:
|
||||
java -jar $(CMSIS_CONFIG_TOOL) $(SDK_CONFIG_FILE)
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,112 @@
|
||||
/* Linker script to configure memory regions. */
|
||||
|
||||
SEARCH_DIR(.)
|
||||
GROUP(-lgcc -lc -lnosys)
|
||||
|
||||
MEMORY
|
||||
{
|
||||
FLASH (rx) : ORIGIN = 0x26000, LENGTH = 0x52000
|
||||
RAM (rwx) : ORIGIN = 0x200057b8, LENGTH = 0xa848
|
||||
uicr_bootloader_start_address (r) : ORIGIN = 0x10001014, LENGTH = 0x4
|
||||
}
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
.uicr_bootloader_start_address :
|
||||
{
|
||||
PROVIDE(__start_uicr_bootloader_start_address = .);
|
||||
KEEP(*(SORT(.uicr_bootloader_start_address*)))
|
||||
PROVIDE(__stop_uicr_bootloader_start_address = .);
|
||||
} > uicr_bootloader_start_address
|
||||
}
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
. = ALIGN(4);
|
||||
.mem_section_dummy_ram :
|
||||
{
|
||||
}
|
||||
.log_dynamic_data :
|
||||
{
|
||||
PROVIDE(__start_log_dynamic_data = .);
|
||||
KEEP(*(SORT(.log_dynamic_data*)))
|
||||
PROVIDE(__stop_log_dynamic_data = .);
|
||||
} > RAM
|
||||
.log_filter_data :
|
||||
{
|
||||
PROVIDE(__start_log_filter_data = .);
|
||||
KEEP(*(SORT(.log_filter_data*)))
|
||||
PROVIDE(__stop_log_filter_data = .);
|
||||
} > RAM
|
||||
.fs_data :
|
||||
{
|
||||
PROVIDE(__start_fs_data = .);
|
||||
KEEP(*(.fs_data))
|
||||
PROVIDE(__stop_fs_data = .);
|
||||
} > RAM
|
||||
|
||||
} INSERT AFTER .data;
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
.mem_section_dummy_rom :
|
||||
{
|
||||
}
|
||||
.sdh_ble_observers :
|
||||
{
|
||||
PROVIDE(__start_sdh_ble_observers = .);
|
||||
KEEP(*(SORT(.sdh_ble_observers*)))
|
||||
PROVIDE(__stop_sdh_ble_observers = .);
|
||||
} > FLASH
|
||||
.sdh_soc_observers :
|
||||
{
|
||||
PROVIDE(__start_sdh_soc_observers = .);
|
||||
KEEP(*(SORT(.sdh_soc_observers*)))
|
||||
PROVIDE(__stop_sdh_soc_observers = .);
|
||||
} > FLASH
|
||||
.pwr_mgmt_data :
|
||||
{
|
||||
PROVIDE(__start_pwr_mgmt_data = .);
|
||||
KEEP(*(SORT(.pwr_mgmt_data*)))
|
||||
PROVIDE(__stop_pwr_mgmt_data = .);
|
||||
} > FLASH
|
||||
.log_const_data :
|
||||
{
|
||||
PROVIDE(__start_log_const_data = .);
|
||||
KEEP(*(SORT(.log_const_data*)))
|
||||
PROVIDE(__stop_log_const_data = .);
|
||||
} > FLASH
|
||||
.sdh_stack_observers :
|
||||
{
|
||||
PROVIDE(__start_sdh_stack_observers = .);
|
||||
KEEP(*(SORT(.sdh_stack_observers*)))
|
||||
PROVIDE(__stop_sdh_stack_observers = .);
|
||||
} > FLASH
|
||||
.sdh_req_observers :
|
||||
{
|
||||
PROVIDE(__start_sdh_req_observers = .);
|
||||
KEEP(*(SORT(.sdh_req_observers*)))
|
||||
PROVIDE(__stop_sdh_req_observers = .);
|
||||
} > FLASH
|
||||
.sdh_state_observers :
|
||||
{
|
||||
PROVIDE(__start_sdh_state_observers = .);
|
||||
KEEP(*(SORT(.sdh_state_observers*)))
|
||||
PROVIDE(__stop_sdh_state_observers = .);
|
||||
} > FLASH
|
||||
.log_backends :
|
||||
{
|
||||
PROVIDE(__start_log_backends = .);
|
||||
KEEP(*(SORT(.log_backends*)))
|
||||
PROVIDE(__stop_log_backends = .);
|
||||
} > FLASH
|
||||
.nrf_balloc :
|
||||
{
|
||||
PROVIDE(__start_nrf_balloc = .);
|
||||
KEEP(*(.nrf_balloc))
|
||||
PROVIDE(__stop_nrf_balloc = .);
|
||||
} > FLASH
|
||||
|
||||
} INSERT AFTER .text
|
||||
|
||||
INCLUDE "nrf_common.ld"
|
||||
+12703
-12704
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,116 @@
|
||||
/**
|
||||
* @file acd52840Bsp.h
|
||||
* @author Odri Tomas (odri@aconno.de)
|
||||
* @brief
|
||||
* @version 0.1
|
||||
* @date 2019-04-26
|
||||
*
|
||||
* @copyright Copyright (c) 2019
|
||||
*
|
||||
*/
|
||||
#ifndef __ACD_52840_BSP_H__
|
||||
#define __ACD_52840_BSP_H__
|
||||
//------------------------------ INCLUDES -------------------------------------
|
||||
/** Communication headers */
|
||||
#include "aconnoSPI.h"
|
||||
#include "aconnoI2C.h"
|
||||
/** SAADC header*/
|
||||
#include "aconnoSAADC.h"
|
||||
/** EPD header */
|
||||
#include "GDEP015OC1.h"
|
||||
/** MCP23017 header */
|
||||
#include "MCP23017.h"
|
||||
/** GPIO header */
|
||||
#include "aconnoGPIO.h"
|
||||
/** LDR header */
|
||||
#include "LDR.h"
|
||||
/** Potentiometer header */
|
||||
#include "potentiometer.h"
|
||||
/** Ambient temperature header */
|
||||
#include "MCP9700.h"
|
||||
/** Menu states header */
|
||||
#include "states.h"
|
||||
/** iNEMO inertial module header*/
|
||||
#include "LSM9DS1.h"
|
||||
/** Servo header */
|
||||
#include "servo.h"
|
||||
//----------------------------- DATA TYPES ------------------------------------
|
||||
//-------------------------- CONSTANTS & MACROS -------------------------------
|
||||
#define GPIO_PIN_MAP(port, pin) (((port) << 5) | ((pin) & 0x1F))
|
||||
|
||||
/**< SW1 gpio number (Active low) */
|
||||
#define PIN_BUTTON (GPIO_PIN_MAP(1, 10))
|
||||
/**< LD1 gpio number (Active low) */
|
||||
#define PIN_LED (GPIO_PIN_MAP(1, 13))
|
||||
/**< LD4 gpio number (Active high) */
|
||||
#define PIN_IRLED (GPIO_PIN_MAP(1, 15))
|
||||
/**< LS1 gpio number (Active high) */
|
||||
#define PIN_BUZZER (GPIO_PIN_MAP(0, 29))
|
||||
/**< Module red LED */
|
||||
#define PIN_LED_RED (GPIO_PIN_MAP(1, 2))
|
||||
/**< Module blue LED */
|
||||
#define PIN_LED_BLUE (GPIO_PIN_MAP(1, 4))
|
||||
/**< Module green LED */
|
||||
#define PIN_LED_GREEN (GPIO_PIN_MAP(1, 6))
|
||||
|
||||
/** Alternate General IO pins */
|
||||
/**< Servo1 gpio number */
|
||||
#define PIN_SERVO1 (GPIO_PIN_MAP(1, 10))
|
||||
/**< Servo2 gpio number */
|
||||
#define PIN_SERVO2 (GPIO_PIN_MAP(1, 13))
|
||||
|
||||
/**< Battery */
|
||||
#define ADC_BAT (9) // pin P0.31
|
||||
/**< Potentiometer */
|
||||
#define ADC_POT (1)
|
||||
/**< Light Dependant Resistor */
|
||||
#define ADC_LIGHT (2)
|
||||
/**< Temperature Dependant Resistor */
|
||||
#define ADC_TEMP (5)
|
||||
|
||||
/**< EPD Chip select pin (Active low) */
|
||||
#define PIN_EPD_CS (GPIO_PIN_MAP(0, 4))
|
||||
/**< EPD Data/Command pin (Data active high) */
|
||||
#define PIN_EPD_DC (GPIO_PIN_MAP(0, 26))
|
||||
/**< EPD Reset pin (Active low) */
|
||||
#define PIN_EPD_RST (GPIO_PIN_MAP(0, 27))
|
||||
/**< EPD Busy pin (Active low) */
|
||||
#define PIN_EPD_BUSY (GPIO_PIN_MAP(0, 6))
|
||||
/**< EPD SCK pin */
|
||||
#define PIN_EPD_SCK (GPIO_PIN_MAP(0, 5))
|
||||
/**< EPD MOSI pin */
|
||||
#define PIN_EPD_MOSI (GPIO_PIN_MAP(0, 30))
|
||||
/**< EPD MISO pin not used */
|
||||
#define PIN_EPD_MISO (0xFF)
|
||||
|
||||
/**< IO Expander reset pin */
|
||||
#define PIN_EXP_RST (GPIO_PIN_MAP(0, 17))
|
||||
/**< IO Expander */
|
||||
#define EXPDR_A_INT (GPIO_PIN_MAP(0, 8))
|
||||
/**< IO Expander interrupt for PORTA */
|
||||
#define PIN_EXP_INT_A (GPIO_PIN_MAP(0, 8))
|
||||
/**< IO Expander interrupt for PORTB */
|
||||
#define PIN_EXP_INT_B (GPIO_PIN_MAP(1, 9))
|
||||
/**< TWI SCK pin */
|
||||
#define PIN_EXP_SDA (GPIO_PIN_MAP(0, 24))
|
||||
/**< TWI SCL pin */
|
||||
#define PIN_EXP_SCL (GPIO_PIN_MAP(0, 18))
|
||||
|
||||
#define MCP23017_CENTER (7)
|
||||
#define MCP23017_LEFT (5)
|
||||
#define MCP23017_RIGHT (3)
|
||||
#define MCP23017_UP (6)
|
||||
#define MCP23017_DOWN (4)
|
||||
#define MCP23017_SW2 (8)
|
||||
#define MCP23017_LED2 (9)
|
||||
#define MCP23017_REL1 (11)
|
||||
#define MCP23017_REL2 (10)
|
||||
|
||||
/**< Port expander address */
|
||||
#define TWI_EXPANDER_ADDR (0x40)
|
||||
/**< Accelerometer/Gyroscope address */
|
||||
#define TWI_AG_ADDR (0x6A << 1)
|
||||
/**< Magnetometer address */
|
||||
#define TWI_MAG_ADDR (0x1C << 1)
|
||||
//----------------------------PUBLIC PROTOTYPES -------------------------------
|
||||
#endif // __ACD_52840_BSP_H__
|
||||
@@ -0,0 +1,17 @@
|
||||
/**
|
||||
* @file aconnoBSP.h
|
||||
* @author Jurica Resetar (Jurica@aconno.de)
|
||||
* @brief
|
||||
* @version 0.1
|
||||
* @date 2019-04-19
|
||||
*
|
||||
* @copyright Copyright (c) 2019
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __ACONNO_BSP_H__
|
||||
#define __ACONNO_BSP_H__
|
||||
|
||||
#include "acd52840Bsp.h"
|
||||
|
||||
#endif // __ACONNO_BSP_H__
|
||||
@@ -0,0 +1,204 @@
|
||||
PROJECT_NAME := ACD52840Master
|
||||
TARGETS := nrf52840_xxaa
|
||||
OUTPUT_DIRECTORY := _build
|
||||
|
||||
SDK_ROOT := ../../../nRF5_SDK_15.2.0
|
||||
PROJ_DIR := ../../
|
||||
|
||||
# Comment if the project does not use DFU
|
||||
# USE_ACONNO_DFU := YES
|
||||
|
||||
$(OUTPUT_DIRECTORY)/nrf52840_xxaa.out: \
|
||||
LINKER_SCRIPT := ble_app_hrs_freertos_gcc_nrf52.ld
|
||||
|
||||
ACONNO_SRC_FILE = ../../config/buildConfig/aconnoSource.txt
|
||||
ACONNO_SOURCE = $(shell cat ${ACONNO_SRC_FILE})
|
||||
ACONNO_INC_FILE = ../../config/buildConfig/aconnoInclude.txt
|
||||
ACONNO_INCLUDE = $(shell cat ${ACONNO_INC_FILE})
|
||||
|
||||
NORDIC_SRC_FILE = ../../config/buildConfig/nordicSource.txt
|
||||
NORDIC_SOURCE = $(shell cat ${NORDIC_SRC_FILE})
|
||||
NORDIC_INC_FILE = ../../config/buildConfig/nordicInclude.txt
|
||||
NORDIC_INCLUDE = $(shell cat ${NORDIC_INC_FILE})
|
||||
|
||||
# Source files common to all targets
|
||||
SRC_FILES += \
|
||||
$(ACONNO_SOURCE) \
|
||||
$(PROJ_SRC) \
|
||||
$(NORDIC_SOURCE) \
|
||||
$(SDK_ROOT)/modules/nrfx/mdk/gcc_startup_nrf52840.S \
|
||||
$(SDK_ROOT)/modules/nrfx/mdk/system_nrf52840.c \
|
||||
$(PROJ_DIR)/source/aconnoUSBMouse.cpp \
|
||||
$(SDK_ROOT)/components/libraries/usbd/app_usbd.c \
|
||||
$(SDK_ROOT)/components/libraries/bsp/bsp_cli.c \
|
||||
$(SDK_ROOT)/modules/nrfx/drivers/src/nrfx_power.c \
|
||||
$(SDK_ROOT)/components/libraries/usbd/app_usbd_string_desc.c \
|
||||
$(SDK_ROOT)/components/drivers_nrf/usbd/nrf_drv_usbd.c \
|
||||
$(SDK_ROOT)/components/libraries/queue/nrf_queue.c \
|
||||
$(SDK_ROOT)/components/libraries/cli/nrf_cli.c \
|
||||
$(SDK_ROOT)/components/libraries/cli/uart/nrf_cli_uart.c \
|
||||
$(SDK_ROOT)/integration/nrfx/legacy/nrf_drv_power.c \
|
||||
$(SDK_ROOT)/components/libraries/usbd/app_usbd_core.c \
|
||||
$(SDK_ROOT)/components/libraries/usbd/class/hid/app_usbd_hid.c \
|
||||
$(SDK_ROOT)/components/libraries/usbd/class/hid/kbd/app_usbd_hid_kbd.c \
|
||||
$(SDK_ROOT)/components/libraries/usbd/class/hid/mouse/app_usbd_hid_mouse.c \
|
||||
$(SDK_ROOT)/components/libraries/usbd/class/hid/generic/app_usbd_hid_generic.c\
|
||||
|
||||
|
||||
|
||||
|
||||
# Include folders common to all targets
|
||||
INC_FOLDERS += \
|
||||
$(ACONNO_INCLUDE) \
|
||||
$(PROJ_INC) \
|
||||
$(NORDIC_INCLUDE) \
|
||||
$(PROJ_DIR)/nrf52840/ \
|
||||
$(PROJ_DIR)/nrf52840/config \
|
||||
$(SDK_ROOT)/components/softdevice/s140/headers/nrf52 \
|
||||
$(SDK_ROOT)/components/softdevice/s140/headers \
|
||||
$(PROJ_DIR)/source/ \
|
||||
$(SDK_ROOT)/components/libraries/usbd/ \
|
||||
$(SDK_ROOT)/components/libraries/usbd/class/hid/generic/ \
|
||||
$(SDK_ROOT)/components/libraries/usbd/class/hid/mouse/ \
|
||||
$(SDK_ROOT)/components/libraries/usbd/class/hid/kbd/ \
|
||||
$(SDK_ROOT)/components/drivers_nrf/usbd \
|
||||
$(SDK_ROOT)/components/libraries/usbd/class/hid \
|
||||
$(SDK_ROOT)/components/libraries/cli/ \
|
||||
$(SDK_ROOT)/components/libraries/cli/uart \
|
||||
$(SDK_ROOT)/integration/nrfx/legacy \
|
||||
$(SDK_ROOT)/modules/nrfx/drivers/include/ \
|
||||
$(SDK_ROOT)/components/libraries/util/ \
|
||||
|
||||
# Libraries common to all targets
|
||||
LIB_FILES += \
|
||||
|
||||
# Optimization flags
|
||||
OPT = -O3 -g3
|
||||
# Uncomment the line below to enable link time optimization
|
||||
#OPT += -flto
|
||||
|
||||
# C flags common to all targets
|
||||
CFLAGS += $(OPT)
|
||||
CFLAGS += -DBOARD_PCA10056
|
||||
#CFLAGS += -DCONFIG_GPIO_AS_PINRESET
|
||||
CFLAGS += -DFLOAT_ABI_HARD
|
||||
CFLAGS += -DFREERTOS
|
||||
CFLAGS += -DNRF52840_XXAA
|
||||
CFLAGS += -DNRF_SD_BLE_API_VERSION=6
|
||||
CFLAGS += -DS140
|
||||
CFLAGS += -DSOFTDEVICE_PRESENT
|
||||
CFLAGS += -mcpu=cortex-m4
|
||||
CFLAGS += -mthumb -mabi=aapcs
|
||||
CFLAGS += -Wall
|
||||
#CFLAGS += -Werror
|
||||
CFLAGS += -mfloat-abi=hard -mfpu=fpv4-sp-d16
|
||||
# keep every function in a separate section, this allows linker to discard unused ones
|
||||
CFLAGS += -ffunction-sections -fdata-sections -fno-strict-aliasing
|
||||
CFLAGS += -fno-builtin -fshort-enums
|
||||
CFLAGS += -DDEBUG
|
||||
CFLAGS += -DNRF_DFU_SVCI_ENABLED
|
||||
CFLAGS += -DNRF_DFU_TRANSPORT_BLE=1
|
||||
ifdef USE_ACONNO_DFU
|
||||
CFLAGS += -DUSE_ACONNO_DFU
|
||||
endif
|
||||
|
||||
# C++ flags common to all targets
|
||||
CXXFLAGS += $(OPT)
|
||||
CXXFLAGS += -DDEBUG
|
||||
|
||||
# Assembler flags common to all targets
|
||||
ASMFLAGS += -g3
|
||||
ASMFLAGS += -mcpu=cortex-m4
|
||||
ASMFLAGS += -mthumb -mabi=aapcs
|
||||
ASMFLAGS += -mfloat-abi=hard -mfpu=fpv4-sp-d16
|
||||
ASMFLAGS += -DBOARD_PCA10056
|
||||
#ASMFLAGS += -DCONFIG_GPIO_AS_PINRESET
|
||||
ASMFLAGS += -DFLOAT_ABI_HARD
|
||||
ASMFLAGS += -DFREERTOS
|
||||
ASMFLAGS += -DNRF52840_XXAA
|
||||
ASMFLAGS += -DNRF_SD_BLE_API_VERSION=6
|
||||
ASMFLAGS += -DS140
|
||||
ASMFLAGS += -DSOFTDEVICE_PRESENT
|
||||
ASMFLAGS += -DNRF_DFU_SVCI_ENABLED
|
||||
ASMFLAGS += -DNRF_DFU_TRANSPORT_BLE=1
|
||||
|
||||
|
||||
# Linker flags
|
||||
LDFLAGS += $(OPT)
|
||||
LDFLAGS += -mthumb -mabi=aapcs -L$(SDK_ROOT)/modules/nrfx/mdk -T$(LINKER_SCRIPT)
|
||||
LDFLAGS += -mcpu=cortex-m4
|
||||
LDFLAGS += -mfloat-abi=hard -mfpu=fpv4-sp-d16
|
||||
# let linker dump unused sections
|
||||
LDFLAGS += -Wl,--gc-sections
|
||||
# use newlib in nano version
|
||||
LDFLAGS += --specs=nano.specs
|
||||
|
||||
nrf52840_xxaa: CFLAGS += -D__HEAP_SIZE=1024
|
||||
nrf52840_xxaa: CFLAGS += -D__STACK_SIZE=2048
|
||||
nrf52840_xxaa: ASMFLAGS += -D__HEAP_SIZE=1024
|
||||
nrf52840_xxaa: ASMFLAGS += -D__STACK_SIZE=2048
|
||||
|
||||
# Add standard libraries at the very end of the linker input, after all objects
|
||||
# that may need symbols provided by these libraries.
|
||||
LIB_FILES += -lc -lnosys -lm -lstdc++
|
||||
|
||||
|
||||
.PHONY: default help
|
||||
|
||||
# Default target - first one defined
|
||||
default: nrf52840_xxaa
|
||||
|
||||
# Print all targets that can be built
|
||||
help:
|
||||
@echo following targets are available:
|
||||
@echo nrf52840_xxaa
|
||||
@echo flash_softdevice
|
||||
@echo sdk_config - starting external tool for editing sdk_config.h
|
||||
@echo flash - flashing binary
|
||||
|
||||
TEMPLATE_PATH := $(SDK_ROOT)/components/toolchain/gcc
|
||||
|
||||
|
||||
include $(TEMPLATE_PATH)/Makefile.common
|
||||
|
||||
$(foreach target, $(TARGETS), $(call define_target, $(target)))
|
||||
|
||||
.PHONY: flash flash_softdevice erase
|
||||
|
||||
# Flash the program
|
||||
flash: default
|
||||
@echo Flashing: $(OUTPUT_DIRECTORY)/nrf52840_xxaa.hex
|
||||
nrfjprog -f nrf52 --program $(OUTPUT_DIRECTORY)/nrf52840_xxaa.hex --sectorerase
|
||||
nrfjprog -f nrf52 --reset
|
||||
|
||||
# Flash softdevice
|
||||
flash_softdevice:
|
||||
@echo Flashing: s140_nrf52_6.1.0_softdevice.hex
|
||||
nrfjprog -f nrf52 --program $(SDK_ROOT)/components/softdevice/s140/hex/s140_nrf52_6.1.0_softdevice.hex --sectorerase
|
||||
nrfjprog -f nrf52 --reset
|
||||
|
||||
# Flash the program and softdevice
|
||||
flash_merged:
|
||||
@echo Flashing: $(OUTPUT_DIRECTORY)/$(PROJECT_NAME).hex
|
||||
nrfjprog -f nrf52 --program $(OUTPUT_DIRECTORY)/$(PROJECT_NAME).hex --sectorerase
|
||||
nrfjprog -f nrf52 --reset
|
||||
|
||||
# Merge the program and softdevice
|
||||
merge_soft:
|
||||
@echo Merging: $(OUTPUT_DIRECTORY)/nrf52840_xxaa.hex and s140_nrf52_6.1.0_softdevice.hex
|
||||
mergehex -m $(SDK_ROOT)/components/softdevice/s140/hex/s140_nrf52_6.1.0_softdevice.hex $(OUTPUT_DIRECTORY)/nrf52840_xxaa.hex -o $(OUTPUT_DIRECTORY)/$(PROJECT_NAME).hex
|
||||
|
||||
# Merge four hexes
|
||||
merge_all:
|
||||
make merge_soft
|
||||
|
||||
all:
|
||||
make merge_all
|
||||
make flash_merged
|
||||
erase:
|
||||
nrfjprog -f nrf52 --eraseall
|
||||
|
||||
SDK_CONFIG_FILE := ../config/sdk_config.h
|
||||
CMSIS_CONFIG_TOOL := $(SDK_ROOT)/external_tools/cmsisconfig/CMSIS_Configuration_Wizard.jar
|
||||
sdk_config:
|
||||
java -jar $(CMSIS_CONFIG_TOOL) $(SDK_CONFIG_FILE)
|
||||
+129
-129
@@ -1,129 +1,129 @@
|
||||
/* Linker script to configure memory regions. */
|
||||
|
||||
SEARCH_DIR(.)
|
||||
GROUP(-lgcc -lc -lnosys)
|
||||
|
||||
MEMORY
|
||||
{
|
||||
FLASH (rx) : ORIGIN = 0x26000, LENGTH = 0x5a000
|
||||
RAM (rwx) : ORIGIN = 0x200057b8, LENGTH = 0xa848
|
||||
}
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
}
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
. = ALIGN(4);
|
||||
.mem_section_dummy_ram :
|
||||
{
|
||||
}
|
||||
.cli_sorted_cmd_ptrs :
|
||||
{
|
||||
PROVIDE(__start_cli_sorted_cmd_ptrs = .);
|
||||
KEEP(*(.cli_sorted_cmd_ptrs))
|
||||
PROVIDE(__stop_cli_sorted_cmd_ptrs = .);
|
||||
} > RAM
|
||||
.fs_data :
|
||||
{
|
||||
PROVIDE(__start_fs_data = .);
|
||||
KEEP(*(.fs_data))
|
||||
PROVIDE(__stop_fs_data = .);
|
||||
} > RAM
|
||||
.log_dynamic_data :
|
||||
{
|
||||
PROVIDE(__start_log_dynamic_data = .);
|
||||
KEEP(*(SORT(.log_dynamic_data*)))
|
||||
PROVIDE(__stop_log_dynamic_data = .);
|
||||
} > RAM
|
||||
.log_filter_data :
|
||||
{
|
||||
PROVIDE(__start_log_filter_data = .);
|
||||
KEEP(*(SORT(.log_filter_data*)))
|
||||
PROVIDE(__stop_log_filter_data = .);
|
||||
} > RAM
|
||||
|
||||
} INSERT AFTER .data;
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
.mem_section_dummy_rom :
|
||||
{
|
||||
}
|
||||
.sdh_soc_observers :
|
||||
{
|
||||
PROVIDE(__start_sdh_soc_observers = .);
|
||||
KEEP(*(SORT(.sdh_soc_observers*)))
|
||||
PROVIDE(__stop_sdh_soc_observers = .);
|
||||
} > FLASH
|
||||
.sdh_ble_observers :
|
||||
{
|
||||
PROVIDE(__start_sdh_ble_observers = .);
|
||||
KEEP(*(SORT(.sdh_ble_observers*)))
|
||||
PROVIDE(__stop_sdh_ble_observers = .);
|
||||
} > FLASH
|
||||
.sdh_stack_observers :
|
||||
{
|
||||
PROVIDE(__start_sdh_stack_observers = .);
|
||||
KEEP(*(SORT(.sdh_stack_observers*)))
|
||||
PROVIDE(__stop_sdh_stack_observers = .);
|
||||
} > FLASH
|
||||
.sdh_req_observers :
|
||||
{
|
||||
PROVIDE(__start_sdh_req_observers = .);
|
||||
KEEP(*(SORT(.sdh_req_observers*)))
|
||||
PROVIDE(__stop_sdh_req_observers = .);
|
||||
} > FLASH
|
||||
.sdh_state_observers :
|
||||
{
|
||||
PROVIDE(__start_sdh_state_observers = .);
|
||||
KEEP(*(SORT(.sdh_state_observers*)))
|
||||
PROVIDE(__stop_sdh_state_observers = .);
|
||||
} > FLASH
|
||||
.nrf_queue :
|
||||
{
|
||||
PROVIDE(__start_nrf_queue = .);
|
||||
KEEP(*(.nrf_queue))
|
||||
PROVIDE(__stop_nrf_queue = .);
|
||||
} > FLASH
|
||||
.nrf_balloc :
|
||||
{
|
||||
PROVIDE(__start_nrf_balloc = .);
|
||||
KEEP(*(.nrf_balloc))
|
||||
PROVIDE(__stop_nrf_balloc = .);
|
||||
} > FLASH
|
||||
.cli_command :
|
||||
{
|
||||
PROVIDE(__start_cli_command = .);
|
||||
KEEP(*(.cli_command))
|
||||
PROVIDE(__stop_cli_command = .);
|
||||
} > FLASH
|
||||
.crypto_data :
|
||||
{
|
||||
PROVIDE(__start_crypto_data = .);
|
||||
KEEP(*(SORT(.crypto_data*)))
|
||||
PROVIDE(__stop_crypto_data = .);
|
||||
} > FLASH
|
||||
.pwr_mgmt_data :
|
||||
{
|
||||
PROVIDE(__start_pwr_mgmt_data = .);
|
||||
KEEP(*(SORT(.pwr_mgmt_data*)))
|
||||
PROVIDE(__stop_pwr_mgmt_data = .);
|
||||
} > FLASH
|
||||
.log_const_data :
|
||||
{
|
||||
PROVIDE(__start_log_const_data = .);
|
||||
KEEP(*(SORT(.log_const_data*)))
|
||||
PROVIDE(__stop_log_const_data = .);
|
||||
} > FLASH
|
||||
.log_backends :
|
||||
{
|
||||
PROVIDE(__start_log_backends = .);
|
||||
KEEP(*(SORT(.log_backends*)))
|
||||
PROVIDE(__stop_log_backends = .);
|
||||
} > FLASH
|
||||
|
||||
} INSERT AFTER .text
|
||||
|
||||
INCLUDE "nrf_common.ld"
|
||||
/* Linker script to configure memory regions. */
|
||||
|
||||
SEARCH_DIR(.)
|
||||
GROUP(-lgcc -lc -lnosys)
|
||||
|
||||
MEMORY
|
||||
{
|
||||
FLASH (rx) : ORIGIN = 0x26000, LENGTH = 0xda000
|
||||
RAM (rwx) : ORIGIN = 0x200057b8, LENGTH = 0x3a848
|
||||
}
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
}
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
. = ALIGN(4);
|
||||
.mem_section_dummy_ram :
|
||||
{
|
||||
}
|
||||
.cli_sorted_cmd_ptrs :
|
||||
{
|
||||
PROVIDE(__start_cli_sorted_cmd_ptrs = .);
|
||||
KEEP(*(.cli_sorted_cmd_ptrs))
|
||||
PROVIDE(__stop_cli_sorted_cmd_ptrs = .);
|
||||
} > RAM
|
||||
.fs_data :
|
||||
{
|
||||
PROVIDE(__start_fs_data = .);
|
||||
KEEP(*(.fs_data))
|
||||
PROVIDE(__stop_fs_data = .);
|
||||
} > RAM
|
||||
.log_dynamic_data :
|
||||
{
|
||||
PROVIDE(__start_log_dynamic_data = .);
|
||||
KEEP(*(SORT(.log_dynamic_data*)))
|
||||
PROVIDE(__stop_log_dynamic_data = .);
|
||||
} > RAM
|
||||
.log_filter_data :
|
||||
{
|
||||
PROVIDE(__start_log_filter_data = .);
|
||||
KEEP(*(SORT(.log_filter_data*)))
|
||||
PROVIDE(__stop_log_filter_data = .);
|
||||
} > RAM
|
||||
|
||||
} INSERT AFTER .data;
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
.mem_section_dummy_rom :
|
||||
{
|
||||
}
|
||||
.sdh_soc_observers :
|
||||
{
|
||||
PROVIDE(__start_sdh_soc_observers = .);
|
||||
KEEP(*(SORT(.sdh_soc_observers*)))
|
||||
PROVIDE(__stop_sdh_soc_observers = .);
|
||||
} > FLASH
|
||||
.sdh_ble_observers :
|
||||
{
|
||||
PROVIDE(__start_sdh_ble_observers = .);
|
||||
KEEP(*(SORT(.sdh_ble_observers*)))
|
||||
PROVIDE(__stop_sdh_ble_observers = .);
|
||||
} > FLASH
|
||||
.sdh_stack_observers :
|
||||
{
|
||||
PROVIDE(__start_sdh_stack_observers = .);
|
||||
KEEP(*(SORT(.sdh_stack_observers*)))
|
||||
PROVIDE(__stop_sdh_stack_observers = .);
|
||||
} > FLASH
|
||||
.sdh_req_observers :
|
||||
{
|
||||
PROVIDE(__start_sdh_req_observers = .);
|
||||
KEEP(*(SORT(.sdh_req_observers*)))
|
||||
PROVIDE(__stop_sdh_req_observers = .);
|
||||
} > FLASH
|
||||
.sdh_state_observers :
|
||||
{
|
||||
PROVIDE(__start_sdh_state_observers = .);
|
||||
KEEP(*(SORT(.sdh_state_observers*)))
|
||||
PROVIDE(__stop_sdh_state_observers = .);
|
||||
} > FLASH
|
||||
.nrf_queue :
|
||||
{
|
||||
PROVIDE(__start_nrf_queue = .);
|
||||
KEEP(*(.nrf_queue))
|
||||
PROVIDE(__stop_nrf_queue = .);
|
||||
} > FLASH
|
||||
.nrf_balloc :
|
||||
{
|
||||
PROVIDE(__start_nrf_balloc = .);
|
||||
KEEP(*(.nrf_balloc))
|
||||
PROVIDE(__stop_nrf_balloc = .);
|
||||
} > FLASH
|
||||
.cli_command :
|
||||
{
|
||||
PROVIDE(__start_cli_command = .);
|
||||
KEEP(*(.cli_command))
|
||||
PROVIDE(__stop_cli_command = .);
|
||||
} > FLASH
|
||||
.crypto_data :
|
||||
{
|
||||
PROVIDE(__start_crypto_data = .);
|
||||
KEEP(*(SORT(.crypto_data*)))
|
||||
PROVIDE(__stop_crypto_data = .);
|
||||
} > FLASH
|
||||
.pwr_mgmt_data :
|
||||
{
|
||||
PROVIDE(__start_pwr_mgmt_data = .);
|
||||
KEEP(*(SORT(.pwr_mgmt_data*)))
|
||||
PROVIDE(__stop_pwr_mgmt_data = .);
|
||||
} > FLASH
|
||||
.log_const_data :
|
||||
{
|
||||
PROVIDE(__start_log_const_data = .);
|
||||
KEEP(*(SORT(.log_const_data*)))
|
||||
PROVIDE(__stop_log_const_data = .);
|
||||
} > FLASH
|
||||
.log_backends :
|
||||
{
|
||||
PROVIDE(__start_log_backends = .);
|
||||
KEEP(*(SORT(.log_backends*)))
|
||||
PROVIDE(__stop_log_backends = .);
|
||||
} > FLASH
|
||||
|
||||
} INSERT AFTER .text
|
||||
|
||||
INCLUDE "nrf_common.ld"
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,277 @@
|
||||
/**
|
||||
* @file mouse.cpp
|
||||
* @author Odri (odri@aconno.de)
|
||||
* @brief USB HID Mouse source file
|
||||
* @version 0.1
|
||||
* @date 2019-05-09
|
||||
*
|
||||
* @copyright Copyright (c) 2019
|
||||
*
|
||||
*/
|
||||
#ifdef NRF52840_XXAA
|
||||
//------------------------------ INCLUDES -------------------------------------
|
||||
#include "aconnoUSBMouse.h"
|
||||
#include "aconnoBsp.h"
|
||||
//-------------------------------- MACROS -------------------------------------
|
||||
//----------------------------- DATA TYPES ------------------------------------
|
||||
//--------------------- PRIVATE FUNCTION PROTOTYPES ---------------------------
|
||||
/**
|
||||
* @brief Handler for the mouse down movement timer
|
||||
*
|
||||
* @param p_context
|
||||
*/
|
||||
static void mouseMoveDownTimerHandler(void * p_context);
|
||||
|
||||
/**
|
||||
* @brief Handler for the mouse up movement timer
|
||||
*
|
||||
* @param p_context
|
||||
*/
|
||||
static void mouseMoveUpTimerHandler(void * p_context);
|
||||
|
||||
/**
|
||||
* @brief Handler for the mouse left movement timer
|
||||
*
|
||||
* @param p_context
|
||||
*/
|
||||
static void mouseMoveLeftTimerHandler(void * p_context);
|
||||
|
||||
/**
|
||||
* @brief Handler for the mouse right movement timer
|
||||
*
|
||||
* @param p_context
|
||||
*/
|
||||
static void mouseMoveRightTimerHandler(void * p_context);
|
||||
|
||||
/**
|
||||
* @brief Class specific event handler.
|
||||
*
|
||||
* @param p_inst Class instance.
|
||||
* @param event Class specific event.
|
||||
* */
|
||||
static void hidMouseUserEvHandler(app_usbd_class_inst_t const * p_inst,
|
||||
app_usbd_hid_user_event_t event);
|
||||
/**
|
||||
* @brief USBD library specific event handler.
|
||||
*
|
||||
* @param event USBD library event.
|
||||
* */
|
||||
static void usbdUserEvHandler(app_usbd_event_type_t event);
|
||||
//----------------------- STATIC DATA & CONSTANTS -----------------------------
|
||||
//------------------------------ GLOBAL DATA ----------------------------------
|
||||
extern MCP23017 expdr;
|
||||
extern AconnoGPIO ld1;
|
||||
|
||||
/**
|
||||
* @brief Timer to repeat mouse move down
|
||||
*/
|
||||
APP_TIMER_DEF(mouseMoveDownTimer);
|
||||
|
||||
/**
|
||||
* @brief Timer to repeat mouse move up
|
||||
*/
|
||||
APP_TIMER_DEF(mouseMoveUpTimer);
|
||||
|
||||
/**
|
||||
* @brief Timer to repeat mouse move to the left
|
||||
*/
|
||||
APP_TIMER_DEF(mouseMoveLeftTimer);
|
||||
|
||||
/**
|
||||
* @brief Timer to repeat mouse move to the right
|
||||
*/
|
||||
APP_TIMER_DEF(mouseMoveRightTimer);
|
||||
|
||||
/**
|
||||
* @brief Global HID mouse instance
|
||||
*/
|
||||
APP_USBD_HID_MOUSE_GLOBAL_DEF(appHidMouse,
|
||||
APP_USBD_INTERFACE_MOUSE,
|
||||
NRF_DRV_USBD_EPIN1,
|
||||
CONFIG_MOUSE_BUTTON_COUNT,
|
||||
hidMouseUserEvHandler,
|
||||
APP_USBD_HID_SUBCLASS_BOOT
|
||||
);
|
||||
//--------------------- PUBLIC FUNCTIONS AND OBJECTS --------------------------
|
||||
void hidGenericMouseProcessState(USB_DIR direction)
|
||||
{
|
||||
switch(direction)
|
||||
{
|
||||
case USB_DIR::UP:
|
||||
{
|
||||
hidGenericMouseStopState();
|
||||
UNUSED_RETURN_VALUE(app_timer_start(mouseMoveUpTimer,
|
||||
APP_TIMER_TICKS(CONFIG_MOUSE_MOVE_TIME_MS),
|
||||
NULL));
|
||||
break;
|
||||
}
|
||||
case USB_DIR::DOWN:
|
||||
{
|
||||
hidGenericMouseStopState();
|
||||
UNUSED_RETURN_VALUE(app_timer_start(mouseMoveDownTimer,
|
||||
APP_TIMER_TICKS(CONFIG_MOUSE_MOVE_TIME_MS),
|
||||
NULL));
|
||||
break;
|
||||
}
|
||||
case USB_DIR::LEFT:
|
||||
{
|
||||
hidGenericMouseStopState();
|
||||
UNUSED_RETURN_VALUE(app_timer_start(mouseMoveLeftTimer,
|
||||
APP_TIMER_TICKS(CONFIG_MOUSE_MOVE_TIME_MS),
|
||||
NULL));
|
||||
break;
|
||||
}
|
||||
case USB_DIR::RIGHT:
|
||||
{
|
||||
hidGenericMouseStopState();
|
||||
UNUSED_RETURN_VALUE(app_timer_start(mouseMoveRightTimer,
|
||||
APP_TIMER_TICKS(CONFIG_MOUSE_MOVE_TIME_MS),
|
||||
NULL));
|
||||
break;
|
||||
}
|
||||
default:
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void hidGenericMouseStopState(void)
|
||||
{
|
||||
UNUSED_RETURN_VALUE(app_timer_stop(mouseMoveDownTimer));
|
||||
UNUSED_RETURN_VALUE(app_timer_stop(mouseMoveUpTimer));
|
||||
UNUSED_RETURN_VALUE(app_timer_stop(mouseMoveLeftTimer));
|
||||
UNUSED_RETURN_VALUE(app_timer_stop(mouseMoveRightTimer));
|
||||
}
|
||||
|
||||
void usbSetup()
|
||||
{
|
||||
NRF_LOG_INFO("USB setup");
|
||||
ret_code_t ret;
|
||||
static const app_usbd_config_t usbdConfig = {
|
||||
NULL,
|
||||
usbdUserEvHandler
|
||||
};
|
||||
|
||||
app_timer_create(&mouseMoveDownTimer, APP_TIMER_MODE_REPEATED,
|
||||
mouseMoveDownTimerHandler);
|
||||
|
||||
app_timer_create(&mouseMoveUpTimer, APP_TIMER_MODE_REPEATED,
|
||||
mouseMoveUpTimerHandler);
|
||||
|
||||
app_timer_create(&mouseMoveLeftTimer, APP_TIMER_MODE_REPEATED,
|
||||
mouseMoveLeftTimerHandler);
|
||||
|
||||
app_timer_create(&mouseMoveRightTimer, APP_TIMER_MODE_REPEATED,
|
||||
mouseMoveRightTimerHandler);
|
||||
|
||||
ret = app_usbd_init(&usbdConfig);
|
||||
APP_ERROR_CHECK(ret);
|
||||
|
||||
|
||||
app_usbd_class_inst_t const * classInstMouse;
|
||||
classInstMouse = app_usbd_hid_mouse_class_inst_get(&appHidMouse);
|
||||
|
||||
ret = app_usbd_class_append(classInstMouse);
|
||||
APP_ERROR_CHECK(ret);
|
||||
|
||||
NRF_LOG_INFO("No USB power detection enabled.");
|
||||
NRF_LOG_INFO("Starting USB now.");
|
||||
app_usbd_enable();
|
||||
app_usbd_start();
|
||||
|
||||
}
|
||||
|
||||
//--------------------------- PRIVATE FUNCTIONS -------------------------------
|
||||
static void mouseMoveDownTimerHandler(void * pContext)
|
||||
{
|
||||
UNUSED_PARAMETER(pContext);
|
||||
UNUSED_RETURN_VALUE(app_usbd_hid_mouse_y_move(&appHidMouse,
|
||||
CONFIG_MOUSE_MOVE_STEP));
|
||||
|
||||
}
|
||||
|
||||
static void mouseMoveUpTimerHandler(void * pContext)
|
||||
{
|
||||
UNUSED_PARAMETER(pContext);
|
||||
UNUSED_RETURN_VALUE(app_usbd_hid_mouse_y_move(&appHidMouse,
|
||||
-CONFIG_MOUSE_MOVE_STEP));
|
||||
|
||||
}
|
||||
|
||||
static void mouseMoveLeftTimerHandler(void * pContext)
|
||||
{
|
||||
UNUSED_PARAMETER(pContext);
|
||||
UNUSED_RETURN_VALUE(app_usbd_hid_mouse_x_move(&appHidMouse,
|
||||
-CONFIG_MOUSE_MOVE_STEP));
|
||||
|
||||
}
|
||||
|
||||
static void mouseMoveRightTimerHandler(void * pContext)
|
||||
{
|
||||
UNUSED_PARAMETER(pContext);
|
||||
UNUSED_RETURN_VALUE(app_usbd_hid_mouse_x_move(&appHidMouse,
|
||||
CONFIG_MOUSE_MOVE_STEP));
|
||||
|
||||
}
|
||||
|
||||
static void hidMouseUserEvHandler(app_usbd_class_inst_t const * pInst,
|
||||
app_usbd_hid_user_event_t event)
|
||||
{
|
||||
UNUSED_PARAMETER(pInst);
|
||||
switch (event) {
|
||||
case APP_USBD_HID_USER_EVT_OUT_REPORT_READY:
|
||||
/* No output report defined for HID mouse.*/
|
||||
break;
|
||||
case APP_USBD_HID_USER_EVT_IN_REPORT_DONE:
|
||||
break;
|
||||
case APP_USBD_HID_USER_EVT_SET_BOOT_PROTO:
|
||||
UNUSED_RETURN_VALUE(hid_mouse_clear_buffer(pInst));
|
||||
|
||||
break;
|
||||
case APP_USBD_HID_USER_EVT_SET_REPORT_PROTO:
|
||||
UNUSED_RETURN_VALUE(hid_mouse_clear_buffer(pInst));
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
static void usbdUserEvHandler(app_usbd_event_type_t event)
|
||||
{
|
||||
switch (event)
|
||||
{
|
||||
case APP_USBD_EVT_DRV_SOF:
|
||||
break;
|
||||
case APP_USBD_EVT_DRV_SUSPEND:
|
||||
// Allow the library to put the peripheral into sleep mode
|
||||
app_usbd_suspend_req();
|
||||
break;
|
||||
case APP_USBD_EVT_DRV_RESUME:
|
||||
break;
|
||||
case APP_USBD_EVT_STARTED:
|
||||
break;
|
||||
case APP_USBD_EVT_STOPPED:
|
||||
app_usbd_disable();
|
||||
break;
|
||||
case APP_USBD_EVT_POWER_DETECTED:
|
||||
NRF_LOG_INFO("USB power detected.");
|
||||
if(!nrf_drv_usbd_is_enabled())
|
||||
{
|
||||
app_usbd_enable();
|
||||
}
|
||||
break;
|
||||
case APP_USBD_EVT_POWER_REMOVED:
|
||||
NRF_LOG_INFO("USB power removed.");
|
||||
app_usbd_stop();
|
||||
break;
|
||||
case APP_USBD_EVT_POWER_READY:
|
||||
NRF_LOG_INFO("USB ready.");
|
||||
app_usbd_start();
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
//--------------------------- INTERRUPT HANDLERS ------------------------------
|
||||
#endif
|
||||
@@ -0,0 +1,86 @@
|
||||
/**
|
||||
* @file mouse.h
|
||||
* @author Odri (odri@aconno.de)
|
||||
* @brief USB HID Mouse header file
|
||||
* @version 0.1
|
||||
* @date 2019-05-09
|
||||
*
|
||||
* @copyright Copyright (c) 2019
|
||||
*
|
||||
*/
|
||||
#ifndef __ACONNO_USB_MOUSE_H__
|
||||
#define __ACONNO_USB_MOUSE_H__
|
||||
//------------------------------ INCLUDES -------------------------------------
|
||||
#ifdef NRF52840_XXAA
|
||||
#include "app_timer.h"
|
||||
#include "app_usbd.h"
|
||||
#include "app_usbd_core.h"
|
||||
#include "app_usbd_hid_generic.h"
|
||||
extern "C"
|
||||
{
|
||||
#include "app_usbd_hid_mouse.h"
|
||||
}
|
||||
#include "app_error.h"
|
||||
//----------------------------- DATA TYPES ------------------------------------
|
||||
/**
|
||||
* @brief GPIO pull-up/down configuration
|
||||
*
|
||||
*/
|
||||
enum class USB_DIR : uint8_t
|
||||
{
|
||||
LEFT = 0, //!< 0
|
||||
RIGHT = 1, //!< 1
|
||||
DOWN = 2, //!< 2
|
||||
UP = 3 //!< 3
|
||||
};
|
||||
//-------------------------- CONSTANTS & MACROS -------------------------------
|
||||
/**
|
||||
* @brief Enable HID mouse class
|
||||
*/
|
||||
#define CONFIG_HAS_MOUSE 1
|
||||
|
||||
/**
|
||||
* @brief Mouse button count
|
||||
*/
|
||||
#define CONFIG_MOUSE_BUTTON_COUNT 2
|
||||
|
||||
/**
|
||||
* @brief Mouse speed (value sent via HID when board button is pressed).
|
||||
*/
|
||||
#define CONFIG_MOUSE_MOVE_STEP (3)
|
||||
|
||||
/**
|
||||
* @brief Mouse move repeat time in milliseconds
|
||||
*/
|
||||
#define CONFIG_MOUSE_MOVE_TIME_MS (20)
|
||||
|
||||
/* HID report layout */
|
||||
#define BTN_MOUSE_X_POS 0
|
||||
#define BTN_MOUSE_Y_POS 1
|
||||
|
||||
/**
|
||||
* @brief USB composite interfaces
|
||||
*/
|
||||
#define APP_USBD_INTERFACE_MOUSE 0
|
||||
//----------------------------PUBLIC PROTOTYPES -------------------------------
|
||||
/**
|
||||
* @brief Setup USB HID Mouse
|
||||
* @note It is assumed that the softdevice handler is enabled
|
||||
*
|
||||
*/
|
||||
void usbSetup();
|
||||
|
||||
/**
|
||||
* @brief Process the state of the mouse movement
|
||||
*
|
||||
* @param direction Direction of the mouse movement
|
||||
*/
|
||||
void hidGenericMouseProcessState(USB_DIR direction);
|
||||
|
||||
/**
|
||||
* @brief Stop mouse activity
|
||||
*
|
||||
*/
|
||||
void hidGenericMouseStopState(void);
|
||||
#endif
|
||||
#endif // __ACONNO_USB_MOUSE_H__
|
||||
+33
-7
@@ -22,6 +22,9 @@
|
||||
#include "nrf_log_ctrl.h"
|
||||
#include "nrf_log_default_backends.h"
|
||||
|
||||
#include "settings.h"
|
||||
#include "basicConfig.h"
|
||||
#include "arbData.h"
|
||||
#include "aconnoConfig.h"
|
||||
#include "aconnoHelpers.h"
|
||||
#include "aconnoTasks.h"
|
||||
@@ -29,6 +32,7 @@
|
||||
#include "aconnoBLE.h"
|
||||
#include "aconnoTasks.h"
|
||||
#include "aconnoBeeper.h"
|
||||
#include "slots.h"
|
||||
//-------------------------------- MACROS -------------------------------------
|
||||
//----------------------------- DATA TYPES ------------------------------------
|
||||
//--------------------- PRIVATE FUNCTION PROTOTYPES ---------------------------
|
||||
@@ -99,6 +103,13 @@ TaskHandle_t relayTask;
|
||||
*/
|
||||
TaskHandle_t servoTask;
|
||||
|
||||
#ifdef NRF52840_XXAA
|
||||
/**
|
||||
* @brief USB example task handler
|
||||
*/
|
||||
TaskHandle_t usbTask;
|
||||
#endif
|
||||
|
||||
#if NRF_LOG_ENABLED
|
||||
extern TaskHandle_t mLoggerThread;
|
||||
#endif
|
||||
@@ -119,6 +130,10 @@ QueueHandle_t interruptSourceQueueSecondary;
|
||||
* @brief Mutex to protect writing on the e-paper display
|
||||
*/
|
||||
SemaphoreHandle_t epdWriteMutex;
|
||||
/**
|
||||
* @brief Mutex to protect the I2C
|
||||
*/
|
||||
SemaphoreHandle_t i2cWriteMutex;
|
||||
/**
|
||||
* @brief Object defining current state of the Master Example
|
||||
*/
|
||||
@@ -217,6 +232,7 @@ void disconnectionCallback(void)
|
||||
AconnoBLE &myBLE = *getAconnoBLEInstance();
|
||||
myBLE.startAdvertising(APP_ADV_INTERVAL, APP_ADV_DURATION);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Function for application main entry.
|
||||
*/
|
||||
@@ -237,19 +253,18 @@ int main(void)
|
||||
bspInit();
|
||||
|
||||
// Create all semaphores that will be used
|
||||
getInterruptSourceSemaphore = xSemaphoreCreateCounting(
|
||||
INTERRUPT_SEMAPHORE_MAX_COUNT,
|
||||
INTERRUPT_SEMAPHORE_INITIAL_COUNT);
|
||||
getInterruptSourceSemaphore = xSemaphoreCreateBinary();
|
||||
if (getInterruptSourceSemaphore == NULL)
|
||||
{
|
||||
NRF_LOG_ERROR("ERROR, not enough space available to create semaphore!");
|
||||
}
|
||||
epdWriteMutex = xSemaphoreCreateMutex();
|
||||
i2cWriteMutex = xSemaphoreCreateMutex();
|
||||
|
||||
// Create all tasks that will be used
|
||||
// getInterruptSource task needs higher priority to ensure prompt interrupt
|
||||
// handling
|
||||
|
||||
|
||||
xTaskCreate(getInterruptSourceFunction,
|
||||
"GetInterruptSourceTask",
|
||||
TASK_STACK_DEPTH(256),
|
||||
@@ -284,27 +299,28 @@ int main(void)
|
||||
DEFAULT_TASK_PARAMETERS,
|
||||
TASK_PRIORITY(1),
|
||||
&tempTask);
|
||||
|
||||
|
||||
xTaskCreate(gyroFunction,
|
||||
"GYRO",
|
||||
TASK_STACK_DEPTH(256),
|
||||
DEFAULT_TASK_PARAMETERS,
|
||||
TASK_PRIORITY(1),
|
||||
&gyroTask);
|
||||
|
||||
|
||||
xTaskCreate(bleBeaconFunction,
|
||||
"BEACON",
|
||||
TASK_STACK_DEPTH(256),
|
||||
DEFAULT_TASK_PARAMETERS,
|
||||
TASK_PRIORITY(1),
|
||||
&bleTask);
|
||||
|
||||
|
||||
xTaskCreate(infraredFunction,
|
||||
"INFRARED",
|
||||
TASK_STACK_DEPTH(256),
|
||||
DEFAULT_TASK_PARAMETERS,
|
||||
TASK_PRIORITY(1),
|
||||
&irTask);
|
||||
|
||||
|
||||
xTaskCreate(ledsFunction,
|
||||
"LEDS",
|
||||
@@ -347,6 +363,14 @@ int main(void)
|
||||
DEFAULT_TASK_PARAMETERS,
|
||||
TASK_PRIORITY(1),
|
||||
&soundTask);
|
||||
#ifdef NRF52840_XXAA
|
||||
xTaskCreate(usbFunction,
|
||||
"USB",
|
||||
TASK_STACK_DEPTH(256),
|
||||
DEFAULT_TASK_PARAMETERS,
|
||||
TASK_PRIORITY(1),
|
||||
&usbTask);
|
||||
#endif
|
||||
|
||||
// Create the queues which will be used
|
||||
interruptSourceQueue = xQueueCreate(QUEUE_DEFAULT_SIZE,
|
||||
@@ -372,6 +396,7 @@ int main(void)
|
||||
applicationTimerStart();
|
||||
|
||||
// Initialize aconno BLE module
|
||||
|
||||
AconnoBLE &myBLE = *getAconnoBLEInstance();
|
||||
myBLE.initBLEStack();
|
||||
uint16_t myUUID = BLE_EX_CHAR_UUID;
|
||||
@@ -381,6 +406,7 @@ int main(void)
|
||||
myChar.charInit(BLE_EX_CHAR_SIZE_B, WRITE, false, false, NULL, imageUpdate);
|
||||
myService.addChar(&myChar);
|
||||
myBLE.setTXPower(4);
|
||||
|
||||
|
||||
// Create a FreeRTOS task for the BLE stack.
|
||||
// The task will run advertising_start() before entering its loop.
|
||||
|
||||
+97
-2
@@ -13,6 +13,9 @@
|
||||
#include "GDEP015OC1.h"
|
||||
#include "aconnoBeeper.h"
|
||||
#include "semphr.h"
|
||||
#ifdef NRF52840_XXAA
|
||||
#include "aconnoUSBMouse.h"
|
||||
#endif
|
||||
//-------------------------------- MACROS -------------------------------------
|
||||
//----------------------------- DATA TYPES ------------------------------------
|
||||
//--------------------- PRIVATE FUNCTION PROTOTYPES ---------------------------
|
||||
@@ -30,6 +33,7 @@ extern TaskHandle_t joyTask;
|
||||
extern TaskHandle_t soundTask;
|
||||
extern TaskHandle_t rgbTask;
|
||||
extern TaskHandle_t servoTask;
|
||||
extern TaskHandle_t usbTask;
|
||||
|
||||
extern AconnoGPIO irLed;
|
||||
extern AconnoGPIO ld1;
|
||||
@@ -43,6 +47,7 @@ extern AconnoBeeper beeper;
|
||||
|
||||
extern QueueHandle_t interruptSourceQueueSecondary;
|
||||
extern SemaphoreHandle_t epdWriteMutex;
|
||||
extern SemaphoreHandle_t i2cWriteMutex;
|
||||
|
||||
/**
|
||||
* @brief A flag for initializing infrared task if reentered
|
||||
@@ -144,8 +149,13 @@ State *JoystickMenuState::handleEvent(INT_SOURCE intSource)
|
||||
switch(intSource)
|
||||
{
|
||||
case INT_SOURCE::JOY_UP:
|
||||
{
|
||||
returnStatep = new BleMenuState();
|
||||
{
|
||||
#ifdef NRF52840_XXAA
|
||||
returnStatep = new UsbMenuState();
|
||||
#endif
|
||||
#ifdef NRF52832_XXAA
|
||||
returnStatep = new BleMenuState();
|
||||
#endif
|
||||
break;
|
||||
}
|
||||
case INT_SOURCE::JOY_DOWN:
|
||||
@@ -717,8 +727,11 @@ State *RelayExampleState::handleEvent(INT_SOURCE intSource)
|
||||
{
|
||||
vTaskSuspend(relayTask);
|
||||
//turn relay off
|
||||
|
||||
xSemaphoreTake(i2cWriteMutex, portMAX_DELAY);
|
||||
expdr.writeGPIOBit(0, MCP23017_REL1);
|
||||
expdr.writeGPIOBit(0, MCP23017_REL2);
|
||||
xSemaphoreGive(i2cWriteMutex);
|
||||
returnStatep = new RelayMenuState(EPD_WRITE_METHOD::FULL);
|
||||
}
|
||||
else
|
||||
@@ -787,7 +800,9 @@ State *LedExampleState::handleEvent(INT_SOURCE intSource)
|
||||
{
|
||||
vTaskSuspend(ledsTask);
|
||||
//turn off leds
|
||||
xSemaphoreTake(i2cWriteMutex, portMAX_DELAY);
|
||||
expdr.writeGPIOBit(1, MCP23017_LED2);
|
||||
xSemaphoreGive(i2cWriteMutex);
|
||||
ld1.set();
|
||||
|
||||
returnStatep = new LedMenuState(EPD_WRITE_METHOD::FULL);
|
||||
@@ -942,6 +957,7 @@ void GyroExampleState::displayOnEpd()
|
||||
vTaskResume(gyroTask);
|
||||
}
|
||||
|
||||
|
||||
BleMenuState::BleMenuState(){}
|
||||
|
||||
BleMenuState::BleMenuState(EPD_WRITE_METHOD writeMethod):State(writeMethod){}
|
||||
@@ -958,7 +974,12 @@ State *BleMenuState::handleEvent(INT_SOURCE intSource)
|
||||
}
|
||||
case INT_SOURCE::JOY_DOWN:
|
||||
{
|
||||
#ifdef NRF52840_XXAA
|
||||
returnStatep = new UsbMenuState();
|
||||
#endif
|
||||
#ifdef NRF52832_XXAA
|
||||
returnStatep = new JoystickMenuState();
|
||||
#endif
|
||||
break;
|
||||
}
|
||||
case INT_SOURCE::JOY_CENTER:
|
||||
@@ -1008,5 +1029,79 @@ void BleExampleState::displayOnEpd()
|
||||
writeToEpd();
|
||||
vTaskResume(bleTask);
|
||||
}
|
||||
|
||||
#ifdef NRF52840_XXAA
|
||||
UsbMenuState::UsbMenuState(){}
|
||||
|
||||
UsbMenuState::UsbMenuState(EPD_WRITE_METHOD writeMethod):State(writeMethod){}
|
||||
|
||||
State *UsbMenuState::handleEvent(INT_SOURCE intSource)
|
||||
{
|
||||
State *returnStatep;
|
||||
switch(intSource)
|
||||
{
|
||||
case INT_SOURCE::JOY_UP:
|
||||
{
|
||||
returnStatep = new BleMenuState();
|
||||
break;
|
||||
}
|
||||
case INT_SOURCE::JOY_DOWN:
|
||||
{
|
||||
returnStatep = new JoystickMenuState();
|
||||
break;
|
||||
}
|
||||
case INT_SOURCE::JOY_CENTER:
|
||||
{
|
||||
returnStatep = new UsbExampleState();
|
||||
break;
|
||||
}
|
||||
default:
|
||||
{
|
||||
returnStatep = new UsbMenuState();
|
||||
break;
|
||||
}
|
||||
}
|
||||
return returnStatep;
|
||||
}
|
||||
void UsbMenuState::displayOnEpd()
|
||||
{
|
||||
epd.empty();
|
||||
epd.writeString("USB MENU", 60, 100, COLOR_BLACK);
|
||||
//epd.drawImage(mouse);
|
||||
writeToEpd();
|
||||
}
|
||||
|
||||
UsbExampleState::UsbExampleState(){}
|
||||
|
||||
UsbExampleState::UsbExampleState(EPD_WRITE_METHOD writeMethod):
|
||||
State(writeMethod){}
|
||||
|
||||
State *UsbExampleState::handleEvent(INT_SOURCE intSource)
|
||||
{
|
||||
State *returnStatep;
|
||||
if(intSource == INT_SOURCE::JOY_CENTER)
|
||||
{
|
||||
hidGenericMouseStopState();
|
||||
vTaskSuspend(usbTask);
|
||||
returnStatep = new UsbMenuState(EPD_WRITE_METHOD::FULL);
|
||||
}
|
||||
else
|
||||
{
|
||||
returnStatep = new UsbExampleState();
|
||||
}
|
||||
return returnStatep;
|
||||
}
|
||||
|
||||
void UsbExampleState::displayOnEpd()
|
||||
{
|
||||
epd.empty();
|
||||
epd.writeString("USB EXAMPLE", 60, 100, COLOR_BLACK);
|
||||
writeToEpd();
|
||||
xQueueReset(interruptSourceQueueSecondary);
|
||||
vTaskResume(usbTask);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
//--------------------------- PRIVATE FUNCTIONS -------------------------------
|
||||
//--------------------------- INTERRUPT HANDLERS ------------------------------
|
||||
|
||||
@@ -985,4 +985,69 @@ class BleExampleState : public State
|
||||
*/
|
||||
void displayOnEpd();
|
||||
};
|
||||
|
||||
/**
|
||||
* @brief Bluetooth beacon and image upload menu state class
|
||||
* @see State
|
||||
*
|
||||
*/
|
||||
class UsbMenuState : public State
|
||||
{
|
||||
public:
|
||||
/**
|
||||
* @brief Construct a new Ble Menu State object
|
||||
* @param writeMethod epd write method to be used
|
||||
* @see State::State()
|
||||
*/
|
||||
UsbMenuState(EPD_WRITE_METHOD writeMethod);
|
||||
/**
|
||||
* @brief Construct a new Ble Menu State object
|
||||
* @see State::State()
|
||||
*/
|
||||
UsbMenuState();
|
||||
/**
|
||||
* @brief Handle an interrupt event
|
||||
* @param intSource Type of event
|
||||
* @return State* Next state to be entered into after the event handlin
|
||||
* @see State::handleEvent()
|
||||
*/
|
||||
State *handleEvent(INT_SOURCE intSource);
|
||||
/**
|
||||
* @brief Display the state on epd
|
||||
* @see State::displayOnEpd()
|
||||
*/
|
||||
void displayOnEpd();
|
||||
};
|
||||
/**
|
||||
* @brief Bluetooth beacon and image upload task state class
|
||||
* @see State
|
||||
*
|
||||
*/
|
||||
class UsbExampleState : public State
|
||||
{
|
||||
public:
|
||||
/**
|
||||
* @brief Construct a new Ble Example State object
|
||||
* @param writeMethod epd write method to be used
|
||||
* @see State::State()
|
||||
*/
|
||||
UsbExampleState(EPD_WRITE_METHOD writeMethod);
|
||||
/**
|
||||
* @brief Construct a new Ble Example State object
|
||||
* @see State::State()
|
||||
*/
|
||||
UsbExampleState();
|
||||
/**
|
||||
* @brief Handle an interrupt event
|
||||
* @param intSource Type of event
|
||||
* @return State* Next state to be entered into after the event handlin
|
||||
* @see State::handleEvent()
|
||||
*/
|
||||
State *handleEvent(INT_SOURCE intSource);
|
||||
/**
|
||||
* @brief Display the state on epd
|
||||
* @see State::displayOnEpd()
|
||||
*/
|
||||
void displayOnEpd();
|
||||
};
|
||||
#endif //__MENU_STATES_H__
|
||||
|
||||
+89
-2
@@ -13,6 +13,9 @@
|
||||
#include <typeinfo>
|
||||
#include "timers.h"
|
||||
#include "aconnoBeeper.h"
|
||||
#ifdef NRF52840_XXAA
|
||||
#include "aconnoUSBMouse.h"
|
||||
#endif
|
||||
//-------------------------------- MACROS -------------------------------------
|
||||
//----------------------------- DATA TYPES ------------------------------------
|
||||
//--------------------- PRIVATE FUNCTION PROTOTYPES ---------------------------
|
||||
@@ -21,6 +24,7 @@
|
||||
extern TaskHandle_t menuStateMachineTask;
|
||||
extern SemaphoreHandle_t getInterruptSourceSemaphore;
|
||||
extern SemaphoreHandle_t epdWriteMutex;
|
||||
extern SemaphoreHandle_t i2cWriteMutex;
|
||||
extern State *pMenuState;
|
||||
extern QueueHandle_t interruptSourceQueue;
|
||||
extern QueueHandle_t interruptSourceQueueSecondary;
|
||||
@@ -63,7 +67,7 @@ void loggerThread(void *arg);
|
||||
void logTaskFunction(void *arg)
|
||||
{
|
||||
#if NRF_LOG_ENABLED
|
||||
if(pdPASS != xTaskCreate(loggerThread, "LOGGER", 256, NULL, 1,
|
||||
if(pdPASS != xTaskCreate(loggerThread, "LOGGER", 128, NULL, 1,
|
||||
&mLoggerThread))
|
||||
{
|
||||
APP_ERROR_HANDLER(NRF_ERROR_NO_MEM);
|
||||
@@ -80,8 +84,10 @@ void getInterruptSourceFunction(void *arg)
|
||||
{
|
||||
while(1)
|
||||
{
|
||||
|
||||
if(xSemaphoreTake(getInterruptSourceSemaphore, portMAX_DELAY) == pdTRUE)
|
||||
{
|
||||
xSemaphoreTake(i2cWriteMutex, portMAX_DELAY);
|
||||
expdr.interruptPinDisable();
|
||||
uint8_t intSrcPin = expdr.getLastInterruptPin();
|
||||
intSourceSend = (INT_SOURCE)intSrcPin;
|
||||
@@ -97,9 +103,13 @@ void getInterruptSourceFunction(void *arg)
|
||||
// Wait until the button is not being pressed
|
||||
while(expdr.readGPIOBit(intSrcPin) == 0)
|
||||
{
|
||||
//NRF_LOG_INFO("Waiting till the button is nto being pressed.");
|
||||
}
|
||||
|
||||
NRF_LOG_INFO("Joystick interrupt.");
|
||||
expdr.interruptPinEnable();
|
||||
expdr.readRegister(MCP23017_INTCAP);
|
||||
xSemaphoreGive(i2cWriteMutex);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -341,6 +351,7 @@ void bleBeaconFunction(void *arg)
|
||||
while(1)
|
||||
{
|
||||
myBLE.startAdvertising(APP_ADV_INTERVAL, APP_ADV_DURATION);
|
||||
NRF_LOG_INFO("Advertising started.");
|
||||
while(!gBleTaskSuspend)
|
||||
{
|
||||
if(advertisementPacket.advType == FIRST_PACKET_ID)
|
||||
@@ -452,6 +463,7 @@ void ledsFunction(void *arg)
|
||||
|
||||
while(1)
|
||||
{
|
||||
xSemaphoreTake(i2cWriteMutex, portMAX_DELAY);
|
||||
if(expdr.readGPIOBit(MCP23017_SW2) == 0)
|
||||
{
|
||||
if(expdr.readGPIOBit(MCP23017_LED2) == 0)
|
||||
@@ -467,6 +479,7 @@ void ledsFunction(void *arg)
|
||||
{
|
||||
ld1.toggle();
|
||||
}
|
||||
xSemaphoreGive(i2cWriteMutex);
|
||||
vTaskDelay(EXAMPLE_DELAY_MS);
|
||||
}
|
||||
}
|
||||
@@ -475,8 +488,12 @@ void relayFunction(void *arg)
|
||||
{
|
||||
vTaskSuspend(NULL);
|
||||
|
||||
NRF_LOG_INFO("I'm in relay function.");
|
||||
|
||||
while(1)
|
||||
{
|
||||
xSemaphoreTake(i2cWriteMutex, portMAX_DELAY);
|
||||
|
||||
if(expdr.readGPIOBit(MCP23017_SW2) == 0)
|
||||
{
|
||||
if(expdr.readGPIOBit(MCP23017_REL2) == 0)
|
||||
@@ -499,8 +516,11 @@ void relayFunction(void *arg)
|
||||
expdr.writeGPIOBit(0, MCP23017_REL1);
|
||||
}
|
||||
}
|
||||
|
||||
xSemaphoreGive(i2cWriteMutex);
|
||||
vTaskDelay(EXAMPLE_DELAY_MS);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
void joyFunction(void *arg)
|
||||
@@ -707,7 +727,7 @@ void rgbFunction(void *arg)
|
||||
{
|
||||
vTaskSuspend(NULL);
|
||||
while(1)
|
||||
{
|
||||
{
|
||||
// Randomly generate a state for the rgb leds to be in
|
||||
uint8_t x = rand() % 7;
|
||||
ledRed.write((GPIO_STATE)((x >> 2) & 1));
|
||||
@@ -777,6 +797,73 @@ void soundFunction(void *arg)
|
||||
beeper.playRttl(song);
|
||||
}
|
||||
}
|
||||
#ifdef NRF52840_XXAA
|
||||
void usbFunction(void *arg)
|
||||
{
|
||||
vTaskSuspend(NULL);
|
||||
ret_code_t ret;
|
||||
|
||||
usbSetup();
|
||||
|
||||
while(1)
|
||||
{
|
||||
|
||||
while(1)
|
||||
{
|
||||
while (app_usbd_event_queue_process())
|
||||
{
|
||||
/* Nothing to do */
|
||||
}
|
||||
|
||||
if(xQueueReceive(interruptSourceQueueSecondary,
|
||||
&(intSourceRecvSecondary),
|
||||
(TickType_t) 10))
|
||||
{
|
||||
switch(intSourceRecvSecondary)
|
||||
{
|
||||
case INT_SOURCE::JOY_UP:
|
||||
{
|
||||
NRF_LOG_INFO("INT_SOURCE::JOY_UP");
|
||||
hidGenericMouseProcessState(USB_DIR::UP);
|
||||
|
||||
break;
|
||||
}
|
||||
case INT_SOURCE::JOY_DOWN:
|
||||
{
|
||||
NRF_LOG_INFO("INT_SOURCE::JOY_DOWN");
|
||||
hidGenericMouseProcessState(USB_DIR::DOWN);
|
||||
|
||||
break;
|
||||
}
|
||||
case INT_SOURCE::JOY_LEFT:
|
||||
{
|
||||
NRF_LOG_INFO("INT_SOURCE::JOY_LEFT");
|
||||
hidGenericMouseProcessState(USB_DIR::LEFT);
|
||||
break;
|
||||
}
|
||||
case INT_SOURCE::JOY_RIGHT:
|
||||
{
|
||||
NRF_LOG_INFO("INT_SOURCE::JOY_RIGHT");
|
||||
hidGenericMouseProcessState(USB_DIR::RIGHT);
|
||||
break;
|
||||
}
|
||||
default:
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
else if(sw1.read() == GPIO_STATE::LOW)
|
||||
{
|
||||
hidGenericMouseStopState();
|
||||
}
|
||||
|
||||
UNUSED_RETURN_VALUE(NRF_LOG_PROCESS());
|
||||
}
|
||||
|
||||
}
|
||||
};
|
||||
#endif
|
||||
//--------------------------- INTERRUPT HANDLERS ------------------------------
|
||||
void interruptCallback()
|
||||
{
|
||||
|
||||
+8
-3
@@ -19,7 +19,7 @@
|
||||
#include "nrf_gpio.h"
|
||||
#include "semphr.h"
|
||||
#include "aconnoHelpers.h"
|
||||
#include "acd52832Bsp.h"
|
||||
#include "aconnoBsp.h"
|
||||
#include "pictures.h"
|
||||
#include <math.h>
|
||||
#include "nrf_log.h"
|
||||
@@ -29,8 +29,6 @@
|
||||
#define EXAMPLE_DELAY_MS (201)
|
||||
#define BEACON_DELAY_MS (250)
|
||||
#define INFRARED_DELAY_MS (150)
|
||||
#define INTERRUPT_SEMAPHORE_MAX_COUNT (10)
|
||||
#define INTERRUPT_SEMAPHORE_INITIAL_COUNT (0)
|
||||
#define IOEXP_INTERRUPT_TIMER_PERIOD (500)
|
||||
#define QUEUE_DEFAULT_SIZE (10)
|
||||
#define TICKS_TO_BLOCK_DEFAULT (10)
|
||||
@@ -162,6 +160,13 @@ void servoFunction(void *arg);
|
||||
*/
|
||||
void soundFunction(void *arg);
|
||||
|
||||
/**
|
||||
* @brief USB example task function
|
||||
*
|
||||
* @param arg
|
||||
*/
|
||||
void usbFunction(void *arg);
|
||||
|
||||
/**
|
||||
* @brief A callback for mainMenu button joystick press
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user