Witaj na Forum Linuxiarzy
Zanim zalogujesz się, by pisać na naszym forum, zapoznaj się z kilkoma zasadami savoir-vivre'u w dziale Administracja.
Wiadomości z problemami zamieszczone w wątku "Przywitaj się" oraz wszelkie reklamy na naszym forum będą usuwane.
Cytat: melis w Grudzień 08, 2025, 07:24:30 PMA to w sumie niezła nowina. W obu da się to zrobić.Cytat: Yattaman w Grudzień 08, 2025, 06:35:15 PMbo może jakbym sobie ustawił na stałe dane jądro, to byłoby, że "działa i zapomnij"W Arch można tak zrobić. W CachyOs poprzez jego specyfikę, jest inaczej.
Cytat: Yattaman w Grudzień 08, 2025, 06:35:15 PM<CUT>I wówczas przydaje się czy to downgrade, czy drugi (np. LTS) kernel w zapasie. Przez chwilę poczekasz do usunięcia regresji i znów jest ok.
Któraś numeracja, nie pamiętam która, ubiła mi usypianie w laptopie (niby się usypiał, ale dioda nie gasła, a dysk wyraźnie pracował, bo był ciepły).
Cytat: Yattaman w Grudzień 08, 2025, 06:35:15 PMZapytałem czy ma to sens, bo może jakbym sobie ustawił na stałe dane jądro, to byłoby, że "działa i zapomnij"...Widzisz - wg mnie i jest to wyłącznie prywatne moje zdanie - sens to ma dla bardzo świadomego użytkownika, który pilnuje co się w rozwoju kernela dzieje, zwłaszcza w zakresie jego bezpieczeństwa, jest też świadomy komponentów, które są w komputerze i jest w ten sposób w stanie ocenić co mu potrzebne, a co nie.
Cytat: spairo w Grudzień 08, 2025, 08:31:24 PMJak zainstalowac pakiet "resolute".
Cytat: spairo w Grudzień 08, 2025, 08:12:44 PMtylko w tym pakiecie chyba brakuje attiny824.
Cytatt824 ATtiny824
CytatUsing AVRDUDE
AVRDUDE is a command-line application. Run the command avrdude without any arguments for a list of options.
A typical command to program your HEX file into your AVR microcontroller looks like this:
avrdude -c <programmer> -p <part> -U flash:w:<file>:i
For instance, to program an Arduino Uno connected to the serial port COM1 with a HEX file called blink.hex, you would run the following command:
avrdude -c arduino -P COM1 -b 115200 -p atmega328p -D -U flash:w:objs/blink.hex:i
There are many different programmers and options that may be required for the programming to succeed.
CytatHello,
i got it's working (to compile, i can't test if its wright)
i have changed the platformio.ini to:
[env:ATtiny824]
; platform = atmelavr
platform = https://github.com/platformio/platform-atmelmegaavr.git
; board = attiny45
board = ATtiny824
; framework = arduino
BUILD_FLAGS =
-Battiny_dfp/gcc/dev/attiny824
-Iattiny_dfp/include/
extra_scripts = extra_script.py
in the dir where platformio.ini is located i create extra_script.py with
this content:
Import("env")
#
# Dump build environment (for debug)
# print(env.Dump())
#
env.Append(
LINKFLAGS=[
"-Battiny_dfp/gcc/dev/attiny824"
]
)
i go to https://packs.download.microchip.com/ and download the pack for
Microchip ATtiny Series Device Support
i rename the extension from ".atpack" to ".zip"
now i unzip the pack.
i rename the dir with the pack to attiny_dfp
i move this dir (attiny_dfp) to the dir where platformio.ini is located
now i can compile
Processing ATtiny824 (platform:
https://github.com/platformio/platform-atmelmegaavr.git; board:
ATtiny824)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------Verbose
mode can be enabled via `-v, --verbose` option
CONFIGURATION:
https://docs.platformio.org/page/boards/atmelmegaavr/ATtiny824.html
PLATFORM: Atmel megaAVR (1.5.0+sha.de9877b) > ATtiny824
HARDWARE: ATTINY824 16MHz, 1KB RAM, 8KB Flash
PACKAGES:
- toolchain-atmelavr 1.70300.191015 (7.3.0)
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 0 compatible libraries
Scanning dependencies...
No dependencies
Building in release mode
Checking size .pio\build\ATtiny824\firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project
Inspect"
RAM: [ ] 0.4% (used 4 bytes from 1024 bytes)
Flash: [ ] 3.1% (used 254 bytes from 8192 bytes)
=======================================================================
[SUCCESS] Took 1.23 seconds
=======================================================================
woodymgh
on Jan 26, 2022 via email · edited by woodymgh
Author
I have forgot:
i have changed the ldscript (because it's wrong)
in the file .platformio/packages/toolchain-atmelavr(version what you use)/avr/lib/ldscripts/avrxmega3.xn
replace
data (rw!x) : ORIGIN = 0x802000, LENGTH = __DATA_REGION_LENGTH__
with
data (rw!x) : ORIGIN = __DATA_REGION_ORIGIN__, LENGTH = __DATA_REGION_LENGTH__
Cytatjammy (22.04LTS) (devel): GNU C compiler (cross compiler for avr) [universe]
1:5.4.0+Atmel3.6.2-3: amd64 arm64 armhf ppc64el riscv64 s390x
noble (24.04LTS) (devel): GNU C compiler (cross compiler for avr) [universe]
1:7.3.0+Atmel3.7.0-1: amd64 arm64 armhf ppc64el riscv64 s390x
plucky (25.04) (devel): GNU C compiler (cross compiler for avr) [universe]
1:14.2.0-2: amd64 arm64 armhf ppc64el riscv64 s390x
questing (25.10) (devel): GNU C compiler (cross compiler for avr) [universe]
1:14.2.0-2: amd64 arm64 armhf ppc64el riscv64 s390x
resolute (devel): GNU C compiler (cross compiler for avr) [universe]
1:14.2.0-2: amd64 arm64 armhf ppc64el riscv64 s390x
Cytat(myenv) raid@MAG-Z3901:~/electronics$ sudo make
mkdir -p ./build
avr-gcc -std=gnu99 -Os -mmcu=attiny824 -DF_CPU=1250000 -DFW_VERSION=\"dev\" -Wall -Winline -Wstrict-prototypes -ffunction-sections -fdata-sections -I. -I./ -I../config -funsigned-char -fdiagnostics-color=always -c -o build/adc.o adc.c
avr-gcc: error: device-specs/specs-attiny824: No such file or directory
make: *** [Makefile:111: build/adc.o] Error 1
(myenv) raid@MAG-Z3901:~/electronics$
Cytat: Yattaman w Grudzień 08, 2025, 06:35:15 PMbo może jakbym sobie ustawił na stałe dane jądro, to byłoby, że "działa i zapomnij"W Arch można tak zrobić. W CachyOs poprzez jego specyfikę, jest inaczej.
Cytat: spairo w Grudzień 07, 2025, 05:07:31 PM<CUT>Pytanie: komenda apta oraz Twój potem komentarz jest z dokładnym przytoczeniem nazwy paczki?
- kolejna zgłasza błądsudo apt install -y avr-gcc.- komunikat podaje że nie widzi lokalizacji pakietu avr-gcc.
Cytat: plm w Grudzień 08, 2025, 11:11:12 AMale ten sterownik który podałeś do karty wifi nie obsługuje 5ghz, jak router ustawiony na 5ghz nie wyszukuje tej sieci