scottalford75 / remora-rp2040-w5500 Goto Github PK
View Code? Open in Web Editor NEWRemora firmware for RP2040 with W5500 Ethernet
Remora firmware for RP2040 with W5500 Ethernet
seems like the following is more usable than just the hex array for the defaultConfig
//const char defaultConfig[] = DEFAULT_CONFIG;
const char* defaultConfig = R"(
{
"Board": "PICO-JS",
"Modules": [
{
"Thread": "Servo",
"Type": "Blink",
"Comment": "Blinky",
"Pin": "GP25",
"Frequency": 2
}
]
}
)";
Hey Scott,
I was going to mess around with this code, but see if I can get it running on an esp32.
Before I really dug in i was thinking it would be nice to write some tests. Have you thought about testing much?
What I as thinking was trying to abstract as much as possible so the basic mechanics could be built/tested native x86 with mocks for the MCU specific code. Since there are so many versions of remora I'm not quite sure what a good reusable framework to do this would be but I think it would be nice to have the communication protocols testable and consistent.
so something like -> mock transport -> base_thread -> mock timers/stepgen
Hey Scott,
Got around to poking at this again this weekend but a few problems.
Make Digital Input at pin GP13
Creating a std module
Creating Pin @
pin = GP13
ptrData = 0
## Entering START state
Starting the BASE thread
Registering interrupt for interrupt number = 0
setting up timer on PWM Slice 0
desired frequency = 40000, div = 1, wrap = 3124
actual frequency = 40000.0000
timer started
Starting the SERVO thread
Registering interrupt for interrupt number = 1
setting up timer on PWM Slice 1
desired frequency = 200, div = 16, wrap = 39061
actual frequency = 200.0000
timer started
## Entering IDLE state
## Entering RUNNING state
## Entering RESET state
Resetting rxBuffer
## Entering IDLE state
then it stops responding to pings and I have to reset it.
I had to monkey with the uart setttings and I can only seem to get my FTDI to read GPIO28, nothing over USB and can't connect to that serial port. wondering how you are debugging.
which hal module goes with this main version? I'm trying the remora-eth but there is also remora-nv and likely many versions. Maybe this deserves it's own repo with tags to track what it is tested with/designed to work with.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.