Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update avr bits for new compiler #100

Merged
merged 30 commits into from
Nov 21, 2024
Merged
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
1a95141
.github: Fix caching of dockerfile
keith-packard Nov 21, 2024
8c9a4a6
Use C99 flexible arrays
keith-packard Nov 13, 2024
2a0064c
Make param to snek_code_add_string const
keith-packard Nov 13, 2024
1d0a122
Make snek_move_block_addr static
keith-packard Nov 13, 2024
54f1b81
Only all NL as statement terminator
keith-packard Nov 20, 2024
e4009c7
chips/samd21: Fix regex usage in uf2conv.py
keith-packard Oct 27, 2024
8706b69
chips/samd21: save/restore neopixel list across alloc
keith-packard Nov 16, 2024
dc6a4f4
chips/samd21: minor cleanup in snek-gpio.c
keith-packard Nov 20, 2024
1d266f0
ports/narrow-1284: Clean up smaller math builtin list
keith-packard Oct 27, 2024
8799b68
Move AVR compile options to chips defs files
keith-packard Nov 13, 2024
b4dbabe
chips/atmega: Adapt to more recent avr libc
keith-packard Nov 13, 2024
43e6240
Switch atmega32u4 devices to ubaboot
keith-packard Nov 18, 2024
9fc0e62
uduino: Remove unused defines in ao-pins.h
keith-packard Nov 18, 2024
7ec6882
Use __flash for AVR code instead of PROGMEM
keith-packard Nov 20, 2024
df5345e
atmega328p: Increase pool and value stack
keith-packard Nov 20, 2024
c6fd041
chips/atmega: Handle EEPROM that doesn't start at 0
keith-packard Nov 20, 2024
8315084
chips/atmega: Support newer avr-libc
keith-packard Nov 20, 2024
660ba88
Enable more features due to newer avr-gcc version
keith-packard Nov 20, 2024
688d768
Remove -big versions of ATmega328p ports
keith-packard Nov 20, 2024
07fe111
chips/avr: Add test for strfromg
keith-packard Nov 20, 2024
23f056f
ports/nano-every: Define LED constant
keith-packard Nov 20, 2024
071ef42
ports/nano-every: Use custom avr-libc
keith-packard Nov 20, 2024
5879459
Add smaller set of math builtins
keith-packard Nov 21, 2024
44786b8
chips/atmega: Add flash writing code for ATmega4809
keith-packard Nov 21, 2024
dc2ec64
ports/nano-every: Use the new ATmega4809 flash driver for storage
keith-packard Nov 21, 2024
52df372
Stop processing comment when ^C is seen
keith-packard Nov 21, 2024
30d3949
examples: Update morse example
keith-packard Nov 21, 2024
ff496af
Check status of upload/install-otheros/otheros targets in Makefile
keith-packard Nov 21, 2024
817c9ae
ports/duemilanove: Create snek-$(BOARD)-install.in as needed
keith-packard Nov 21, 2024
746d0c2
.github: Use parallel build
keith-packard Nov 21, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Check status of upload/install-otheros/otheros targets in Makefile
Need to actuall fail if any of the sequence of commands fail.

Signed-off-by: Keith Packard <keithp@keithp.com>
keith-packard committed Nov 21, 2024
commit ff496afad23797296babece05686feb67e04360b
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -46,13 +46,13 @@ install: all

upload: otheros
+cd doc && make upload
+for otheros in $(SNEK_OTHEROS_DIR); do (cd "$$otheros" && make upload); done
+for otheros in $(SNEK_OTHEROS_DIR); do (cd "$$otheros" && make upload) || exit 1; done

install-otheros: otheros install
+for otheros in $(SNEK_OTHEROS_DIR); do (cd "$$otheros" && make install-otheros); done
+for otheros in $(SNEK_OTHEROS_DIR); do (cd "$$otheros" && make install-otheros) || exit 1; done

otheros: all
+for otheros in $(SNEK_OTHEROS_DIR); do (cd "$$otheros" && make); done
+for otheros in $(SNEK_OTHEROS_DIR); do (cd "$$otheros" && make) || exit 1; done

snek-mu.py:
find . -name '*.builtin' -print0 | xargs -0 python3 ./snek-builtin.py --mu -o $@