mm-iot-sdk/examples/bootloader/platformio.ini
Morse Micro 4f4eb7fc7a Morse Micro MM-IoT-SDK release 2.9.7
This commit introduces version 2.9.7 of the Morse Micro MM-IoT-SDK
for ARM microcontroller base platforms.
2025-10-04 02:04:28 +10:00

92 lines
2.3 KiB
INI

; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
;
; Copyright 2023-2025 Morse Micro
; SPDX-License-Identifier: Apache-2.0
[platformio]
default_envs = mm-mm6108-ekh05
[env]
; monitor_port allows a specific serial port to be selected for monitoring. This may be useful
; to ensure the correct serial port is selected in cases where more than one is available.
; See https://docs.platformio.org/en/latest/projectconf/sections/env/options/monitor/monitor_port.html
;monitor_port = COM4
;monitor_port = /dev/serial/by-id/usb-STMicroelectronics_ST*
; Set the monitor baudrate. This should not be modified unless a corresponding change is made
; on the device.
monitor_speed = 115200
build_flags =
; Optimize builds for size. Changing this may cause flash to overflow
; for some example app and platform combinations.
-Os
-DBOOTLOADER_VERSION="\"0.2.0\""
-DMMOSAL_NO_DEBUGLOG
-DLFS_READONLY
-DLFS_NO_DEBUG
-DLFS_NO_WARN
-DLFS_NO_ERROR
-DLFS_NO_ASSERT
; For the bootloader we want to exclude the mmosal shim and hal code to reduce code size.
mm_shim_os =
bsp_srcs_main =
; This is used to override the linker script used when linking the final application
bsp_ld_postfix = _bootloader.ld
custom_mm_iot_components =
mmconfig
slip
mmutils
littlefs
freertos-common
freertos-$(CORE)
morselib
sha256
puff
[env:mm-mm6108-ekh05]
platform = mm_iottoolkit
framework = mm_iot
board = mm-mm6108-ekh05
[env:mm-mm6108-ekh05-sdio]
platform = mm_iottoolkit
framework = mm_iot
board = mm-mm6108-ekh05-sdio
[env:mm-ekh08-u575]
platform = mm_iottoolkit
framework = mm_iot
board = mm-ekh08-u575
[env:mm-ekh08-u575-sdio]
platform = mm_iottoolkit
framework = mm_iot
board = mm-ekh08-u575-sdio
[env:mm-ekh08-wb55]
platform = mm_iottoolkit
framework = mm_iot
board = mm-ekh08-wb55
[env:mm-ekh08-wb55-ble]
platform = mm_iottoolkit
framework = mm_iot
board = mm-ekh08-wb55-ble
[env:mm-ekh08-h753]
platform = mm_iottoolkit
framework = mm_iot
board = mm-ekh08-h753