VS Arduino
Visual Micro >> Microchip Studio (Atmel Studio 7) >> 'generic' 328PB as target
https://www.visualmicro.com/forums/YaBB.pl?num=1611876461

Message started by TTSS on Jan 28th, 2021 at 11:27pm

Title: 'generic' 328PB as target
Post by TTSS on Jan 28th, 2021 at 11:27pm
Hello All,
Is it possible to compile and upload to a 'generic' 328PB board through Visual Micro?   This 'generic' board is just a ATMega328PB, a crystal, and an ISP port.  Well, and a few bypass caps and a pull-up on reset.    I'm using an AVR-ICE as the programmer.   

The 'issue' seems to me that VisualMicro gets it's list of targets from the loaded boards in the Arduino IDE, not from the target one selects in AS7. 

Thoughts?   Thank You. 
-Jaco    

Title: Re: 'generic' 328PB as target
Post by Simon@Visual Micro on Jan 29th, 2021 at 4:41pm
To use the Arduino cores and libraries, the Arduino board selections (and underlying configuration) has to be used.

There appears to be a board package available for Arduino, for the 328PB chip, which may allow this to work using the Arduino Framework:
https://github.com/watterott/ATmega328PB-Testing

Title: Re: 'generic' 328PB as target
Post by TTSS on Jan 29th, 2021 at 6:54pm
Thank You Simon.  The Wattuino Pro Mini PB is functionally identical to what I'm doing.....a 'generic, bare bones' 328PB.   They add a board selection for the  Atmel atmega 328PB Xplained mini development board.    So this is a step closer.

Title: Re: 'generic' 328PB as target
Post by doc arduino on Jul 5th, 2021 at 1:03pm
Hi,

Hello,

maybe still helpful. You can go to Micro Explorer -> Manage Libraries > under additional boards
add the following line
[code]https://mcudude.github.io/MiniCore/package_MCUdude_MiniCore_index.json[/code]

Read here  https://github.com/MCUdude/MiniCore

save it, wait a while and restart AS/VS if necessary.

VS Arduino » Powered by YaBB 2.6.12!
YaBB Forum Software © 2000-2024. All Rights Reserved.