Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: aconno_I2C Lis2dh12 WatchdogTimer
board.h
00001 #include "mbed.h" 00002 00003 //PINS 00004 #define PN_SWDIO SWDIO 00005 #define PN_SWCLK SWCLK 00006 #define PN_RESET P0_21 00007 #define PN_IN_BUTTON P0_2 00008 00009 #define PN_LED P0_30 // Green 00010 #define PN_LED_BLUE P0_31 // Blue 00011 00012 #define PN_SPI_MOSI P0_20 00013 #define PN_SPI_MISO P0_18 00014 #define PN_SPI_CLK P0_16 00015 #define PN_UART_RX P0_11 00016 #define PN_UART_TX P0_5 00017 #define PN_UART_CTS P0_30 00018 #define PN_UART_RTS P0_31 00019 #define PN_OUT_BUZZER P0_7 00020 #define PN_ACC_INT1 P0_25 00021 //#define PN_ACC_INT2 P0_25 00022 #define PN_I2C_SDA P0_29 00023 #define PN_I2C_SCL P0_28 00024 00025 #define DW1000_RST P0_24 00026 #define DW1000_IRQ P0_19 00027 #define DW1000_RDY P0_25 00028 #define DW1000_CS P0_17 00029 00030 00031 00032 00033 //MEMORY FOR DISK 00034 //#define BD_PAGE_SIZE 4096 00035 //#define BD_TOTAL_SIZE 4096 * 35 //must be multiple of 4096 00036 //#define BD_PAGE_ADDRESS 0x5d000 //380928 00037 00038 #define USERDATA_START 0x7E000 // - 8k for user data 00039 00040 #define APPDATA_START 0x40000 // - 4k for app data - DEVELOPMENT 00041 //#define APPDATA_START 0x3D000 // - 4k for app data - PRODUCTION
Generated on Sat Jul 16 2022 03:03:28 by
1.7.2