n-PRO-30
n-PRO-30
License | GPL 2.0 |
Status | Tested-Blink |
Buy at: | |
Categories | |
Hardware repo | Bitbucket |
Firmware repo |
n-PRO-30 is an mbed-enabled Bluetooth Low Energy development board from the n-Blocks family, in the standard n-Blocks pro form factor.
n-PRO-30 is a simple Bluetooth Low Energy board based on Nordic nRF58232. It consists of temperature/humidity sensor, acceleration sensor and ambient light sensor which can be used to collect data and transmit it over bluetooth. The board supports the standard Nordic Software Development Tool-chain using Keil, IAR and GCC. It also supports ARM mbed tool-chain for rapid prototyping and development using mbed’s IDE and tool-chain with an extensive range of open-source software libraries.
n-PRO-30 is a HOST board with four Hirose DF30-series 60-pin low profile connectors at bottom side, following the n-Blocks PRO form factor.
C:\Program Files (x86)\GNU Tools ARM Embedded\7 2017-q4-major\bin
arm-none-eabi-gcc --version
<SDK>/components/toolchain/gcc
GNU_INSTALL_ROOT := $(PROGFILES)/GNU Tools ARM Embedded/4.9 2015q3 // Toolchain path GNU_VERSION := 4.9.3 GNU_PREFIX := arm-none-eabi
#include <stdbool.h> #include <stdint.h> #include "nrf_delay.h" #include "boards.h" int main(void) { NRF_GPIO->DIRSET = (1 << 17); // GPIO17 output,n-DAP LED /* Toggle LED */ while (true) { NRF_GPIO->OUTSET = (1 << 17); // GPIO17 HIGH nrf_delay_ms(100); NRF_GPIO->OUTCLR = (1 << 17); // GPIO17 LOW nrf_delay_ms(100); } }
<SDK>\examples\peripheral\blinky\pca10040\blank\armgcc
make
.bin
file:F:\prj_soft\nRF5_SDK_12.3.0_d7731ad\examples\peripheral\blinky\pca10040\blank\armgcc\_build\nrf52832_xxaa.bin
Nordic nRF52-DK
#include "mbed.h" DigitalOut led1(P0_17); // main() runs in its own thread in the OS int main() { while (true) { led1 = !led1; wait(0.05); } }
.hex
file
.hex
and .bin
files..hex
, while GCC produces .bin
and .hex