Re: gcc-arm-none-eabi on M1 MacOs

2023-10-18 Thread Mark Stevens
I have recently setup a Mac M1 for STM32 development and I installed the arm-gcc-bin@10 package using brew. The only thing I have found does not work is arm-none-eabi-gdb-py as it is looking for Python 2.7 with a fixed path and it does not exist on the system. I have tried peen but this offers

Re: gcc-arm-none-eabi on M1 MacOs

2023-10-18 Thread Petro Karashchenko
Yeah, as far as I know python2/pip are deprecated and python3/pip3 should be used. I think there is a package "python-is-python3" that can be used to get python2/pip compatibility, but not sure how that is supported by OSX. ср, 18 жовт. 2023 р. о 11:23 Christian Catchpole пише: > Thanks Petro! >

Re: gcc-arm-none-eabi on M1 MacOs

2023-10-18 Thread Christian Catchpole
Thanks Petro! I took this as an opportunity to set up NuttX on my Air which doesn't have anything NuttX related on it, I was able to get it working with *pip3*. Im not sure if "*ensurepip*" was required, I tried that when regular *pip* failed, then I realised it was going to be *pip3* I used:

Re: gcc-arm-none-eabi on M1 MacOs

2023-10-17 Thread Petro Karashchenko
I think the latest code rely on kconfiglib, so theoretically things should work without kconfig-frontends. But I haven't tested case when kconfig-frontends is not installed (current I have installed both). Best regards, Petro On Wed, Oct 18, 2023, 1:35 AM Christian Catchpole wrote: > Thanks I'l

Re: gcc-arm-none-eabi on M1 MacOs

2023-10-17 Thread Christian Catchpole
Thanks I'll try *--install-prefix* when setting up my Air and probably raise a PR for that. I'll also look into better options for *kconfig-frontends*. As for Blender, I had been using Autodesk for modeling / 3D printing and then for some reason, I can't even recall, I downloaded Blender, and the

Re: gcc-arm-none-eabi on M1 MacOs

2023-10-17 Thread Tomek CEDRO
On Tue, Oct 17, 2023 at 1:18 AM Christian Catchpole wrote: > Nice, I went the full Studio Ultra, mainly because Im doing a lot of stuff > in Blender at the moment. I loved Blender until they removed BGE (Blender Game Engine) and changed that program into kind of 3D Photoshop. But I still use it so

Re: gcc-arm-none-eabi on M1 MacOs

2023-10-17 Thread Christian Catchpole
I raised a PR and it's been merged (but not published). I also gave the option for aarch64 and tested by building a pinephone app. If there are any concerns I can just raise another PR. https://github.com/apache/nuttx/pull/10933 On Tue, 17 Oct 2023 at 09:17, Christian Catchpole wrote: > > Nice,

Re: gcc-arm-none-eabi on M1 MacOs

2023-10-16 Thread Christian Catchpole
Nice, I went the full Studio Ultra, mainly because Im doing a lot of stuff in Blender at the moment. Normally I wouldn't need a machine so powerful. And an M2 Air. I havn't installed NuttX on it yet, so I'll have a fresh machine to re-run the install on. I also noticed that the KConfig build requi

Re: gcc-arm-none-eabi on M1 MacOs

2023-10-16 Thread Tomek CEDRO
Congratulations :-) I sit at MacStudio 2023 (macOS 14.0) machine right now (tiny but powerful box with 12xM2Max ARM64 CPU + 32GB RAM) for some specific tasks so I can beta test Your instructions :-) By default I use FreeBSD (BSD Unix family)... and macOS is also kind of BSD (+MACH).. so here you

Re: gcc-arm-none-eabi on M1 MacOs

2023-10-16 Thread Christian Catchpole
I installed *arm-none-eabi-gcc *which I think added *arm-none-eabi-binutils* with it, but it didn't seem to have any standard *includes*. I installed the whole *gcc-arm-embedded* cask and it seems fine now. *brew install --cask gcc-arm-embedded* I'll keep playing with that and then raise a PR to

Re: gcc-arm-none-eabi on M1 MacOs

2023-10-16 Thread Tomek CEDRO
sure thing please play with them and update the doc if all turns out ok :-) -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info

Re: gcc-arm-none-eabi on M1 MacOs

2023-10-15 Thread Christian Catchpole
None I guess. I didn't know they existed :) Perhaps we should update the documentation for those instead. On Mon, 16 Oct 2023 at 11:17, Tomek CEDRO wrote: > On Mon, Oct 16, 2023 at 1:35 AM Christian Catchpole wrote: > > So, I'v just set up NuttX to build on MacOS with Apple Silicon > > (M1/Mx/AR

Re: gcc-arm-none-eabi on M1 MacOs

2023-10-15 Thread Tomek CEDRO
On Mon, Oct 16, 2023 at 1:35 AM Christian Catchpole wrote: > So, I'v just set up NuttX to build on MacOS with Apple Silicon > (M1/Mx/ARM64) and noticed the instructions for non-linux point to the > archives on arm.com - the linked file for mac seems to be the x86-64 > version from 2019. Although it

gcc-arm-none-eabi on M1 MacOs

2023-10-15 Thread Christian Catchpole
Hello everyone, It's been a while since I've been doing anything NuttX for various reasons. But I'm back :) So, I'v just set up NuttX to build on MacOS with Apple Silicon (M1/Mx/ARM64) and noticed the instructions for non-linux point to the archives on arm.com - the linked file for mac seems to b