cpp cxx help - No thread API

2020-08-11 Thread Matt DeWall
Hi devs! I'm getting started on NuttX and love the project. Looking to port my cpp project to NuttX. I'm having trouble compiling the CPP version of the hello world using the existing documentation. I'm able to build nuttx just fine and flash my device using the C version of Hello World. The e

Re: cpp cxx help - No thread API

2020-08-12 Thread Matt DeWall
tcontrol.de > > > > > > Am 12.08.2020 um 08:07 schrieb Xiang Xiao: > > >> Do you have this in your boards/Make.defs: > > >> ARCHCXXFLAGS += -D__NuttX__ -nostdinc++ Since there are many complex > > >> setting to make C++ library work on NuttX,

Re: cpp cxx help - No thread API

2020-08-12 Thread Matt DeWall
I should add that I also tried Marc's original answer (multiple lines to Make.defs) with the same result. On Wed, Aug 12, 2020 at 6:38 PM Matt DeWall wrote: > Xiang and Marc, thank you very much for your quick responses. > > That did get me further, I'm getting an error ar

Re: cpp cxx help - No thread API

2020-08-13 Thread Matt DeWall
e[1]: *** [Makefile:80: algorithm.o] Error 1 make[1]: Leaving directory '/nuttx/nuttx/libs/libxx' make: *** [tools/LibTargets.mk:203: libs/libxx/libxx.a] Error 2 On Wed, Aug 12, 2020 at 8:55 PM Xiang Xiao wrote: > Matt, please try the attached workaround. I will provide the real &g

Re: cpp cxx help - No thread API

2020-08-15 Thread Matt DeWall
Thanks Xiang - that got me to the linking step! I'm getting this error: make[2]: Leaving directory '/nuttx/nuttx_patch/nuttx/boards/arm/stm32/common' LD: nuttx arm-none-eabi-ld: /tools/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp//libsupc++.a

Re: cpp cxx help - No thread API

2020-08-16 Thread Matt DeWall
ase try it: > > https://github.com/apache/incubator-nuttx/pull/1592/commits/79afeea64be227e218176805970cca1b2287ba29 > > > > -Original Message- > > From: Matt DeWall > > Sent: Sunday, August 16, 2020 2:28 AM > > To: dev@nuttx.apache.org > &

ssd1306 oled help

2020-12-04 Thread Matt DeWall
Hello NuttX devs! I've followed Alan's great tutorial on setting up an OLED on the Blue Pill stm32f103-minimum board but running into trouble. Video: https://www.youtube.com/watch?v=TZ4i71ArtRo&t=245s * I've compiled, flashed, and able to get into nsh * The fb driver is listed as /dev/fb0 and th

Re: ssd1306 oled help

2020-12-04 Thread Matt DeWall
mp; I2C_SR1_AF) > > { > > /* Acknowledge Failure */ > > > > ret = -ENXIO; > > } > > > > So my best guess is that there is some issue with your I2C interface. > > It might be failing to acknowledge. > >

Re: ssd1306 oled help

2020-12-04 Thread Matt DeWall
Didn't know about that one, thanks! Found one of Alan's articles for that and gonna give that a shot. Matt On Fri, Dec 4, 2020 at 5:01 PM Disruptive Solutions < disruptivesolution...@gmail.com> wrote: > Did you try the i2c tool? > > Op za 5 dec. 2020 1:58 a.m. schree

Re: ssd1306 oled help

2020-12-08 Thread Matt DeWall
7A. > > You need to setup the CONFIG_SSD1306_I2CADDR with the right address. > > Also as Mr. Ben suggested, using the i2ctool you can scan your I2C bus > and find the I2C address that your display is using. > > Any issue, please let us to know. > > BR, > > Alan

Re: ssd1306 oled help

2020-12-08 Thread Matt DeWall
; Ben > nuttx.nl > > > -Oorspronkelijk bericht- > Van: Matt DeWall > Verzonden: dinsdag 8 december 2020 21:17 > Aan: dev@nuttx.apache.org > Onderwerp: Re: ssd1306 oled help > > Thanks everyone - apologies for the delay, some other priorities blocked > me. > >

Re: Build environment using cmake, c++ and NuttX as a library

2020-12-12 Thread Matt DeWall
Hi Flavio, I'm looking to do something similar and have been putting the cmake stuff on the back-burner. Is your cmake config something you'd be willing to share? No problem if not, just looking to save some headaches on my end. Thanks! Matt On Fri, Dec 11, 2020 at 10:07 AM Flavio Castro Alve