Re: Build Nuttx on MAC / ARM64 Ubuntu

2022-02-02 Thread Peter Kalbus
Hi, please check https://github.com/apache/incubator-nuttx/pull/5401 <https://github.com/apache/incubator-nuttx/pull/5401> with initial support. Feedback is highly appreciated. /Piet > Am 02.02.2022 um 08:57 schrieb Peter Kalbus : > > Hi Flavio, > > let me sha

Re: Build Nuttx on MAC / ARM64 Ubuntu

2022-02-01 Thread Peter Kalbus
g my M1 based host >> system. >> >> /Piet >> >> >>> Am 30.01.2022 um 13:22 schrieb Flavio de Castro Alves Filho < >> flavio.al...@gmail.com>: >>> >>> That’s what I did. >>> >>> So it is not the problem. >

Re: Build Nuttx on MAC / ARM64 Ubuntu

2022-01-29 Thread Peter Kalbus
ig:1179: unexpected end statement >>> arch/arm/Kconfig:1199: unexpected end statement >>> Kconfig:1959: unexpected end statement >>> boards/sim/sim/sim/Kconfig:58: syntax error >>> boards/sim/sim/sim/Kconfig:57: invalid option >>> drivers/note/Kconfig:80: s

Re: Build Nuttx on MAC / ARM64 Ubuntu

2022-01-29 Thread Peter Kalbus
Created PR to detect host CPU type: https://github.com/apache/incubator-nuttx/pull/5374 <https://github.com/apache/incubator-nuttx/pull/5374> /Piet > Am 29.01.2022 um 19:12 schrieb Peter Kalbus : > > Hi again, > > just as an extension. On the same M1, I’ve Ubunt

Re: Build Nuttx on MAC / ARM64 Ubuntu

2022-01-29 Thread Peter Kalbus
unknown mnemonic `bx' -- `bx lr' machine/sim/arch_setjmp_arm.S:86: Error: undefined symbol r2 used as an immediate value make[1]: *** [Makefile:130: bin/arch_setjmp_arm.o] Error 1 make[1]: Leaving directory '/home/piet/Projects/NuttX/ptka/nuttx/libs/libc' make: *** [tools/LibT

Re: Build Nuttx on MAC

2022-01-29 Thread Peter Kalbus
S:58:14: error: vector register expected ldmia ip!, {r2,lr} ^ machine/sim/arch_setjmp_arm.S:59:9: error: expected compatible register or logical immediate mov sp,r2 ^ machine/sim/arch_setjmp_arm.S:61:4: error: unrecognized instruction mnemonic, did you mean: b, bcax, bl, br, sb,

Re: Build Nuttx on MAC

2022-01-29 Thread Peter Kalbus
Hi, I’m using NuttX on a M1 MacBook Air since a couple of months. I’ve no issues to get NuttX compiled for my RP2040 based targets. But I can confirm, that the Sim configuration sim:nsh not working. Currently, I see there are two issues: /1/ M1 „Host CPU Type“ is detected as x86_64, bu

Re: SD Card in Simulation

2022-01-24 Thread Peter Kalbus
Hi Fotis, you use the ROMFS feature to include files directly on the image … it depends on some external tool called ‚genromfs‘ You may check for ROMFS and ROMFSETC in the configuration and documentation. /Piet > Am 24.01.2022 um 12:07 schrieb Fotis Panagiotopoulos : > > Hello, > > I am wo

Re: rp2040: composite-cdcecm: hardfault due to alignment issue in driver/usbdev/usbdev.c

2022-01-17 Thread Peter Kalbus
b Alan Carvalho de Assis : > > Hi Peter, > > Could you please send a Pull Request to mainline? Click on Pull > Request tab and New Pull Request. > > BR, > > Alan > > On 1/17/22, Peter Kalbus wrote: >> Hi Michael, >> >> understood … I changed t

Re: rp2040: composite-cdcecm: hardfault due to alignment issue in driver/usbdev/usbdev.c

2022-01-17 Thread Peter Kalbus
alignment issue > > /Piet > > >> Am 17.01.2022 um 13:08 schrieb Alan Carvalho de Assis : >> >> Hi Peter, >> >> Could you please send a Pull Request to mainline? Click on Pull >> Request tab and New Pull Request. >> >> BR, >>

Re: rp2040: composite-cdcecm: hardfault due to alignment issue in driver/usbdev/usbdev.c

2022-01-17 Thread Peter Kalbus
the 'aligned_data' macro from > include/nuttx/compiler.h. > > Thanks! > Michael > > Am Mo., 17. Jan. 2022 um 09:01 Uhr schrieb Peter Kalbus > mailto:p...@mailbox.org.invalid>>: > >> Hi all, >> >> during the bring-up of the composite-cdce

rp2040: composite-cdcecm: hardfault due to alignment issue in driver/usbdev/usbdev.c

2022-01-17 Thread Peter Kalbus
Hi all, during the bring-up of the composite-cdcecm a alignment issue result in hard faults (always on the used rp2040 based device). ANALYSIS: The root cause seems to be the way the pktbuf is defined in cdcecm_driver_s (driver/usbdev/cdcecm.c): struct cdcecm_driver_s { /* USB CDC-ECM devic

Re: Support for Pimonori Tiny2040

2022-01-11 Thread Peter Kalbus
cfdce04bad65 > > Great work! Kudos!!! > > Now you can start to play with it adding sensors, creating new board > profiles to test other NuttX features, etc. > > BR, > > Alan > > On 1/7/22, Peter Kalbus wrote: >> Hi, >> >> I owned a Pimoroni Tiny2040

Support for Pimonori Tiny2040

2022-01-10 Thread Peter Kalbus
Hi, I owned a Pimoroni Tiny2040 device. It’s an RP2040 based device with some interesting features: + small form factor (18x21.3mm) + 8 MByte Flash + RGB LED + Reset Button + USB-C - reduced pin-header I’d like to add the device based on the available RP2040 support. It’s basically w

Re: Support for Pimoroni Tiny2040

2022-01-07 Thread Peter Kalbus
Hi Alan, thanks for feedback. Support will go into 'boards/arm/rp2040/pimoroni-tiny2040‘. I’ll create PR once it’s done. /Piet > Am 07.01.2022 um 15:50 schrieb Alan Carvalho de Assis : > > Hi Peter, > > You can use RaspberryPico board, but I think it is a good idea to > create a new directo