@arm-cortex-expert
Build ARM Cortex-M Firmware
ARM Cortex-M developers need expert guidance on embedded programming patterns, peripheral configuration, and RTOS implementation. This skill provides detailed assistance for bare-metal and RTOS-based firmware development.
スキルZIPをダウンロード
Claudeでアップロード
設定 → 機能 → スキル → スキルをアップロードへ移動
オンにして利用開始
テストする
「@arm-cortex-expert」を使用しています。 Explain the difference between Cortex-M0, M3, and M4 processors
期待される結果:
The Cortex-M0 is the simplest core, ideal for ultra-low-power applications with minimal computational needs. The M3 adds hardware division and faster multiplication. The M4 adds DSP instructions and optional floating-point unit (FPU) for signal processing tasks. All share the Thumb-2 instruction set for code efficiency.
「@arm-cortex-expert」を使用しています。 How do I set up a timer interrupt on STM32?
期待される結果:
Enable the timer clock in RCC, configure the prescaler and auto-reload register for your desired interval, set the interrupt enable bit in DIER, enable the counter, and implement the ISR in your vector table. The timer clock depends on your system clock divided by the prescaler value.
セキュリティ監査
安全This is a prompt-only skill providing ARM Cortex-M development assistance. Static analysis scanned 0 files with 0 issues detected. No executable code, no network access, no filesystem operations. The skill only generates text responses about embedded development topics. Risk score: 0/100.
品質スコア
作れるもの
Learn ARM Cortex-M Fundamentals
New embedded developers can ask questions about Cortex-M architecture, register layouts, and programming concepts to build foundational knowledge.
Debug Firmware Issues
Developers stuck on hardware or software bugs can get expert guidance on debugging strategies, common pitfalls, and diagnostic techniques.
Design RTOS-Based Systems
Engineers implementing FreeRTOS or other RTOS can get help with task design, synchronization primitives, and memory management.
これらのプロンプトを試す
Explain how [specific Cortex-M feature, e.g., NVIC interrupt prioritization] works in ARM Cortex-M microcontrollers.
How do I configure [peripheral name, e.g., UART] for [baud rate, e.g., 115200] communication on [MCU name, e.g., STM32F4]?
Write example code for handling [interrupt type] interrupts on ARM Cortex-M, including vector table configuration.
Design an RTOS task structure for [application, e.g., data acquisition] including task priorities, stack sizing, and inter-task communication.
ベストプラクティス
- Start with the reference manual and errata sheet for your specific MCU before writing code
- Use CMSIS-compliant device headers for portable, maintainable code
- Initialize system clocks before configuring peripherals to avoid unexpected behavior
回避
- Do not access registers without checking the clock is enabled first
- Avoid busy-wait loops for timing in production code
- Do not disable interrupts for extended periods - use critical sections wisely