sparkfun / Arduino_Apollo3

Arduino core to support the Apollo3 microcontroller from Ambiq Micro
83 stars 37 forks source link

Setup development environment in VSCode for Ambiq microcontroller #481

Closed RuXBee closed 1 year ago

RuXBee commented 1 year ago

Subject of the issue

@justiceamoh I am wondering to know how you setup a development environment in order to flash and debug program on Ambiq microcontroller in VSCode. Coudl you share with me the .vscode folder? I have read your issue #83 but I didn't find this files.

I would like to develop bare-metal firmware with the Ambiq SDK (HAL libraries), but inside the VSCode. Indeed, did you find the SVD files in order to see the peripherals register?

Thanks in advance for any idea that you bring to me 😃

justiceamoh commented 1 year ago

Hi @RuXBee,

Yes, I did my firmware dev in VScode for the Artemis board. Find attached a project template, including the .vscode folder.

The SVD file is provided in the SDK: AmbiqSDK/pack/SVD/apollo3.svd

artemis_cpptemplate.zip

RuXBee commented 1 year ago

Great, I got it. Thanks very much!