Skip to content

Instantly share code, notes, and snippets.

@mbolivar
mbolivar / gist:987258
Created May 23, 2011 18:41
newyorkbrass code snippet
// See http://forums.leaflabs.com/topic.php?id=739&page=2
class HardwareResourceParams
{
public:
HardwareResourceParams();
};
@mbolivar
mbolivar / gpio_remap.h
Created May 27, 2011 18:54
gpio_remap.h, from x893
#ifndef _GPIO_REMAP_H
#define _GPIO_REMAP_H
#ifdef __cplusplus
extern "C" {
#endif
#define AFIO_MAPR2 ((volatile uint32*)0x4001001C)
#define DBGMCU_IDCODE ((volatile uint32*)0xE0042000)
#define DBGMCU_CR ((volatile uint32*)0xE0042004)
@mbolivar
mbolivar / gpio_remap.h
Created May 27, 2011 18:55
gpio_remap.h, from x893
#ifndef _GPIO_REMAP_H
#define _GPIO_REMAP_H
#ifdef __cplusplus
extern "C" {
#endif
#define AFIO_MAPR2 ((volatile uint32*)0x4001001C)
#define DBGMCU_IDCODE ((volatile uint32*)0xE0042000)
#define DBGMCU_CR ((volatile uint32*)0xE0042004)
@mbolivar
mbolivar / DualRegSample.pde
Created October 3, 2011 21:49
Maple dual ADC sampling
/**
**********************************************************************************************
* @file DualRegSample.pde
* @author Samtal
* @version V1.1.0
* @date 27-SEP-2011 (Original 27 AUG 2011)
* @brief For Maple r5, IDE 0.0.12 Main program body
*********************************************************************************
* PLEASE READ THESE INSTRUCTIONS
* This program demonstrates the implementation of the STM32F10X Dual-Simultaneous
diff --git a/samples/bluetooth/hci_spi/src/Makefile b/samples/bluetooth/hci_spi/src/Makefile
index b9d082f6d..a76574cf6 100644
--- a/samples/bluetooth/hci_spi/src/Makefile
+++ b/samples/bluetooth/hci_spi/src/Makefile
@@ -1,4 +1,4 @@
# For includes from subsys/bluetooth/common
-ccflags-y += -I$(ZEPHYR_BASE)/subsys/bluetooth
+ccflags-y += -I$(ZEPHYR_BASE)/subsys
obj-y += main.o
diff --git a/boards/arm/96b_carbon/doc/96b_carbon.rst b/boards/arm/96b_carbon/doc/96b_carbon.rst
index fc59164cc..ce4f2830a 100644
--- a/boards/arm/96b_carbon/doc/96b_carbon.rst
+++ b/boards/arm/96b_carbon/doc/96b_carbon.rst
@@ -8,10 +8,10 @@ Overview
Zephyr applications use the 96b_carbon configuration to run on the 96Boards
Carbon hardware. It is based on the STMicroelectronics STM32F401RET Cortex-M4
-CPU and also contains a nRF51832 chip connected over SPI for BLE connectivity.
+CPU and also contains a nRF51822 chip connected over SPI for BLE connectivity.
@mbolivar
mbolivar / Screenshot from 2017-11-03 18-38-10.png
Last active November 3, 2017 22:42
Example generated output
Screenshot from 2017-11-03 18-38-10.png
diff --git a/boot/zephyr/CMakeLists.txt b/boot/zephyr/CMakeLists.txt
index a1879cd..a3a0740 100644
--- a/boot/zephyr/CMakeLists.txt
+++ b/boot/zephyr/CMakeLists.txt
@@ -42,11 +42,11 @@ endif()
# instead of swapping them. This prevents the fallback recovery, but
# uses a much simpler code path.
#
-# To enable validation:
+# To enable "upgrade only" mode:
Here is a lsit of the CMake variables which affect runners and whether they can be converted assuming these criteria.
Totals:
- Y: 9
- N: 27
- ?: 2
- BOSSAC (N): user-settable (e.g. -DBOSSAC=my/special/bossac)
- BOSSAC_PORT (N): user-settable (e.g. -DBOSSAC_PORT=COM3); we wish we could pass this to "make flash"
alabaster==0.7.10
arrow==0.10.0
Babel==2.5.1
breathe==4.6.0
certifi==2017.11.5
chardet==3.0.4
click==6.6
cmakew==0.0.6
docopt==0.6.2
docutils==0.13.1