I was just wondering if everyone here is using the libraries greiman wrote for the AVR chips with small amounts of memory. I tried to modify the RT-ARDUINOMEGA example and even with no OS features enabled couldn't get a program to fit into the flash.
The NIL-ARDUINOMEGA example was easy enough to modify and NIL is working for me thus far, so this is more a question of curiosity than looking for help.
ChibiOS on the Arduino Uno
-
- Posts: 28
- Joined: Tue Mar 10, 2015 4:49 pm
- Been thanked: 1 time
Re: ChibiOS on the Arduino Uno
I also modified the same MEGA example to run with the Arduino Uno but no luck.
I did not understand why the compiler reports so huge numbers for both program and data as follows.
Size after:
AVR Memory Usage
----------------
Device: atmega328p
Program: 31668 bytes (96.6% Full)
(.text + .data + .bootloader)
Data: 3973 bytes (194.0% Full)
(.data + .bss + .noinit)
-------- end --------
Regards, Diego
I did not understand why the compiler reports so huge numbers for both program and data as follows.
Size after:
AVR Memory Usage
----------------
Device: atmega328p
Program: 31668 bytes (96.6% Full)
(.text + .data + .bootloader)
Data: 3973 bytes (194.0% Full)
(.data + .bss + .noinit)
-------- end --------
Regards, Diego
-
- Posts: 359
- Joined: Sat Jan 07, 2012 6:22 pm
- Location: Brazil
- Has thanked: 1 time
- Been thanked: 20 times
- Contact:
Re: ChibiOS on the Arduino Uno
Here's the output of the current Arduino Mega 1280 demo as is:
Now if I disable the TestThread:
Hope that helps to make it clear what's happening!
Cheers,
Fabio Utzig
Code: Select all
AVR Memory Usage
----------------
Device: atmega1280
Program: 28226 bytes (21.5% Full)
(.text + .data + .bootloader)
Data: 3951 bytes (48.2% Full)
(.data + .bss + .noinit)
Now if I disable the TestThread:
Code: Select all
AVR Memory Usage
----------------
Device: atmega1280
Program: 11652 bytes (8.9% Full)
(.text + .data + .bootloader)
Data: 466 bytes (5.7% Full)
(.data + .bss + .noinit)
Hope that helps to make it clear what's happening!
Cheers,
Fabio Utzig
Re: ChibiOS on the Arduino Uno
Size after:
AVR Memory Usage
----------------
Device: atmega328p
Program: 13474 bytes (41.1% Full)
(.text + .data + .bootloader)
Data: 480 bytes (23.4% Full)
(.data + .bss + .noinit)
Now its working.
-
- Posts: 359
- Joined: Sat Jan 07, 2012 6:22 pm
- Location: Brazil
- Has thanked: 1 time
- Been thanked: 20 times
- Contact:
Re: ChibiOS on the Arduino Uno
It's all good! I'll wait for your patches so I can add official support again!
Cheers,
Fabio Utzig
Cheers,
Fabio Utzig
-
- Posts: 28
- Joined: Tue Mar 10, 2015 4:49 pm
- Been thanked: 1 time
Who is online
Users browsing this forum: No registered users and 1 guest