Skip to content

Instantly share code, notes, and snippets.

Peter A. Bigot pabigot

Block or report user

Report or block pabigot

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@pabigot
pabigot / 0001-drivers-timer-nrf_rtc_timer-clarify-intent-of-ZLI-co.patch
Last active Aug 19, 2019
diagnostics patch for zephyrproject-rtos/zephyr issue 17965
View 0001-drivers-timer-nrf_rtc_timer-clarify-intent-of-ZLI-co.patch
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.
@pabigot
pabigot / README.md
Last active Mar 30, 2019
Example code for Nordic devzone issue TBD
View README.md
@pabigot
pabigot / 0000-README.md
Last active Jan 3, 2018
ppk-v11-hangs-on-linux-bug-report patch
View 0000-README.md

Nordic PPK Linux Patches

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
@pabigot
pabigot / output
Last active Sep 3, 2016
pump stream continues after callback
View output
lilith[4835]$ node pb.js
pump cb 2 0 [Error: second call, carrying on]
ws finished 4 49152
@pabigot
pabigot / main.c
Created Jan 1, 2015
DS18B20 one-wire demo on nRF51
View main.c
/* BSPACM - nRF51 DS18B20 OneWire interface
*
* Copyright 2012-2015, Peter A. Bigot
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice,
@pabigot
pabigot / Makefile
Last active Aug 29, 2015
The Effect of the ARM Cortex-M NOP Instruction
View Makefile
# 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
View MSP430 Makefile
#
# Makefile for msp430
#
# 'make' builds everything
# 'make clean' deletes everything except source files and Makefile
# You need to set TARGET, MCU and SOURCES for your project.
# TARGET is the name of the executable file to be produced
# $(TARGET).elf $(TARGET).hex and $(TARGET).txt nad $(TARGET).map are all generated.
# The TXT file is used for BSL loading, the ELF can be used for JTAG use
#
@pabigot
pabigot / 00README.md
Last active Aug 29, 2015
Examples for a blog post on C++ overloading
@pabigot
pabigot / 00README.md
Last active Aug 29, 2015
Support for Diagnostics in Template Metaprogramming
View 00README.md
You can’t perform that action at this time.