ความต้องการ ไม่สิ้นสุดจริงๆ ;D
ใช้ Keil ตัว Eva อยู่ครับ ฟรี 32kB
คือ มันก็พออยู่นะ
เพราะ โค้ดผม ไม่ใหญ่โตอะไร
แต่ ลอง โหลด GNU Tool Chain มาเพื่อ Comply
เพราะเห็นว่า ไม่มี Limit Code Size
โค้ด 3 บรรทัด Error 350 แห่ง :-[
บางเว็บ บอกมาว่า
ตอนเลือกที่ Cube MX เลือกที่
TrueStudio แต่ก็ยัง Comply ไม่ผ่านครับ
ผมลองทำตาม ที่นี่ครับ :
http://wunderkis.de/stm32cube/index.html
ติด 2 บรรทัดสุดท้าย งง @_@!
ภาษาปะกิต ไม่แข็งแรง
//--------------------------------------------------------------
Create your project using the STM32CubeMX software
Choose "TrueSTUDIO" as Toolchain
Set "Copy only the necessary library files" option
Generate the Code
Copy the Makefiles from the template over the created directory structure
type "Make" at the top level directory of the project
//--------------------------------------------------------------
ใครทำผ่านบ้างแล้วอ่ะครับ
:-[
ถ้าอยากใช้ GNU Tool Chain แต่ยังเขียน Makefile ไม่เป็น ลองใช้ IDE System Workbench for STM32 ที่ ST สนับสนุนอยู่ดูครับ เป็น Eclipse ที่ติดตั้ง Plugin สำหรับใช้งาน STM32 ไว้เรียบร้อยแล้ว คล้ายๆ กับ GNU ARM Eclipse แต่ GNU ARM Eclipse ต้องติดตั้งเองทีละอย่าง (ลง Eclipse ลง GNU C for ARM ลง Plugin ลง OpenOCD)
System Workbench for STM32 สมัครสมาชิกก่อนถึงจะโหลดได้ครับ
http://www.openstm32.org/System+Workbench+for+STM32
หรือ GNU ARM Eclipse ก็เว็บนี้
http://gnuarmeclipse.github.io/
ลืมบอกไปอย่างนึงครับ ใช้ Open source พวกนี้ การ Debug จะสู้พวก IDE Keil หรือ IAR ไม่ได้นะครับ
ใช้ SW4STM32 ผมว่าสะดวกดีครับ https://www.micro.in.th/%E0%B8%81%E0%B8%B2%E0%B8%A3%E0%B9%83%E0%B8%8A%E0%B9%89%E0%B8%87%E0%B8%B2%E0%B8%99-stm32cubemx-stm32cubef4-%E0%B8%A3%E0%B9%88%E0%B8%A7%E0%B8%A1%E0%B8%81%E0%B8%B1%E0%B8%9A-sw4stm32
https://www.youtube.com/watch?v=aOjLb3T_wAg
ลองดูอันนี้ครับทำ LED Blink ผมก็เพิ่งเริ่มศึกษาการเขียน STM32 ใน Keil ครับ