diff --git a/.platformio/platforms/at32/boards/generic_f403a.json b/.platformio/platforms/at32/boards/generic_f403a.json index 818d2f5..9da6cdb 100644 --- a/.platformio/platforms/at32/boards/generic_f403a.json +++ b/.platformio/platforms/at32/boards/generic_f403a.json @@ -6,8 +6,8 @@ "f_cpu": "240000000L", "hwids": [ [ - "0x1EAF", - "0x0003" + "0x2E3C", + "0xDF11" ], [ "0x1EAF", diff --git a/README.md b/README.md index 77c7a6f..324fda1 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,24 @@ # Artery-AT32-PlatformIO PlatformIO platform and framework for Artery AT32 MCU -Released specifically for latest MCU AT32F403A with Visual Studio Code & PlatformIO. +Released specifically for latest AT32F403A MCU with Visual Studio Code & PlatformIO. ## Instructions -1) Copy the folders under .platformio in your .platformio folder (ie: C:\Users\(username)\.platformio) +1) Copy the folders under .platformio into your .platformio folder (ie: C:\Users\(username)\.platformio) 2) Open Visual Studio Code, you should see AT32 Platform among the available platforms 3) Open one of the example folder and try to compile / upload # Upload on MCU -1) For now it is implemented a custom bootloader based on serial bootloader -2) Set the serial port in the file platformio.ini in the project folder -3) Run the Upload +Available upload methods: serial bootloader, dfu +1) Set it in the file platformio.ini in the project folder, complete configuration options in Example project cmsis-blink +2) Run the Upload +Notes: serial bootloader speed seems to work up to 115200 (at higher speed often it doesn't work) + +# Supported +- Hardware Floating point unit (FPU) + +# TO-DO List # AT32F403A on Bluepill PCB You can replace the MCU on the Bluepilll board with the AT32F403A. It is pin fully compatible.