Files supporting Diagnostics in Template Meta-Programming in C++
Files supporting Ultimate Overloads.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# BSPACM - Makefile for ARM Cortex-M instruction delay experiment | |
# | |
# Written in 2014 by Peter A. Bigot <http://pabigot.github.io/bspacm/> | |
# | |
# To the extent possible under law, the author(s) have dedicated all | |
# copyright and related and neighboring rights to this software to | |
# the public domain worldwide. This software is distributed without | |
# any warranty. | |
# | |
# You should have received a copy of the CC0 Public Domain Dedication |
These files support a comparison of unit test frameworks, documented at: http://www.pabigot.com/c/c-unit-test-frameworks/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lilith[4835]$ node pb.js | |
pump cb 2 0 [Error: second call, carrying on] | |
ws finished 4 49152 |
This gist has patches to the Nordic PPK software to help it run under Linux.
Some other hints:
- If you get whining about unable to find JLINKARM.dll, modify the
This gist contains example code to demonstrate failures in the nRF52
SAADC peripheral when using the CONFIG.BURST
feature in both scan-mode
and non-scan-mode acquisitions.
The issue is discussed at: https://devzone.nordicsemi.com/f/nordic-q-a/45339/saadc-burst-problems-in-scan-vs-non-scan-acquisitions
The example directly manipulates SAADC peripheral registers, and runs under nrfcxx. The SAADC-specific material is self-contained and should be trivially portable to other frameworks or plain C.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 56036a278ba819bdabf3b32f580d9ecd51123db7 Mon Sep 17 00:00:00 2001 | |
From: Peter Bigot <peter.bigot@nordicsemi.no> | |
Date: Mon, 19 Aug 2019 11:00:00 -0500 | |
Subject: [PATCH] drivers/timer/nrf_rtc_timer: clarify intent of ZLI | |
compensation | |
The variable enabling entry to the zero latency interrupt compensation | |
loop was named generically, and its logic inverted, making the code | |
difficult to understand. Change the name and initial value to more | |
clearly indicate its role. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int err; | |
struct k_poll_signal sig; | |
struct onoff_client cli; | |
/* Blocking start using signal */ | |
struct k_poll_event evts[] = { | |
K_POLL_EVENT_INITIALIZER(K_POLL_TYPE_SIGNAL, | |
K_POLL_MODE_NOTIFY_ONLY, | |
&sig), | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* binding */ | |
description: whatever | |
compatible: "something,switch" | |
properties: | |
gpios: | |
type: phandle-array | |
required: true | |
gpio-names: | |
type: string-array | |
required: false |
OlderNewer