You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am specifically porting the alternative firmware Hemisphere.
I'm on OS X 10.13.2, running PlatformIO IDE (with PlatformIO Core, version 5.0.4).
I tried the suggestions found at platformio/platformio-core#566, without success. I tried prepending As & Zs to the main file without luck.
I cannot tell if the issue lies within PlatformIO, this platform or elsewhere. All I know is https://github.com/Chysn/O_C-HemisphereSuite builds, uploads and runs fine with the Arduino IDE and that I've made as little changes as possible to that code.
The issue
The project is in a state where everything builds just fine (apart from some warnings).
Uploading/programming (with both teensy-cli and teensy-gui) seems to work just fine.
But beyond that point, there is no indication of the firmware running.
As in:
no serial output.
Nothing showing on the screen.
the case of borrowing the "main/loop" file from the led blink example, the LED is not blinking.
Hi @chlirre ! There might be plenty of reasons. First, you need to make sure that the package versions are identical (toolchain, framework, libs, etc). I also noticed you use -O2 optimization. Have you tried other levels?
BTW, this line [email protected] seems invalid to me, probably should be something like toolchain-gccarmnoneeabi@~1.40804.0
@valeros I tried a few different optimizations, but the instructions for compiling the original project explicitly state 4) select Faster (= o2) in Tools > Optimize (teensyduino 1.34 and 1.35) (https://ornament-and-cri.me/firmware/) so I stuck with that.
Background
I am currently attempting to port the firmware for synth module Ornament & Crime to PlatformIO to be able to develop under later OS X versions.
In addition to being written for Teensy 3.1, the O & C project has some restrictions in terms of compiler.
Which is enforced by stating the toolchain-gccarmnoneeabi version.
I am specifically porting the alternative firmware Hemisphere.
I'm on OS X 10.13.2, running PlatformIO IDE (with PlatformIO Core, version 5.0.4).
I tried the suggestions found at platformio/platformio-core#566, without success. I tried prepending As & Zs to the main file without luck.
I cannot tell if the issue lies within PlatformIO, this platform or elsewhere. All I know is https://github.com/Chysn/O_C-HemisphereSuite builds, uploads and runs fine with the Arduino IDE and that I've made as little changes as possible to that code.
The issue
The project is in a state where everything builds just fine (apart from some warnings).
Uploading/programming (with both teensy-cli and teensy-gui) seems to work just fine.
But beyond that point, there is no indication of the firmware running.
As in:
Not working (not blinking)
Loop/setup
https://github.com/chlirre/O_C-HemisphereSuite/blob/blink-loop/software/src/Main.cpp
Note that the the only difference is the
OC::CORE::ticks
initialization which I had to leave in there to avoid linker errors.Env/platform
https://github.com/chlirre/O_C-HemisphereSuite/blob/blink-loop/software/platformio.ini
Working (blinking)
Loop/setup
https://github.com/chlirre/platform-teensy/blob/o_c-platform/examples/arduino-blink/src/Blink.cpp
Env/platform
https://github.com/chlirre/platform-teensy/blob/o_c-platform/examples/arduino-blink/platformio.ini
The text was updated successfully, but these errors were encountered: