-
-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MISC: update to zephyr master and add initial wifi support #17
base: arduino
Are you sure you want to change the base?
Conversation
Easiest method to test WiFi APIs is to use a board where WiFi is already supported :) Comes with its own set of issues: * pyocd is not supported, use JLink to flash instead * The .dfu.bin file should be flashed at 0x18323000 * Debug UART (printk) on JLink port, Serial on native USB
This reverts commit 68651bc.
There's no way to convince the compiler to consider the provided flags when linking modern c++ code (std::). Get rid of the useless symbols in the linker and add the (then) missing implementations in abi.cpp
Tested with NTPClient and ArduinoMDNS TODO: properly test multicast
connect() temporarily accepts a third parameter with a PEM encoded certificate Cleanest way to add it is via raw strings const char * certificate = R"(-----BEGIN CERTIFICATE----- .... -----END CERTIFICATE-----)";
1036efa
to
e653548
Compare
being somewhat brave ;) I checked out the PR and I am starting to play with it.
Some of the errors:
Nothing major, will work around, but I know some other libraries have this as well. |
I thought I would mention that I pulled in my SPI changes and changed the sizes in the .conf file for the GIGA. I then thought I would use a modified version of a pin test sketch that I often use for the Teensy. This one was modified But it does not compile on the GIGA: In particular: NUM_DIGITAL_PINS Also the precompiler stuff to convert the .ino to a .cpp is not properly adding in forward references for different functions, that are used that are later on in the sketch. For example in the sketch we have:
And the error list includes:
Question: Would you prefer these as different issues... EDIT: I was able to edit the sketch to make it compile... Borrowing a little
I have not completed running through all of the pins: But did some and it appears |
Ok figured it out. Using the following sketch:
Had to comment out encryptionType since it wasn't defined anywhere. Once I did that it loaded compiled and loaded but hung with the following error:
Which I believe means the following should be added to llext_exports.c
quick question - if I add it does that mean I have to recompile UPDATE: Added the symbol and recompiled but now getting:
think maybe you should just add all the stdlib symbols to be on the safe side |
Ok I updated the llext_exports.c with a few more symbols this time the sketch ran but got message that it failed to start wifi:
Merry Christmas EDIT: Gues RW612 is not the wifi chip on the giga? |
When merged, #12 should be tackled
Extra info for the brave:
west update
;pip install -r ../zephyr/scripts/requirements-base.txt && west blobs fetch hal_nxp
to test WiFi on RW612