On Thu, Aug 22, 2024 at 04:23:23PM +0800, Sadeep Madurange wrote:
> Hello,
> 
> Has anyone programmed Arduino Due (ARM Cortex M3 processor) on OpenBSD?
> I compiled the program using the following commands. I'm wondering how
> to get the program onto the board now...
> 
> $ arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -o a.elf main.c
> $ arm-none-eabi-objcopy -O ihex -j .text -j .data a.elf a.hex
> 
> -- 
> Sadeep Madurange
> PGP: 103BF9E3E750BF7E

I have not programmed Arduino on OpenBSD. But, I've experimented with on
FreeBSD. I believe avrdude, which is available, as a compiled package,
on OpenBSD might help. See:

  $ pkg_info -d avrdude
  Information for
  https://cdn.openbsd.org/pub/OpenBSD//7.5/packages/amd64/avrdude-6.3.tgz
  
  Description:
  AVRDUDE is a full featured BSD Unix program for programming Atmel's AVR
  CPU's. It can program the Flash and EEPROM, and where supported by the
  serial programming protocol, it can program fuse and lock bits. AVRDUDE
  also supplies a direct instruction mode allowing one to issue any
  programming instruction to the AVR chip regardless of whether AVRDUDE
  implements that specific feature of a particular chip.
  
  Maintainer: The OpenBSD ports mailing-list <po...@openbsd.org>
  
  WWW: https://www.nongnu.org/avrdude/

Hope it helps.

joseph

Reply via email to