Skip to content

Commit 9fee036

Browse files
committed
Recompile target
1 parent 5f471a4 commit 9fee036

File tree

9 files changed

+443
-9
lines changed

9 files changed

+443
-9
lines changed

cores/arduino/mbed/storage/blockdevice/COMPONENT_SPIF/include/SPIF/SPIFBlockDevice.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
*/
4646
enum spif_bd_error {
4747
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 */
4949
SPIF_BD_ERROR_PARSING_FAILED = -4002, /* SFDP Parsing failed */
5050
SPIF_BD_ERROR_READY_FAILED = -4003, /* Wait for Memory Ready failed */
5151
SPIF_BD_ERROR_WREN_FAILED = -4004, /* Write Enable Failed */

variants/UNISENSE/cflags.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
-c
22
-std=gnu11
3+
-DAPPLICATION_ADDR=0x10000
4+
-DAPPLICATION_SIZE=0x70000
35
-DMBED_RAM_SIZE=0x10000
46
-DMBED_RAM_START=0x20000000
57
-DMBED_ROM_SIZE=0x80000

variants/UNISENSE/cxxflags.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
-c
33
-fno-rtti
44
-std=gnu++14
5+
-DAPPLICATION_ADDR=0x10000
6+
-DAPPLICATION_SIZE=0x70000
57
-DMBED_RAM_SIZE=0x10000
68
-DMBED_RAM_START=0x20000000
79
-DMBED_ROM_SIZE=0x80000

variants/UNISENSE/defines.txt

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11

22
-DARM_MATH_CM4
33
-DBOARD_PCA10040
4+
-D__CMSIS_RTOS
45
-DCMSIS_VECTAB_VIRTUAL
56
-DCMSIS_VECTAB_VIRTUAL_HEADER_FILE=\"cmsis_nvic.h\"
7+
-DCOMPONENT_FLASHIAP=1
8+
-DCOMPONENT_SPIF=1
69
-DCONFIG_GPIO_AS_PINRESET
10+
-D__CORTEX_M4
711
-DDEVICE_ANALOGIN=1
812
-DDEVICE_FLASH=1
913
-DDEVICE_I2C=1
10-
-DDEVICE_I2CSLAVE=1
1114
-DDEVICE_I2C_ASYNCH=1
15+
-DDEVICE_I2CSLAVE=1
1216
-DDEVICE_INTERRUPTIN=1
1317
-DDEVICE_ITM=1
1418
-DDEVICE_LPTICKER=1
@@ -26,7 +30,10 @@
2630
-DDEVICE_TRNG=1
2731
-DDEVICE_USTICKER=1
2832
-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
3037
-DMBED_MPU_CUSTOM
3138
-DMBED_TICKLESS
3239
-DNRF52
@@ -66,10 +73,5 @@
6673
-DTARGET_UNISENSE
6774
-DTOOLCHAIN_GCC
6875
-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
7476
-DMBED_NO_GLOBAL_USING_DIRECTIVE=1
7577
-DUSE_ARDUINO_PINOUT

variants/UNISENSE/includes.txt

Lines changed: 418 additions & 0 deletions
Large diffs are not rendered by default.

variants/UNISENSE/ldflags.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
-DMBED_APP_SIZE=0x70000
2+
-DMBED_APP_START=0x10000
13
-DMBED_BOOT_STACK_SIZE=1024
24
-DMBED_RAM_SIZE=0x10000
35
-DMBED_RAM_START=0x20000000

variants/UNISENSE/libs/libmbed.a

9.3 MB
Binary file not shown.

variants/UNISENSE/linker_script.ld

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MEMORY
22
{
3-
FLASH (rx) : ORIGIN = 0x0, LENGTH = 0x80000
3+
FLASH (rx) : ORIGIN = 0x10000, LENGTH = 0x70000
44
RAM_NVIC (rwx) : ORIGIN = 0x20000000, LENGTH = 0xE0
55
RAM (rwx) : ORIGIN = (0x20000000 + 0xE0), LENGTH = (0x10000 - 0xE0)
66
}

variants/UNISENSE/mbed_config.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,8 @@
171171
#define MBED_CONF_FAT_CHAN_FLUSH_ON_NEW_CLUSTER 0 // set by library:fat_chan
172172
#define MBED_CONF_FAT_CHAN_FLUSH_ON_NEW_SECTOR 1 // set by library:fat_chan
173173
#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
174176
#define MBED_CONF_GEMALTO_CINTERION_BAUDRATE 115200 // set by library:GEMALTO_CINTERION
175177
#define MBED_CONF_GEMALTO_CINTERION_PROVIDE_DEFAULT 0 // set by library:GEMALTO_CINTERION
176178
#define MBED_CONF_GENERIC_AT3GPP_BAUDRATE 115200 // set by library:GENERIC_AT3GPP
@@ -362,6 +364,12 @@
362364
#define MBED_CONF_S2LP_PROVIDE_DEFAULT 0 // set by library:s2lp
363365
#define MBED_CONF_SARA4_PPP_BAUDRATE 115200 // set by library:SARA4_PPP
364366
#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]
365373
#define MBED_CONF_STORAGE_DEFAULT_KV kv // set by library:storage
366374
#define MBED_CONF_STORAGE_FILESYSTEM_BLOCKDEVICE default // set by library:storage_filesystem
367375
#define MBED_CONF_STORAGE_FILESYSTEM_EXTERNAL_BASE_ADDRESS 0 // set by library:storage_filesystem

0 commit comments

Comments
 (0)