Skip to content

Instantly share code, notes, and snippets.

View pan-'s full-sized avatar
👾

Vincent Coubard pan-

👾
  • ARM
  • Cambridge, UK
View GitHub Profile
@pan-
pan- / CB.h
Created January 11, 2019 17:43
NRF52 SDK15 update serial issue reproducer.
/* mbed Microcontroller Library
* Copyright (c) 2015 ARM Limited
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
/* mbed Microcontroller Library
* Copyright (c) 2006-2018 u-blox Limited
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
@pan-
pan- / BlockdeviceInstrumentCounter.h
Last active August 3, 2017 14:04
static instrumentation framework
class BlockDeviceInstrumentCounter : public DefaultBlockDeviceInstrument {
public:
BlockDeviceInstrumentCounter() : counter(0) { }
void reset() {
counter = 0;
}
size_t get_counter() const {
return counter;
/*
* Copyright (c) 2013-2016, ARM Limited, All Rights Reserved
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
diff --git a/source/EventQueue/util/NordicCriticalSectionLock.h b/source/EventQueue/util/NordicCriticalSectionLock.h
index dcb20fe..d0199df 100644
--- a/source/EventQueue/util/NordicCriticalSectionLock.h
+++ b/source/EventQueue/util/NordicCriticalSectionLock.h
@@ -28,7 +28,7 @@
#include "cmsis.h"
#include "nrf_soc.h"
#include "nrf_sdm.h"
-#include "nrf_nvic.h"
+//#include "nrf_nvic.h"
git clone https://github.com/ARMmbed/ble.git upstream
hg clone https://<username>@developer.mbed.org/teams/Bluetooth-Low-Energy/code/BLE_API/
python -u git-hg-repoSynch/synch.py -n upstream BLE_API