File tree Expand file tree Collapse file tree 9 files changed +443
-9
lines changed
cores/arduino/mbed/storage/blockdevice/COMPONENT_SPIF/include/SPIF Expand file tree Collapse file tree 9 files changed +443
-9
lines changed Original file line number Diff line number Diff line change 45
45
*/
46
46
enum spif_bd_error {
47
47
SPIF_BD_ERROR_OK = 0 , /* !< no error */
48
- SPIF_BD_ERROR_DEVICE_ERROR = BD_ERROR_DEVICE_ERROR, /* !< device specific error -4001 */
48
+ SPIF_BD_ERROR_DEVICE_ERROR = mbed:: BD_ERROR_DEVICE_ERROR, /* !< device specific error -4001 */
49
49
SPIF_BD_ERROR_PARSING_FAILED = -4002 , /* SFDP Parsing failed */
50
50
SPIF_BD_ERROR_READY_FAILED = -4003 , /* Wait for Memory Ready failed */
51
51
SPIF_BD_ERROR_WREN_FAILED = -4004 , /* Write Enable Failed */
Original file line number Diff line number Diff line change 1
1
-c
2
2
-std=gnu11
3
+ -DAPPLICATION_ADDR=0x10000
4
+ -DAPPLICATION_SIZE=0x70000
3
5
-DMBED_RAM_SIZE=0x10000
4
6
-DMBED_RAM_START=0x20000000
5
7
-DMBED_ROM_SIZE=0x80000
Original file line number Diff line number Diff line change 2
2
-c
3
3
-fno-rtti
4
4
-std=gnu++14
5
+ -DAPPLICATION_ADDR=0x10000
6
+ -DAPPLICATION_SIZE=0x70000
5
7
-DMBED_RAM_SIZE=0x10000
6
8
-DMBED_RAM_START=0x20000000
7
9
-DMBED_ROM_SIZE=0x80000
Original file line number Diff line number Diff line change 1
1
2
2
-DARM_MATH_CM4
3
3
-DBOARD_PCA10040
4
+ -D__CMSIS_RTOS
4
5
-DCMSIS_VECTAB_VIRTUAL
5
6
-DCMSIS_VECTAB_VIRTUAL_HEADER_FILE=\"cmsis_nvic.h\"
7
+ -DCOMPONENT_FLASHIAP=1
8
+ -DCOMPONENT_SPIF=1
6
9
-DCONFIG_GPIO_AS_PINRESET
10
+ -D__CORTEX_M4
7
11
-DDEVICE_ANALOGIN=1
8
12
-DDEVICE_FLASH=1
9
13
-DDEVICE_I2C=1
10
- -DDEVICE_I2CSLAVE=1
11
14
-DDEVICE_I2C_ASYNCH=1
15
+ -DDEVICE_I2CSLAVE=1
12
16
-DDEVICE_INTERRUPTIN=1
13
17
-DDEVICE_ITM=1
14
18
-DDEVICE_LPTICKER=1
26
30
-DDEVICE_TRNG=1
27
31
-DDEVICE_USTICKER=1
28
32
-DFEATURE_BLE=1
29
- -DMBED_BUILD_TIMESTAMP=1610217455.4706848
33
+ -D__FPU_PRESENT=1
34
+ -D__MBED__=1
35
+ -DMBED_BUILD_TIMESTAMP=1610470084.818141
36
+ -D__MBED_CMSIS_RTOS_CM
30
37
-DMBED_MPU_CUSTOM
31
38
-DMBED_TICKLESS
32
39
-DNRF52
66
73
-DTARGET_UNISENSE
67
74
-DTOOLCHAIN_GCC
68
75
-DTOOLCHAIN_GCC_ARM
69
- -D__CMSIS_RTOS
70
- -D__CORTEX_M4
71
- -D__FPU_PRESENT=1
72
- -D__MBED_CMSIS_RTOS_CM
73
- -D__MBED__=1
74
76
-DMBED_NO_GLOBAL_USING_DIRECTIVE=1
75
77
-DUSE_ARDUINO_PINOUT
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change
1
+ -DMBED_APP_SIZE=0x70000
2
+ -DMBED_APP_START=0x10000
1
3
-DMBED_BOOT_STACK_SIZE=1024
2
4
-DMBED_RAM_SIZE=0x10000
3
5
-DMBED_RAM_START=0x20000000
Original file line number Diff line number Diff line change 1
1
MEMORY
2
2
{
3
- FLASH (rx) : ORIGIN = 0x0 , LENGTH = 0x80000
3
+ FLASH (rx) : ORIGIN = 0x10000 , LENGTH = 0x70000
4
4
RAM_NVIC (rwx) : ORIGIN = 0x20000000, LENGTH = 0xE0
5
5
RAM (rwx) : ORIGIN = (0x20000000 + 0xE0), LENGTH = (0x10000 - 0xE0)
6
6
}
Original file line number Diff line number Diff line change 171
171
#define MBED_CONF_FAT_CHAN_FLUSH_ON_NEW_CLUSTER 0 // set by library:fat_chan
172
172
#define MBED_CONF_FAT_CHAN_FLUSH_ON_NEW_SECTOR 1 // set by library:fat_chan
173
173
#define MBED_CONF_FILESYSTEM_PRESENT 1 // set by library:filesystem
174
+ #define MBED_CONF_FLASHIAP_BLOCK_DEVICE_BASE_ADDRESS 0xFFFFFFFF // set by library:flashiap-block-device
175
+ #define MBED_CONF_FLASHIAP_BLOCK_DEVICE_SIZE 0 // set by library:flashiap-block-device
174
176
#define MBED_CONF_GEMALTO_CINTERION_BAUDRATE 115200 // set by library:GEMALTO_CINTERION
175
177
#define MBED_CONF_GEMALTO_CINTERION_PROVIDE_DEFAULT 0 // set by library:GEMALTO_CINTERION
176
178
#define MBED_CONF_GENERIC_AT3GPP_BAUDRATE 115200 // set by library:GENERIC_AT3GPP
362
364
#define MBED_CONF_S2LP_PROVIDE_DEFAULT 0 // set by library:s2lp
363
365
#define MBED_CONF_SARA4_PPP_BAUDRATE 115200 // set by library:SARA4_PPP
364
366
#define MBED_CONF_SARA4_PPP_PROVIDE_DEFAULT 0 // set by library:SARA4_PPP
367
+ #define MBED_CONF_SPIF_DRIVER_DEBUG 0 // set by library:spif-driver
368
+ #define MBED_CONF_SPIF_DRIVER_SPI_CLK SPI_PSELSCK0 // set by library:spif-driver[UNISENSE]
369
+ #define MBED_CONF_SPIF_DRIVER_SPI_CS CS_FLASH // set by library:spif-driver[UNISENSE]
370
+ #define MBED_CONF_SPIF_DRIVER_SPI_FREQ 40000000 // set by library:spif-driver
371
+ #define MBED_CONF_SPIF_DRIVER_SPI_MISO SPI_PSELMISO0 // set by library:spif-driver[UNISENSE]
372
+ #define MBED_CONF_SPIF_DRIVER_SPI_MOSI SPI_PSELMOSI0 // set by library:spif-driver[UNISENSE]
365
373
#define MBED_CONF_STORAGE_DEFAULT_KV kv // set by library:storage
366
374
#define MBED_CONF_STORAGE_FILESYSTEM_BLOCKDEVICE default // set by library:storage_filesystem
367
375
#define MBED_CONF_STORAGE_FILESYSTEM_EXTERNAL_BASE_ADDRESS 0 // set by library:storage_filesystem
You can’t perform that action at this time.
0 commit comments