#Devices using Nano
1 messages · Page 1 of 1 (latest)
I guess the two M5 are supported by nano
I just get an ESP32_S3_GEEK from waveshare and it's not supported out of the box like the M5Stick but it works
Yep. Agree.
Is there a list of devices?
Does a device can support, in futur, nano fw ?
There's a recommendation device list
https://docs.nanoframework.net/content/getting-started-guides/where-to-buy-devices.html
To make it simple: almost any M5 is supported whenever they are using a supported ESP32.
Then, we do provide nice board package that already setup the device, uses the proper screen, have the right pins, the right sensors, etc.
This second part is a bit more limited. If you get a device and want to submit a PR to ad more of those board packages, we will be very happy to review the PR!
For M5Stack, check our M5Stack repo on github
Hm.. M5StickPlus is compatible. I went to the repo, clone it, open it but... VS doesn't see a device.
I would ❤️ to send a PR! I need more knowledge for sure.. But C# 9.0 is a bit old... Idk
Don't let the version prevent you from doing it.
- There is nothing on C# > v9 that you need to make it work
- That's a default/safe version. Most of the new features are supported, except fancy ones and those that require generics. 😉
How to make a device compatible with Nano Framework?
That's funny, I was on it after my question xD
But... I tried with a compatible device, I didn't succeed.
what have you been trying to do? 🙂 A bit more details will definitely help to understand!
Clone the repo and try to launch in debug on VS2022 but it does nothing for my esp32 device. Cannot deploy
@young anvil , and do it form those devices
which device? Have you flashed it before with nanoff?
Well, array init, namespace, global usings, and many many more aren't available
Nanoff? What is it? I feel that will be able to dev on it with ur knowledge 😁😁😁
C# 9.0 Ok 👌 but will be on a upgrade version? Can I help?
Did you flash the M5 with nF firmware?
Follow the steps to flash your device: https://docs.nanoframework.net/content/getting-started-guides/getting-started-managed.html and see the correct firmware to use here: https://github.com/nanoframework/nanoFramework.M5Stack?tab=readme-ov-file#usage. Be careful, the firmware AND the nugets are different depending on the device.
THEN and only then, you can change, in your own project, to CSharp 10 or even latest version.
Not yet
Without the nF firmware nothing on VS is going to work.
Understand!
Lovely! So helpful 😁😁😁❤️
Bricked 😢
it's never bricked 🙂 What's happeening?
Seems to work again and flashing back to marauder
Nano framwork firmware just gave my a green light, discovered by Device Explorer but never could launch an app
you have to run the app in Visual Studio. Follow the getting started I shared, it just works fine! And add the elements from the second link to be able to run your device. So add the proper nuget
NF isn't compatible with M5StickPlus 2.
I followed what you sent me 🙂
Clone the repo, add an NF project, got a reference, and here we go. Or not lol
with what have you been flashing it?
nanoff --target M5StickCPlus --update --serialport COM3
that should be ok regarding the hardware differences
but definitely, NOT the board package
you should just be able to use it like this
I run that cmd, and it say ok in the log
then Visual Studio will see it
After that, just a green light on the device and able to see in Device Explorer
you may have to switch it off and restart because of the power management
so then, just use the basic hello world example and you're good to go
screen wise, it's going to be another story!
Okay
Mauroder powered by NanoFW works ?
what is Mauroder ?
After a quick look, Marouder looks like a framework on it's own.
You can't have it running on nanoFramework which is C#.
You'll be able to integrate it with a nanoFramework build firmware but requires changes in the build system to add their source.
Yes ! A big project to do the same as Marauder on Nano !
That should be doable yes.
Like I've said: it will require bringing in the source files to the build.
Extra detail : I suppose you would like to access some sort of API from C#... that would require a class lib and wrappers to call the C++ code and return results
Hm. Call some feature of the device can be easy but not all.
As u said, some feature ask for non-implemented stuff on Nano. Those can be taken, source files from where ?
When not avaible but able, where to find it ?
@young anvil, when I installed the nano fw, it said:
2>The connected target does not have support for the following assembly(ies):
2> 'nanoFramework.Graphics'
But I have a screen lol
I'm presuming you want to add Marauder source files to nanoFramework CLR build...
All their API would become available. In native code.
The fact that your hardware has a screen doesn't magically change the firmware to have graphics namespace available.
A firmware that includes that is required 😉
Not rly. I would like to do his features but not mandory to do the same way as it
Oh. I didn't understand this way. I had to bring nuget graphics for this to work ?
It's a mix of both: your solution has to be bring in the UI NuGet package AND the firmware as to include the Grapichs feature (otherwise it won't have nothing to call)