Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update master to nRF52x #42

Open
wants to merge 141 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
141 commits
Select commit Hold shift + click to select a range
a7bdf5f
Add sdk 14, attempt to build for nrf52
nealjack Nov 11, 2017
3f296f7
Use start code and linker included in sdks
nealjack Nov 11, 2017
29d18f8
add linker scripts for new chips
nealjack Nov 12, 2017
7043d5b
Working blink on nrf52840, sdk 14
nealjack Nov 12, 2017
37bdc02
Merge branch 'master' into update
nealjack Nov 14, 2017
fd0f220
Added sleep application
nealjack Nov 17, 2017
e2a3f3e
Got the NRF52840 to advertise.
nealjack Nov 17, 2017
7c262c0
add support for gzll with SDK14, and include linker scripts for 52810…
akohlsmith Feb 23, 2018
cb782e9
Add compiler flags for hardware fpu
nealjack Feb 24, 2018
c52f4ed
add RAM/Flash defaults for the nrf52810 and also make sure we're usin…
akohlsmith Feb 25, 2018
deab4e3
fix merge conflict
nealjack Feb 26, 2018
bce3e9f
Merge branch 'akohlsmith-nrf52-gzll' into update
nealjack Feb 26, 2018
20b7d3d
Got simple ble working with sdk 14 and nrf52840
nealjack Mar 4, 2018
91192c2
add sdk14 and s140 softdevice to readme
nealjack Mar 4, 2018
6653b9b
add in external libraries
nealjack Mar 19, 2018
82b462e
Use DCDC mode by default
nealjack Mar 22, 2018
4bf4dea
Add SDK14 crypto library includes
nealjack Mar 22, 2018
023c1f1
Add bleaddr location for 1024kB flash
nealjack Mar 24, 2018
e89b569
update advertisement library for sdk 14
nealjack Mar 24, 2018
6fb4c7c
Add sdk 15
nealjack Mar 30, 2018
84ab11f
add check for using BLE
nealjack Jun 20, 2018
cb4a1b6
Clean out repo
nealjack Jun 20, 2018
46ef7e4
Fixup Makefiles
nealjack Jun 20, 2018
da363eb
update readme/example makefile
nealjack Jun 20, 2018
f5678b4
Add openthread
nealjack Jun 21, 2018
f3fe9a8
Can build thread
nealjack Jun 21, 2018
601efb2
use the nrf sdk... sigh
nealjack Jun 21, 2018
d5afab9
add sdk 15 for thread
nealjack Jun 21, 2018
c7d5f61
add start of simple thread app
nealjack Jun 21, 2018
71e007d
Add working uart example with printf
nealjack Jun 22, 2018
378d917
Almost compiles!
nealjack Jun 22, 2018
3031e32
Thread hello world app working
nealjack Jun 23, 2018
7aab9ea
add blank linker for nrf52840
nealjack Jul 8, 2018
67cd55d
Add thread coap example
nealjack Jul 11, 2018
c632ccc
force nosd for thread examples
nealjack Jul 11, 2018
906ee32
Fix up makefile nrf ic
nealjack Jul 11, 2018
870bc6f
enable pinreset
nealjack Jul 12, 2018
1fb419b
add in sdk15_thread external
nealjack Jul 12, 2018
6a71dfe
fix
nealjack Jul 16, 2018
bb77c39
Compartamentalize common thread functions in lib
nealjack Jul 17, 2018
700a823
Modify library to disable SPI
nealjack Jul 18, 2018
3bf76f5
add library support for reading dev id
nealjack Jul 19, 2018
5ee582b
fix blink makefile
nealjack Aug 7, 2018
7407875
move rtt out of thread only
adkinsjd Aug 7, 2018
cfc64fb
add configs in
nealjack Aug 7, 2018
a97e20d
add ntp client submod
nealjack Aug 7, 2018
3c9c6e4
Blink works on the nrf52832 preview DK
brghena Aug 7, 2018
2b3432c
Buttons and switches tested
brghena Aug 7, 2018
7387ae2
ADC exmample app
brghena Aug 7, 2018
a27acf9
Working UART example on nRF52832
brghena Aug 7, 2018
afced2b
ADC example (and some sdkconfig changes)
brghena Aug 7, 2018
d745cae
Fix LD file for non-preview nRF52832
brghena Aug 8, 2018
4c13fd0
Remove sdk12, which is no longer supported
brghena Aug 10, 2018
57161b5
Checkpoint. re-making the build system
brghena Aug 11, 2018
1774205
Checkpoint. Compiles and flashes example apps!
brghena Aug 13, 2018
2e6cc97
More testing and additions
brghena Aug 13, 2018
9831d84
Example of using a board-specific configuration
brghena Aug 14, 2018
6e52b35
Fix comment in file
brghena Aug 14, 2018
2382e64
Fix include paths
brghena Aug 14, 2018
e463567
Cleanup
brghena Aug 16, 2018
e352166
Add in hardfault handler
brghena Aug 16, 2018
f922704
Add better error handling!
brghena Aug 17, 2018
7d718e5
Change submodule to use HTTP
brghena Aug 17, 2018
91659d9
added SD card driver
abiri Aug 17, 2018
c9783ab
Update makefiles to include libs correctly
brghena Aug 23, 2018
d047359
Make GDB target stop at first line of main
brghena Aug 23, 2018
12e76df
SD card working
abiri Aug 24, 2018
989a8ef
Add new before startup file
brghena Aug 24, 2018
5f74b6b
extended SD card with RTC
abiri Aug 24, 2018
50d2687
changed library structure to include boards.h, added SD card app
abiri Aug 25, 2018
06008ad
fix git init directive
adkinsjd Aug 27, 2018
b6a5352
Re-add support for thread on NRF52840
nealjack Aug 28, 2018
2a63d3e
included drivers in Makefile
abiri Aug 31, 2018
0e439d4
Include ID_FLASH_LOCATION in configuration
nealjack Sep 5, 2018
de759b5
pull up ntpclient
nealjack Sep 5, 2018
86427ff
added simple_ble library, including Eddystone
abiri Sep 6, 2018
f7faf48
simple_ble with working Eddystone beaconing
abiri Sep 6, 2018
37039e8
make mac rtt work with xterm
adkinsjd Sep 7, 2018
d061f15
added capability to read from log
abiri Sep 9, 2018
06abd25
added ability to set read permissions
abiri Sep 9, 2018
b7558ce
removed const to prevent warning
abiri Sep 10, 2018
c20aeb4
Revert to old ntpclient repo
brghena Sep 10, 2018
269ca76
Add necessary includes and const to simple thread
nealjack Sep 10, 2018
bc0dfe0
fixed mac impl to be more generic
adkinsjd Sep 11, 2018
4a11a37
fixed mac impl to be more generic
adkinsjd Sep 11, 2018
370483c
Bump up openthread version
nealjack Sep 14, 2018
c5bd3ee
up ntpclient
nealjack Oct 4, 2018
762ea67
increase jtag speed
nealjack Oct 4, 2018
f575853
fixed buffer flush after printf to write errors for SoftDevice
abiri Oct 7, 2018
7f42d5d
Thread coap return error
nealjack Oct 8, 2018
c65bda0
Updated simple BLE library
brghena Nov 4, 2018
8450339
Remove extraneous code causing warnings
brghena Nov 4, 2018
bb8e5cf
upgrade FatFS to version 0.13c
abiri Nov 6, 2018
12b22e1
fixed power-gaiting of SD card
abiri Nov 6, 2018
3491cdf
cleaned up power on of SD card code
abiri Nov 6, 2018
c6236d8
Updated simple BLE library
brghena Nov 4, 2018
e1d34de
Remove extraneous code causing warnings
brghena Nov 4, 2018
464e688
Add thread router app based on nrf52840 dongle
nealjack Dec 5, 2018
fdb8203
add dns resolve
nealjack Dec 11, 2018
05e23cc
Add dfu program support
nealjack Dec 6, 2018
dda3b1c
Working thread DNS example
nealjack Dec 11, 2018
14c7f4b
Use defined dns64 address
nealjack Dec 11, 2018
330c29c
First stab at moving to sdk 15.2
nealjack Dec 12, 2018
ad6d257
Get all example applications building
nealjack Dec 14, 2018
7677b25
fix gdb working directory for mac
nealjack Dec 18, 2018
1d35289
add support for mbr
nealjack Dec 18, 2018
7c8a5a6
Add includes for Thread background dfu
nealjack Jan 10, 2019
6db30e8
Add support for first time signed dfu images
nealjack Jan 11, 2019
35bf3b9
add LED indication to thread router
nealjack Feb 6, 2019
6aa3ea3
allow repeating rtc callbacks
nealjack Feb 12, 2019
20f8ac8
add default dns handler
nealjack Feb 22, 2019
a5b85c2
Add FPU errata workaround
nealjack Feb 22, 2019
6bd6e02
Move device ID out of bootloader range
nealjack Feb 25, 2019
e87f6c1
rename usb_dfu
nealjack Mar 6, 2019
8808786
add instructions for nrf tools
nealjack Mar 7, 2019
3c10fd6
Add 15.3 SDK, update thread sdk too
nealjack Mar 7, 2019
31436bd
Update makefiles, require signature validation
nealjack Mar 8, 2019
1889573
Use new OpenThread SNTP implementation
nealjack Mar 11, 2019
610030b
Add block number to bg dfu diag struct
nealjack Mar 11, 2019
8296def
don't use date and time macros
nealjack Mar 31, 2019
bbf54ae
Add git version define
nealjack Mar 31, 2019
1dd1a54
add version to make pkg
nealjack Apr 2, 2019
5127ad3
Use new OpenThread SNTP implementation
nealjack Mar 11, 2019
85d44a3
Add block number to bg dfu diag struct
nealjack Mar 11, 2019
0d70dc6
don't use date and time macros
nealjack Mar 31, 2019
053e7b3
Add git version define
nealjack Mar 31, 2019
f5fe2fe
add version to make pkg
nealjack Apr 2, 2019
82ab905
allow retries to be defined at higher layers
nealjack Apr 2, 2019
ea901a6
don't track dirty
nealjack Apr 2, 2019
0f484ef
print out git version on build
nealjack Apr 2, 2019
9082efa
Merge branch 'nrf52832' of github.com:lab11/nrf5x-base into nrf52832
nealjack Apr 26, 2019
9556205
fix fds instance conflict
nealjack Apr 30, 2019
cf9a2d9
go back to storing id before bootloader
nealjack May 2, 2019
b34f50a
Update 15.3.0 thread sdk to Nordic's 3.1.0 thread
nealjack Jul 2, 2019
5c2fef0
Merge branch 'nrf52832' into nrf52832-class
nealjack Jul 23, 2019
881c979
BLE service code (doesn't work)
brghena Nov 14, 2018
811991f
Get BLE eddystone app building with service code
nealjack Jul 27, 2019
45cee52
add basic ble advertisement app (name only)
nealjack Jul 28, 2019
a8d01e1
Add simple BLE service example
nealjack Jul 28, 2019
f815cc5
Rename and fix up board files for nrf52840
nealjack Jul 30, 2019
e0068a3
Fix broken links and outdated info in README
nealjack Jul 31, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Added sleep application
  • Loading branch information
nealjack committed Nov 17, 2017
commit fd0f220f946683dabb16a25a6edcb9f5b5105754
24 changes: 24 additions & 0 deletions apps/sleep_sdk14/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
PROJECT_NAME = $(shell basename "$(realpath ./)")

APPLICATION_SRCS = $(notdir $(wildcard ./*.c))
APPLICATION_SRCS += app_timer.c
APPLICATION_SRCS += app_error.c
APPLICATION_SRCS += app_error_weak.c
APPLICATION_SRCS += nrf_drv_common.c
APPLICATION_SRCS += led.c
APPLICATION_SRCS += nrf_sdh.c
APPLICATION_SRCS += nrf_section_iter.c
APPLICATION_SRCS += nrf_sdh_ble.c
APPLICATION_SRCS += app_util_platform.c

NRF_MODEL = nrf52840

SDK_VERSION = 14
SOFTDEVICE_MODEL = s140

NRF_BASE_PATH ?= ../..

LIBRARY_PATHS += . ../../include
SOURCE_PATHS += ../../src

include $(NRF_BASE_PATH)/make/Makefile
31 changes: 31 additions & 0 deletions apps/sleep_sdk14/main.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
/* Blink
*/

#include <stdbool.h>
#include <stdint.h>
#include "nrf.h"
#include "nrf_soc.h"
#include "nrf_delay.h"
#include "nrf_sdh.h"
#include "nrf_sdh_ble.h"

int main(void) {
uint32_t err_code;

// Initialize.
err_code = nrf_sdh_enable_request();
APP_ERROR_CHECK(err_code);

if (!nrf_sdh_is_enabled()) {
printf("Failed to enable softdevice\n");
}

uint32_t ram_start = 0;
err_code = nrf_sdh_ble_app_ram_start_get(&ram_start);
APP_ERROR_CHECK(err_code);

// Enter main loop.
while (1) {
sd_app_evt_wait();
}
}
Loading