Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
239 commits
Select commit Hold shift + click to select a range
e1e8277
Bondtech FW391
lejo1512 Sep 24, 2020
e1e4955
Update commitnr
lejo1512 Sep 24, 2020
7c3f083
Merge branch 'Bondtech-MK3-FW391' into Bondtech-MK3-FW392
lejo1512 Nov 16, 2020
106e166
Build4025
lejo1512 Nov 27, 2020
e45ee94
Merge remote-tracking branch 'upstream/MK3_3.9.3' into Bondtech-MK3-F…
lejo1512 Jan 8, 2021
7ccfc72
FW393
lejo1512 Jan 8, 2021
535c982
commit nr
lejo1512 Jan 8, 2021
0c9ef84
Variant for LGX
lejo1512 Mar 19, 2021
ee30791
bump
lejo1512 Mar 19, 2021
f839feb
lgx variant
lejo1512 Mar 26, 2021
0c6a642
Merge branch 'Bondtech-MK3-FW393' into Bondtech-MK3-FW3100
lejo1512 May 11, 2021
fb6f342
adjust commit nr
lejo1512 May 12, 2021
62fff29
LGXFW3100
lejo1512 May 20, 2021
8d84788
Build4992
lejo1512 May 20, 2021
c27585b
Merge branch 'MK3_3.10.1' into Bondtech-MK3-FW3101-LGX
lejo1512 Dec 21, 2021
8750b3f
FW3101-LGX
lejo1512 Dec 21, 2021
160a220
commit nr
lejo1512 Dec 21, 2021
99e2319
Merge branch 'Bondtech-MK3-FW3101-LGX' into Bondtech-MK3-FW3110-LGX
lejo1512 Apr 12, 2022
6938f52
FW3110-LGX
lejo1512 Apr 12, 2022
178b3e1
Update current FW version
wavexx Sep 19, 2022
8cfd48c
Merge pull request #3608 from wavexx/set_312_version
wavexx Sep 21, 2022
9225c5e
Show firmware version on splash screen
leptun Aug 15, 2022
336c41f
Initialise status line message in setup()
gudnimg Sep 17, 2022
540ce31
Don't initialise lcd status message in definition
gudnimg Sep 17, 2022
33495d7
Remove redundant for-loop
gudnimg Sep 17, 2022
b2530ee
Optimisation: Remove duplicated code in cmdqueue_could_enqueue_back()
Sep 18, 2022
b1bee59
Remove atomic_update parameter
gudnimg Sep 19, 2022
9bff10a
Don't inline the function
gudnimg Sep 19, 2022
2bd4aef
Temperature model: update R0 estimate
wavexx Sep 20, 2022
1409612
Do not reset line on serial commands without N
wavexx Sep 21, 2022
7bd9e5e
Move strings to progmem
leptun Sep 21, 2022
081501f
Merge pull request #3617 from wavexx/merge_mk3_fixes
wavexx Sep 21, 2022
bb0489c
Do not hang during startup
wavexx Sep 21, 2022
d4aeddf
Merge pull request #3619 from wavexx/fixes_round2
wavexx Sep 21, 2022
b710ca0
Improve warning behavior during thermal anomaly
wavexx Sep 22, 2022
6bee4fe
Remove unneeded lcd_finishstatus()
wavexx Sep 23, 2022
aa721ca
lcd_print_pad: do not overflow len when truncating the string
wavexx Sep 26, 2022
ff85e8e
BETA firmware message only in English
3d-gussner Sep 29, 2022
6c6f6ab
Rename EN_ONLY to EN_FARM
3d-gussner Sep 29, 2022
0439624
Update Firmware.pot and Firmware_xx.po files
3d-gussner Sep 29, 2022
784f1f7
Merge pull request #3634 from 3d-gussner/MK3_3.12
3d-gussner Sep 29, 2022
350b2a6
Version changed (3.12.0-BETA1 build 5536)
3d-gussner Sep 29, 2022
fc614a6
Merge pull request #3635 from 3d-gussner/MK3_3.12
3d-gussner Sep 29, 2022
b62d36f
Update PF-build.sh to use Arduino_boards 1.6.0 which is same as devel…
3d-gussner Oct 3, 2022
4b384f3
Remove gawk
3d-gussner Oct 3, 2022
d971944
Merge pull request #3651 from 3d-gussner/MK3_312_Arduino_Boards_106
3d-gussner Oct 4, 2022
8ae499c
TM: Consume LCD click after calibration
wavexx Sep 30, 2022
ae1c888
Also consume longpress in lcd_consume_click()
wavexx Sep 30, 2022
07ad255
replace tab with spaces
3d-gussner Sep 28, 2022
76cc9b9
Add Temp Model eeprom documentation
3d-gussner Sep 28, 2022
a061f4e
Fix Typo 0X0 to 0x0
3d-gussner Oct 6, 2022
b2a4194
Merge pull request #3666 from 3d-gussner/MK3_3.12_tm_cal_click
3d-gussner Oct 6, 2022
d9e8b18
Merge pull request #3667 from 3d-gussner/MK3_3.12_fix_eeprom_document…
3d-gussner Oct 7, 2022
00de54a
Enable MISO pullup during SD CMD0
leptun Oct 10, 2022
b62dde7
Merge pull request #3678 from leptun/3.12.0_fix_miniRambo_SD_init
leptun Oct 10, 2022
162ab45
rename `Extruder fan` to `Hotend fan`
3d-gussner Oct 17, 2022
1b08776
Change fan RPM display to 5 digits
3d-gussner Oct 17, 2022
41df289
Update diacritics
3d-gussner Oct 17, 2022
933bd2b
Update Croatian translation
3d-gussner Oct 17, 2022
8f542ec
Merge pull request #3703 from 3d-gussner/MK3_312_diacritics
3d-gussner Oct 19, 2022
fac6d42
Merge pull request #3704 from 3d-gussner/MK3_312_Croatian
3d-gussner Oct 19, 2022
ac3ce85
Merge pull request #3702 from 3d-gussner/MK3_312_Hotend_fan
3d-gussner Oct 19, 2022
e9f5dc7
Updated Hungarian translation for MK3_3.12
AttilaSVK Oct 12, 2022
cb5e6d7
Rename Sheets
3d-gussner Oct 18, 2022
121a7e8
Update MMU RO Language
Sep 28, 2022
ba66dad
Fix typo, update missing translation
Hauzman Sep 30, 2022
c0a5eac
Update `Runouts` and `Gcode` translations
3d-gussner Oct 21, 2022
71c9213
Update Firmware_sk.po for MK3_3.12 (#3662)
3d-gussner Oct 24, 2022
6d35818
Temp Model cal. menu
3d-gussner Oct 26, 2022
67877ac
Fix MK25/S builds
3d-gussner Oct 26, 2022
6150735
Update trasnlations for MK3_3.12 branch
3d-gussner Oct 28, 2022
d42d6d9
Merge pull request #3721 from 3d-gussner/MK3_312_translations
3d-gussner Nov 2, 2022
4785eed
Fix typo
3d-gussner Nov 2, 2022
b470e43
Update Norwegian translation
3d-gussner Nov 3, 2022
be0f690
Revert one message
3d-gussner Nov 3, 2022
5355f51
Merge pull request #3720 from 3d-gussner/MK3_312_Temp_Model_menu
DRracer Nov 3, 2022
e9b7763
Fix long-press LCD inactivity timeout
gudnimg Nov 6, 2022
de56280
Fix Long-press cherry-pick from https://github.com/prusa3d/Prusa-Firm…
3d-gussner Nov 7, 2022
e109da4
Merge pull request #3741 from 3d-gussner/MK3_3.12_Pre-release_RC1
3d-gussner Nov 7, 2022
478a9a6
MK2.5: unblock planner after plan_abort_hard()
leptun Nov 10, 2022
44763f7
Merge pull request #3747 from leptun/3.12_MK2.5_XYZ_Cal_fixes
3d-gussner Nov 11, 2022
a8de9d5
Bump up build number to 5576
3d-gussner Nov 14, 2022
12f6f34
Merge pull request #3752 from 3d-gussner/MK3_3.12_v3.12.0-RC1
DRracer Nov 14, 2022
7fe1a50
Inital Temp Model cal wizard
3d-gussner Nov 17, 2022
7e9d9ad
Fix wizard serial messages
leptun Nov 17, 2022
0f70665
XYZ calibration fixes
leptun Nov 17, 2022
f8edad2
Unhack selftest hack during wizard
3d-gussner Nov 20, 2022
6e330c1
Update Temp Model messages
3d-gussner Nov 20, 2022
696117e
Fix cherry-pick
3d-gussner Nov 20, 2022
6d7d5d4
Fix typo
3d-gussner Nov 22, 2022
2a7f75c
Update CS translation
Nov 22, 2022
a031837
Fix & optimize FW version parsing and checking
Nov 23, 2022
ac55c10
Update internal translations
3d-gussner Nov 24, 2022
7ca4d73
Updated community languages
3d-gussner Nov 30, 2022
d87f499
Nozzle change menu
3d-gussner Nov 23, 2022
8261712
Fix recursion
leptun Nov 24, 2022
ade8a87
fullscreen message: use \n to force the next word on the next line
leptun Nov 30, 2022
7a42af1
Update internal translations
3d-gussner Nov 30, 2022
6062a50
Merge pull request #3770 from 3d-gussner/MK3_3_12_Temp_model_cal_wizard
3d-gussner Nov 30, 2022
b5b4e4d
Merge pull request #3789 from 3d-gussner/MK3_3.12_Nozzle_change
3d-gussner Nov 30, 2022
12fc82f
Fix yes no
3d-gussner Nov 30, 2022
b2b8fee
Merge pull request #3790 from 3d-gussner/MK3_3.12_Nozzle_change
3d-gussner Nov 30, 2022
a1da5ed
Add Nozzle change menu to FARM mode under Settings
3d-gussner Dec 5, 2022
62eee7d
Shorten French translation
3d-gussner Dec 5, 2022
49506b5
Fix `M862.4` with [strict] mode
3d-gussner Dec 6, 2022
1b659c5
Update Nozzle change community translations
3d-gussner Dec 5, 2022
8f1c11b
Update Swedish translation
3d-gussner Dec 6, 2022
9f22478
Update lang/po/Firmware_no.po
3d-gussner Dec 6, 2022
732fb9d
Merge pull request #3803 from 3d-gussner/MK3_3.12_FARM_Nozzle_change_…
3d-gussner Dec 6, 2022
5718954
Merge pull request #3804 from 3d-gussner/MK3_3.12_Shorten_French
3d-gussner Dec 6, 2022
be668c8
Merge pull request #3808 from 3d-gussner/MK3_3.12_Nozzle_change_commu…
3d-gussner Dec 7, 2022
a6eff8f
Simplify firmware/gcode version comparisons
wavexx Dec 7, 2022
1e19eed
Merge pull request #3806 from 3d-gussner/MK3_3.12_Fix_M862.4_strict
wavexx Dec 12, 2022
6a3d82e
TM: Remove unnecessary display comments
wavexx Dec 12, 2022
d84231f
Fix potential buffer overflow in LCD messages
wavexx Dec 12, 2022
dac73c9
TM: Set default resistance levels for MK3/MK3S
wavexx Dec 12, 2022
f6c1645
TM: Store only the last autotune result state
wavexx Dec 12, 2022
c781206
TM: Restore all original values if autotune fails
wavexx Dec 12, 2022
d2019b7
Remove M999 remnants
wavexx Dec 12, 2022
6d83a49
selftest: Handle thermal errors in lcd_selfcheck_check_heater
wavexx Dec 12, 2022
4ce808c
wizard: Rework the thermal model calibration logic
wavexx Dec 12, 2022
41be937
eeprom: Document new calibration state
wavexx Dec 12, 2022
f194bb1
wizard: Allow finishing the calibration through menus
wavexx Dec 12, 2022
f81b2a0
Restore the previous model state when performing a nozzle change
wavexx Dec 12, 2022
4438aa4
TM: reset fan measuring state when changing speed
wavexx Dec 9, 2022
263a495
Fix `µ` character shown on translations
3d-gussner Dec 15, 2022
4c8afd8
Shorten French translation
3d-gussner Dec 15, 2022
d59dfc7
Remove unused community translations
3d-gussner Dec 15, 2022
c890c9e
TM: Do not lockout the menus on thermal errors
wavexx Dec 13, 2022
42125b4
Keep a pointer past the line number in cmdqueue
wavexx Dec 13, 2022
5ab0dcb
Allow M310 to bypass the Stopped state for recovery
wavexx Dec 13, 2022
de20fc6
Replace two expressions with cmd_head
wavexx Dec 15, 2022
d37a2a1
Parenthesize IS_SD_PRINTING defensively
wavexx Dec 15, 2022
94583c8
Rename print_stop() to lcd_print_stop_finish() for clarity
wavexx Dec 17, 2022
3b65aa0
TM: Clear the Stopped state when stopping the current print
wavexx Dec 17, 2022
a551536
TM: correctly mark repeated anomalies
wavexx Dec 17, 2022
5e50a15
Do not show/call LCD status updates when unchanged
wavexx Dec 17, 2022
3c1c2fd
Use menu_set_block() in ThermalStop()
wavexx Dec 17, 2022
5fc2774
TM: Allow to resume without a running print
wavexx Dec 17, 2022
64eefa9
TM: Disallow preheat/filament actions when stopped
wavexx Dec 17, 2022
62d362f
Also prevent longpress when Stopped
wavexx Dec 17, 2022
7bf8a64
Improve MSG_ACK_ERROR message
wavexx Dec 17, 2022
650c76e
TM: Force initialization after reset
wavexx Dec 19, 2022
2f8b2dc
Add LCD output during xyz calibration
3d-gussner Dec 20, 2022
5a17437
Change xyz cal message `up to 24 min.` instead `approx. 12 min.`
3d-gussner Dec 20, 2022
eb9d58a
Merge pull request #3826 from 3d-gussner/MK3_3.12_tm_default_state
3d-gussner Dec 20, 2022
e511996
Merge pull request #3845 from 3d-gussner/MK3_3.12_tm_partial_lock
3d-gussner Dec 20, 2022
9fecc77
Merge pull request #3846 from 3d-gussner/MK3_3.12_XYZ_cal_fix
3d-gussner Dec 20, 2022
b683351
Add translations for `Clear TM error` message
3d-gussner Dec 20, 2022
83907a9
Merge pull request #3848 from 3d-gussner/MK3_3.12_Clear_TM_error
3d-gussner Dec 20, 2022
3f86636
backport: Sync new offsets from MK3
wavexx Dec 28, 2022
a18f287
backport: Stub LCDButtonChoice for LCD_LEFT_BUTTON_CHOICE
wavexx Dec 29, 2022
670bca4
Simplify FW eeprom version checks
wavexx Dec 21, 2022
4ff245c
eeprom: Fix EEPROM_HEAT_BED_ON_LOAD_FILAMENT debug offset in docs
wavexx Dec 23, 2022
612e9d9
Replace calibration state with a new calibration bitmap
wavexx Dec 23, 2022
6285951
Simplify altfan override initialization
wavexx Dec 23, 2022
8a43aa0
wizard: Remove unused wizard stages
wavexx Dec 23, 2022
d478aa5
wizard: Rewrite the wizard handling loop
wavexx Dec 27, 2022
16033b4
wizard: Rewrite the fw upgrade check logic
wavexx Dec 27, 2022
17b1016
Handle CALIBRATION_STATUS_LIVE_ADJUST
wavexx Dec 24, 2022
b2f3f47
Handle CALIBRATION_STATUS_{Z,XYZ}
wavexx Dec 24, 2022
16de033
Handle CALIBRATION_STATUS_SELFTEST
wavexx Dec 24, 2022
0c583ff
Handle CALIBRATION_STATUS_TEMP_MODEL
wavexx Dec 24, 2022
f158a75
Unbreak build with !PINDA_THERMISTOR
wavexx Dec 25, 2022
d8ae372
wizard: Allow partial resuming after reset
wavexx Dec 29, 2022
a8057e0
wizard: Disable temperature model during hotend testing
wavexx Dec 29, 2022
05f37ed
Read version data from progmem in eeprom_fw_version_older_than
wavexx Dec 29, 2022
fbfacd7
wizard: Resume the wizard for missing calibrations during upgrades
wavexx Dec 29, 2022
8bd0d6a
wizard: Ask about the sheet before doing Z calibration
wavexx Dec 29, 2022
5a89f69
TM: Also clear the status flags when disabling the model
wavexx Dec 30, 2022
f68479f
TM: Mark more internal functions as static
wavexx Dec 30, 2022
46a9792
Update calibration status v2 documentation
3d-gussner Jan 2, 2023
805e71e
Make M300 S0 pause like Marlin
wavexx Dec 30, 2022
3c4373c
Remove extra delay after critical sound
wavexx Dec 30, 2022
cfed4bc
Fix few values
3d-gussner Jan 2, 2023
39a0783
Merge pull request #3881 from 3d-gussner/MK3_312_Update_Cal_documention
3d-gussner Jan 2, 2023
54356f8
Merge pull request #3880 from wavexx/m300_s0_m312
wavexx Jan 2, 2023
fd678bc
Version changed (3.12.0 build 5672)
3d-gussner Jan 10, 2023
fdadc93
Merge pull request #3887 from 3d-gussner/MK312_Version_change
DRracer Jan 10, 2023
72b0b6a
Merge remote-tracking branch 'upstream/MK3_3.12' into Bondtech-MK3-FW…
lejo1512 Jan 13, 2023
f5f77f6
FW3120
lejo1512 Jan 13, 2023
6db58f0
Revert LongTimers to uint32_t in mmu.cpp to fix issues with MMU2 fw 1…
3d-gussner Jan 13, 2023
6999e1f
loading
lejo1512 Jan 13, 2023
3d65a40
calfix
lejo1512 Jan 13, 2023
3ea8613
Merge pull request #3897 from 3d-gussner/MK3_12_MMU106-fix
3d-gussner Jan 13, 2023
fffb15c
Fix MK2.5 softReset()
leptun Jan 13, 2023
5b8321d
Move Z to top during Nozzle change
3d-gussner Jan 13, 2023
7adfd0c
wizard: Do not complain about missing calibration if model is disabled
wavexx Jan 15, 2023
128a235
TM: Set the cal status bit when running `M310 A` directly
wavexx Jan 15, 2023
16922c2
TM: Restore extruder autofan state when stopping/resuming
wavexx Jan 15, 2023
4a36440
TM: Fan measuring state reset unification
wavexx Jan 15, 2023
657e824
update commit nr
lejo1512 Jan 16, 2023
cf08422
Version changed (3.12.1-RC1 build 5682) for FW3.12.1-RC1
3d-gussner Jan 17, 2023
54a3c83
Merge pull request #3926 from 3d-gussner/MK3_312_RC1_Version_change
3d-gussner Jan 17, 2023
149ecb8
Version changed (3.12.1 build 5684) for FW3.12.1
3d-gussner Jan 19, 2023
f716759
Merge pull request #3932 from 3d-gussner/MK3_312_final_Version_change
3d-gussner Jan 20, 2023
d8ae7cb
Revert inverted "Running wizard ..." message
3d-gussner Jan 20, 2023
87118c1
Merge pull request #3934 from 3d-gussner/MK3_312_Fix_Wiz_BumpUpBuildNr
3d-gussner Jan 20, 2023
7682544
fix filename
lejo1512 Jan 20, 2023
ceed090
FW3121
lejo1512 Jan 25, 2023
bdd4784
FW3121
lejo1512 Jan 25, 2023
d769477
FW3121
lejo1512 Jan 25, 2023
27adfa9
FW3121
lejo1512 Jan 25, 2023
36c3814
TM: Check for PC parameters more carefully
wavexx Jan 26, 2023
6058de4
TM: Do not restrict autotune temperature
wavexx Jan 20, 2023
4e3152d
wizard: Disable TM warnings during calibration
wavexx Jan 23, 2023
68372c0
wizard: Do no set "Self test OK" as an alert message
wavexx Jan 15, 2023
8ee0849
wizard: Return to status after calibration
wavexx Jan 16, 2023
c9722c2
Merge pull request #3956 from wavexx/tm_cal_check_312
3d-gussner Jan 27, 2023
8aaf77a
Change to Thermal model
3d-gussner Feb 8, 2023
c740bf9
Merge pull request #3999 from 3d-gussner/MK3_312_Thermal_model
3d-gussner Feb 9, 2023
b23476a
TM: Do not emit an "error:" on the serial for recoverable errors
wavexx Jan 28, 2023
1445c2e
Backport eeprom functions from 3.13
wavexx Jan 28, 2023
5a1ed15
TM: Allocate new eeprom parameters for PTC handling
wavexx Jan 26, 2023
70fd9a3
TM: Handle UVDL set/load/report/upgrade
wavexx Jan 26, 2023
02775fb
TM: Handle D/TEMP_MODEL_fS
wavexx Jan 26, 2023
e147fc2
TM: Handle UV (PTC loss)
wavexx Jan 26, 2023
b7961ae
TM: Handle L/TEMP_MODEL_LAG
wavexx Jan 26, 2023
6d51752
TM: Optimize temp_model_set_lag
wavexx Jan 28, 2023
5ca8473
Bump up build number and FW version
3d-gussner Feb 15, 2023
b769083
Merge pull request #4017 from 3d-gussner/MK3_3.12.2
3d-gussner Feb 15, 2023
4a4be21
TM: Fix UV identity
wavexx Feb 15, 2023
4b49958
TM: future-proofing for incompatible model upgrades
wavexx Feb 15, 2023
fd96b79
TM: Split default model parameters into a separate header
wavexx Feb 15, 2023
571d25c
TM: Move headers to support the legacy build system
wavexx Feb 15, 2023
c3ea4f0
Merge pull request #4006 from wavexx/tm_ptc312
3d-gussner Feb 20, 2023
0eeaa5b
Set `Is filament loaded? Yes|No` default to `No` without a timeout.
3d-gussner Feb 20, 2023
db7b472
Merge pull request #4041 from 3d-gussner/MK3_312_Fix_fil_loaded_timeout
3d-gussner Feb 21, 2023
662f5e0
Bump up FW 3.12.2 to 5713
3d-gussner Feb 28, 2023
a6eeb55
Merge pull request #4055 from 3d-gussner/MK3_3122
3d-gussner Feb 28, 2023
734cfed
Merge branch 'MK3_3.12' into Bondtech-MK3-FW3122-LGX
lejo1512 Mar 3, 2023
d016599
FW3122
lejo1512 Mar 3, 2023
e27c084
FW3122
lejo1512 Mar 3, 2023
e545d53
Extended Ymax to 212mm
BladerunnerxRC Apr 22, 2023
8d3c9be
Added my Initials to the display
BladerunnerxRC Apr 22, 2023
50b745e
Changed Y-Max to 21.5mm since modified bed
BladerunnerxRC Apr 22, 2023
a139f34
prepare for Compiling
BladerunnerxRC Apr 22, 2023
86f8594
casfdas
BladerunnerxRC Apr 22, 2023
0d0bb36
prep
BladerunnerxRC Apr 22, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
Binary file added .dependencies/avr-gcc-7.3.0/avr/bin/ar.exe
Binary file not shown.
Binary file added .dependencies/avr-gcc-7.3.0/avr/bin/as.exe
Binary file not shown.
Binary file added .dependencies/avr-gcc-7.3.0/avr/bin/ld.bfd.exe
Binary file not shown.
Binary file added .dependencies/avr-gcc-7.3.0/avr/bin/ld.exe
Binary file not shown.
Binary file added .dependencies/avr-gcc-7.3.0/avr/bin/nm.exe
Binary file not shown.
Binary file added .dependencies/avr-gcc-7.3.0/avr/bin/objcopy.exe
Binary file not shown.
Binary file added .dependencies/avr-gcc-7.3.0/avr/bin/objdump.exe
Binary file not shown.
Binary file added .dependencies/avr-gcc-7.3.0/avr/bin/ranlib.exe
Binary file not shown.
Binary file added .dependencies/avr-gcc-7.3.0/avr/bin/readelf.exe
Binary file not shown.
Binary file added .dependencies/avr-gcc-7.3.0/avr/bin/strip.exe
Binary file not shown.
59 changes: 59 additions & 0 deletions .dependencies/avr-gcc-7.3.0/avr/include/alloca.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
/* Copyright (c) 2007, Dmitry Xmelkov
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the
distribution.
* Neither the name of the copyright holders nor the names of
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE. */

/* $Id$ */

#ifndef _ALLOCA_H
#define _ALLOCA_H 1

#include <stddef.h>

/** \defgroup alloca <alloca.h>: Allocate space in the stack */

/** \ingroup alloca
\brief Allocate \a __size bytes of space in the stack frame of the caller.

This temporary space is automatically freed when the function that
called alloca() returns to its caller. Avr-libc defines the alloca() as
a macro, which is translated into the inlined \c __builtin_alloca()
function. The fact that the code is inlined, means that it is impossible
to take the address of this function, or to change its behaviour by
linking with a different library.

\return alloca() returns a pointer to the beginning of the allocated
space. If the allocation causes stack overflow, program behaviour is
undefined.

\warning Avoid use alloca() inside the list of arguments of a function
call.
*/
extern void *alloca (size_t __size);

#define alloca(size) __builtin_alloca (size)

#endif /* alloca.h */
120 changes: 120 additions & 0 deletions .dependencies/avr-gcc-7.3.0/avr/include/assert.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
/* Copyright (c) 2005,2007 Joerg Wunsch
All rights reserved.

Portions of documentation Copyright (c) 1991, 1993
The Regents of the University of California.

All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the
distribution.

* Neither the name of the copyright holders nor the names of
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.

$Id$
*/

/** \file */
/** \defgroup avr_assert <assert.h>: Diagnostics
\code #include <assert.h> \endcode

This header file defines a debugging aid.

As there is no standard error output stream available for many
applications using this library, the generation of a printable
error message is not enabled by default. These messages will
only be generated if the application defines the macro

\code __ASSERT_USE_STDERR \endcode

before including the \c <assert.h> header file. By default,
only abort() will be called to halt the application.
*/

/*@{*/

/*
* The ability to include this file (with or without NDEBUG) is a
* feature.
*/

#undef assert

#include <stdlib.h>

#if defined(__DOXYGEN__)
/**
* \def assert
* \param expression Expression to test for.
*
* The assert() macro tests the given expression and if it is false,
* the calling process is terminated. A diagnostic message is written
* to stderr and the function abort() is called, effectively
* terminating the program.
*
* If expression is true, the assert() macro does nothing.
*
* The assert() macro may be removed at compile time by defining
* NDEBUG as a macro (e.g., by using the compiler option -DNDEBUG).
*/
# define assert(expression)

#else /* !DOXYGEN */

# if defined(NDEBUG)
# define assert(e) ((void)0)
# else /* !NDEBUG */
# if defined(__ASSERT_USE_STDERR)
# define assert(e) ((e) ? (void)0 : \
__assert(__func__, __FILE__, __LINE__, #e))
# else /* !__ASSERT_USE_STDERR */
# define assert(e) ((e) ? (void)0 : abort())
# endif /* __ASSERT_USE_STDERR */
# endif /* NDEBUG */
#endif /* DOXYGEN */

#if (defined __STDC_VERSION__ && __STDC_VERSION__ >= 201112L) || \
((_GNUC_ > 4 || (_GNUC_ == 4 && _GNUC_MINOR_ >= 6)) && !defined __cplusplus)
# undef static_assert
# define static_assert _Static_assert
#endif

#ifdef __cplusplus
extern "C" {
#endif

#if !defined(__DOXYGEN__)

extern void __assert(const char *__func, const char *__file,
int __lineno, const char *__sexp);

#endif /* not __DOXYGEN__ */

#ifdef __cplusplus
}
#endif

/*@}*/
/* EOF */
Loading