diff --git a/bsp/stm32/stm32l496-st-nucleo/.ci/attachconfig/ci.attachconfig.yml b/bsp/stm32/stm32l496-st-nucleo/.ci/attachconfig/ci.attachconfig.yml
new file mode 100644
index 00000000000..8715453924d
--- /dev/null
+++ b/bsp/stm32/stm32l496-st-nucleo/.ci/attachconfig/ci.attachconfig.yml
@@ -0,0 +1,10 @@
+nano:
+    scons_arg:
+      - '--strict'
+    kconfig: 
+      - CONFIG_RT_USING_NANO=y
+devices.on_chip:
+    kconfig:
+      - CONFIG_BSP_USING_ON_CHIP_FLASH=y
+      - CONFIG_BSP_USING_ON_CHIP_FLASH_FATFS=y
+      - CONFIG_RT_DFS_ELM_MAX_SECTOR_SIZE=2048
\ No newline at end of file
diff --git a/bsp/stm32/stm32l496-st-nucleo/.ci/attachconfig/nano.attach b/bsp/stm32/stm32l496-st-nucleo/.ci/attachconfig/nano.attach
deleted file mode 100644
index f1ad05b2391..00000000000
--- a/bsp/stm32/stm32l496-st-nucleo/.ci/attachconfig/nano.attach
+++ /dev/null
@@ -1,2 +0,0 @@
-# scons: --strict
-CONFIG_RT_USING_NANO=y