PIC32 on Mac OS X 10.6


#1

I use platformio on Mac OS X 10.6. I can’t use PIC32 platform. Error is this.

PackageManager: Installing toolchain-microchippic32 @ ~1.40803.0
Error: Could not find a version that satisfies the requirement ‘~1.40803.0’ for
your system ‘darwin_i386’

I think package list is this.

http://dl.platformio.org/packages/manifest.json

I seem no darwin_i386 at toolchain-microchippic32-darwin_x86_64-1.40803.142.tar.gz entory.

I download this file and check pic32-gcc. It’s work. I want add darwin_i386 to toolchain-microchippic32-darwin_x86_64-1.40803.142.tar.gz system entory.

Thanks

Hiroki Mori


#2

I do copy package to .platformio/packages/ by hand. Work fine.

bash-3.2$ platformio run --target upload
[Fri Mar 9 14:14:56 2018] Processing chipkit_dp32 (platform: microchippic32, bo
ard: chipkit_dp32, framework: arduino)

Verbose mode can be enabled via -v, --verbose option
Converting main.ino
Collected 28 compatible libraries
Looking for dependencies…
Project does not have dependencies
Compiling .pioenvs/chipkit_dp32/src/main.ino.o
Linking .pioenvs/chipkit_dp32/firmware.elf
Checking program size
text rodata data bss dec hex filename
6152 164 216 776 7308 1c8c .pioenvs/chipkit_dp32/firmware.e
lf
Building .pioenvs/chipkit_dp32/firmware.hex
Looking for upload port…
Auto-detected: /dev/cu.usbmodemfd111
Uploading .pioenvs/chipkit_dp32/firmware.hex
Programmer for Microchip PIC32 microcontrollers, Version 2.1.24
Copyright: © 2011-2015 Serge Vakulenko
Adapter: STK500v2 Bootloader
Program area: 1d000000-1d1fffff
Processor: Bootloader
Flash memory: 2048 kbytes
Boot memory: 80 kbytes
Data: 6316 bytes
Erase: done
Program flash: ######### done
Verify flash: ######## done
Program rate: 33242 bytes per second
========================= [SUCCESS] Took 4.08 seconds =========================


#3

What is your Mac CPU?


#4

My Mac is this.

MacBook Air Original
1.6 GHz Intel Core 2 Duo


#5

Fixed, could you try again?