MobileWill Posted February 21, 2016 Report Share Posted February 21, 2016 (edited) Just wanted to mention that now that Eclipse is working. uGfx is way faster and the code size is smaller. Because of the nature of my project I can see that it is also using way less power, 30mA less. So strange I would of never excepted that. I guess the speed is why power usage is less. Completing threads faster so more idle time. I don't know if it was because I used Eclipse or just the Makefile vs Singlefile inclusion with Embitz. Once I get Embitz working with the Makefile I will have to compare. So glad I spent the extra time to get the Makefile working. Edited February 21, 2016 by MobileWill Link to comment Share on other sites More sharing options...
MobileWill Posted February 21, 2016 Author Report Share Posted February 21, 2016 Looks like you server is missing the Emoji images. The image links to wink.png. Just FYI. Link to comment Share on other sites More sharing options...
MobileWill Posted February 22, 2016 Author Report Share Posted February 22, 2016 I guess it had to do with optimizations. I got it to match but the weird thing is event though the file size is the same the display looks like every other pixel is missing. Same makefile but one compiled with Eclipse and the other Embitz. Oddest thing. Link to comment Share on other sites More sharing options...
Joel Bodenmann Posted February 22, 2016 Report Share Posted February 22, 2016 There should be no difference between using EmBitz or Eclipse if both use Makefile and the same compiler. These IDEs are just glorified text-editors, really. It's difficult to track that issue down. Can you post a picture of the display as well as the information about the compiler that you use for each IDE? You get that by executing this: arm-none-eabi-gcc --version Link to comment Share on other sites More sharing options...
MobileWill Posted February 22, 2016 Author Report Share Posted February 22, 2016 the compiler must be the the differenace. Eclipses comes with 4.9.3 and Embitz comes with 4.8.4. I will have to test that tonight. I can PM you a picture later today. Link to comment Share on other sites More sharing options...
MobileWill Posted February 23, 2016 Author Report Share Posted February 23, 2016 So strange. I copied the toolchain from Eclipse to Embitz and then had to tweak some compiler and assembler options for it to even compile. I added -mthumb and -Dthumb. Seems to work fine now, no display issues. This only happened with -O2 in case someone else runs across this. I hope Embitz gets another update soon. Link to comment Share on other sites More sharing options...
inmarket Posted February 27, 2016 Report Share Posted February 27, 2016 -O2 on GCC often produces bad code due to bugs in the optimiser. As the compiler versions go up hopefully it is getting better. Generally when compiling we only use -O1 Link to comment Share on other sites More sharing options...
juppeck Posted May 16, 2016 Report Share Posted May 16, 2016 On 2/21/2016 at 16:25, MobileWill said: the compiler must be the the differenace. Eclipses comes with 4.9.3 and Embitz comes with 4.8.4. In emBitz you can point to an discret installed arm-toolchain. You are not limited to the included arm toolchain. It's very easy to switch between them. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now