Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions variants/GIGA_M4/cflags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
-c
-std=gnu11
-DAPPLICATION_ADDR=0x8100000
-DAPPLICATION_RAM_ADDR=0x10000000
-DAPPLICATION_RAM_SIZE=0x48000
-DAPPLICATION_SIZE=0x100000
-DMBED_RAM1_SIZE=0x80000
-DMBED_RAM1_START=0x24000000
-DMBED_RAM_SIZE=0x48000
-DMBED_RAM_START=0x10000000
-DMBED_ROM_SIZE=0x100000
-DMBED_ROM_START=0x8100000
-DMBED_TRAP_ERRORS_ENABLED=1
-Os
-Wall
-Wextra
-Wno-missing-field-initializers
-Wno-unused-parameter
-fdata-sections
-ffunction-sections
-fmessage-length=0
-fomit-frame-pointer
-funsigned-char
-mcpu=cortex-m4
-mfloat-abi=softfp
-mfpu=fpv4-sp-d16
-mthumb
1 change: 1 addition & 0 deletions variants/GIGA_M4/conf/.mbedignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
mbed-os/connectivity/nanostack/*
29 changes: 29 additions & 0 deletions variants/GIGA_M4/conf/mbed_app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"target_overrides": {
"*": {
"target.printf_lib": "std",
"platform.stdio-buffered-serial": false,
"target.usb_speed": "USE_USB_OTG_FS",
"platform.stdio-baud-rate": 115200,
"platform.default-serial-baud-rate": 115200,
"platform.callback-nontrivial": true,
"platform.all-stats-enabled": true,
"rtos.main-thread-stack-size": 32768,
"cordio.max-connections": 5,
"target.lse_available": 0,
"target.device_has_remove": [
"USBDEVICE",
"EMAC"
],
"target.macros_add": [
"BT_UART_NO_3M_SUPPORT",
"NO_VTOR_RELOCATE",
"METAL_INTERNAL",
"VIRTIO_SLAVE_ONLY",
"NO_ATOMIC_64_SUPPORT",
"METAL_MAX_DEVICE_REGIONS=2",
"RPMSG_BUFFER_SIZE=2048"
]
}
}
}
29 changes: 29 additions & 0 deletions variants/GIGA_M4/cxxflags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
-Wvla
-c
-fno-rtti
-std=gnu++14
-DAPPLICATION_ADDR=0x8100000
-DAPPLICATION_RAM_ADDR=0x10000000
-DAPPLICATION_RAM_SIZE=0x48000
-DAPPLICATION_SIZE=0x100000
-DMBED_RAM1_SIZE=0x80000
-DMBED_RAM1_START=0x24000000
-DMBED_RAM_SIZE=0x48000
-DMBED_RAM_START=0x10000000
-DMBED_ROM_SIZE=0x100000
-DMBED_ROM_START=0x8100000
-DMBED_TRAP_ERRORS_ENABLED=1
-Os
-Wall
-Wextra
-Wno-missing-field-initializers
-Wno-unused-parameter
-fdata-sections
-ffunction-sections
-fmessage-length=0
-fomit-frame-pointer
-funsigned-char
-mcpu=cortex-m4
-mfloat-abi=softfp
-mfpu=fpv4-sp-d16
-mthumb
86 changes: 86 additions & 0 deletions variants/GIGA_M4/defines.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@

-DARM_MATH_CM4
-DBT_UART_NO_3M_SUPPORT
-DCM4_BOOT_BY_APPLICATION
-D__CMSIS_RTOS
-DCOMPONENT_4343W_FS=1
-DCOMPONENT_CYW43XXX=1
-DCOMPONENT_FLASHIAP=1
-DCOMPONENT_QSPIF=1
-DCOMPONENT_WHD=1
-DCORE_CM4
-D__CORTEX_M4
-DCYW43XXX_UNBUFFERED_UART
-DDEVICE_ANALOGIN=1
-DDEVICE_ANALOGOUT=1
-DDEVICE_CAN=1
-DDEVICE_CRC=1
-DDEVICE_FLASH=1
-DDEVICE_I2C=1
-DDEVICE_I2C_ASYNCH=1
-DDEVICE_I2CSLAVE=1
-DDEVICE_INTERRUPTIN=1
-DDEVICE_LPTICKER=1
-DDEVICE_PORTIN=1
-DDEVICE_PORTINOUT=1
-DDEVICE_PORTOUT=1
-DDEVICE_PWMOUT=1
-DDEVICE_QSPI=1
-DDEVICE_RESET_REASON=1
-DDEVICE_RTC=1
-DDEVICE_SERIAL=1
-DDEVICE_SERIAL_FC=1
-DDEVICE_SLEEP=1
-DDEVICE_SPI=1
-DDEVICE_SPI_ASYNCH=1
-DDEVICE_SPISLAVE=1
-DDEVICE_STDIO_MESSAGES=1
-DDEVICE_TRNG=1
-DDEVICE_USTICKER=1
-DDEVICE_WATCHDOG=1
-DEXTRA_IDLE_STACK_REQUIRED
-DFEATURE_BLE=1
-D__FPU_PRESENT=1
-D__MBED__=1
-DMBED_BUILD_TIMESTAMP=1693898791.3981662
-D__MBED_CMSIS_RTOS_CM
-DMBED_MPU_CUSTOM
-DMBED_TICKLESS
-DMBEDTLS_FS_IO
-DMBEDTLS_SHA1_C
-DMETAL_INTERNAL
-DMETAL_MAX_DEVICE_REGIONS=2
-DNO_ATOMIC_64_SUPPORT
-DNO_VTOR_RELOCATE
-DQSPI_NO_SAMPLE_SHIFT
-DRPMSG_BUFFER_SIZE=2048
-DSTM32H747xx
-DTARGET_CORDIO
-DTARGET_CORTEX
-DTARGET_CORTEX_M
-DTARGET_LIKE_CORTEX_M4
-DTARGET_LIKE_MBED
-DTARGET_M4
-DTARGET_MCU_STM32
-DTARGET_MCU_STM32H7
-DTARGET_MCU_STM32H747xI
-DTARGET_NAME=PORTENTA_H7_M4
-DTARGET_PORTENTA_H7
-DTARGET_PORTENTA_H7_M4
-DTARGET_RELEASE
-DTARGET_RTOS_M4_M7
-DTARGET_STM
-DTARGET_STM32H7
-DTARGET_STM32H747xI
-DTARGET_STM32H747xI_CM4
-DTOOLCHAIN_GCC
-DTOOLCHAIN_GCC_ARM
-DTRANSACTION_QUEUE_SIZE_SPI=2
-DUSE_FULL_LL_DRIVER
-DUSE_HAL_DRIVER
-DVIRTIO_SLAVE_ONLY
-DMBED_NO_GLOBAL_USING_DIRECTIVE=1
-DCORE_MAJOR=4
-DCORE_MINOR=0
-DCORE_PATCH=6
-DUSE_ARDUINO_PINOUT
Loading