forty-tw0 / raspberrypi-freertos Goto Github PK
View Code? Open in Web Editor NEWThis project forked from jameswalmsley/raspberrypi-freertos
A port of FreeRTOS to the raspberry pi 2B. With USB+Ethernet+TCP/IP.
This project forked from jameswalmsley/raspberrypi-freertos
A port of FreeRTOS to the raspberry pi 2B. With USB+Ethernet+TCP/IP.
Thanks for your sharing.
I have tried this on raspberry pi 2. the led task can run well.
However, the network card seems not work. I can't ping this address through.
the network parameter in my LAN is:
network gateway: 192.168.1.1
Mask: 255.255.255.0
The default setting in the main.c is,
const unsigned char ucIPAddress[ 4 ] = {192, 168, 1, 42};
const unsigned char ucNetMask[ 4 ] = {255, 255, 255, 0};
const unsigned char ucGatewayAddress[ 4 ] = {192, 168, 1, 1};
which should match the setting in my LAN.
I can manually set the similar IP with my Ubuntu PC.
Looking forward your help. Thanks in advance.
I've been using this port on the Raspberry Pi 3B mostly with success. I found an interesting bug with the GPIO driver included in the port. In the SetGpio() function, there is an or equal (|=) used to update the GPSET and GPCLR registers. These registers are write only for the BCM2837 and BCM2836, causing some undefined behavior.
To reproduce this issue, probe several GPIO pins at once and toggle them on and off with varying duty cycles. This problem can be fixed by changing the |= to a = on lines 60 and 62. I will submit a pull request.
Build fails with multiple definitions of the symbol "loaded". Fix by changing Drivers/video.h
char loaded;
change to
extern char loaded;
I'm porting FreeRTOS to the Raspberry Pi Zero W, and I was probably going to use some of your code. What FOSS license would you like your contributed files to be under in my repository?
Thanks for your sharing.
As a beginner, I have some questions.
How to use the serial port to print?
Use TTL change USB or TTL change RS232?
Does it contain related drivers?
And I also can not ping the IP address.
So how to use the net export?
Looking forward your help.
Hi,
I try to understand the code, I see in the file gpio.c
the line
volatile BCM2835_GPIO_REGS * const pRegs = (BCM2835_GPIO_REGS *) (0x3f200000);
How is the value 0x3f200000
decided ?
Thanks
First of all thanks for providing port for raspberry pi 2 model.
I'm facing problems while doing floating point arithmetic operations.
I can't add or subtract or multiply the float or double primitive type variables.
Can you please help me out and tell me what must be causing this?
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.