Gwilym Inzani
5f59a01c21
Use .take() rather than replace(..., None)
2023-04-12 13:49:22 +01:00
Corwin
fc5ce97db4
Release v0.14.0
2023-04-11 21:28:22 +01:00
Corwin
fd79611dc3
update lock files
2023-04-11 21:27:09 +01:00
Corwin
79e43ccb8b
Interrupt soundness ( #408 )
...
Makes interrupt sound, albeit unsafe.
Also makes allocator not pause interrupts (and therefore not interrupt
safe!!!)
- [x] Changelog updated
2023-04-11 21:09:36 +01:00
Gwilym Inzani
7d9e7318a3
Custom gbafix ( #410 )
...
Start internally using a custom gbafix implementation which will help
remove the need for `arm-none-eabi-binutils`.
Effectively does objcopy + gbafix in one.
Also replaced all the references to `gbafix` in the docs to instead use
`agb-gbafix`.
- [x] Changelog updated / no changelog update needed
2023-04-11 21:03:09 +01:00
Corwin
aea64e974f
change of language
2023-04-11 20:59:45 +01:00
Gwilym Inzani
0d9cc6c1f7
Replace references to gbafix with agb-gbafix
2023-04-11 20:09:05 +01:00
Gwilym Inzani
8af41a9b3c
Add required fields for publishing
2023-04-09 18:40:33 +01:00
Gwilym Inzani
1c56de287a
Do the padding correctly
2023-04-09 18:33:37 +01:00
Gwilym Inzani
aad5aaf26d
Remove installation of gbafix
2023-04-08 21:23:37 +01:00
Gwilym Inzani
2412ac4dc5
Add GPL 3.0 licence for gbafix as required by dependencies
2023-04-08 21:22:02 +01:00
Gwilym Inzani
f70a280aea
Don't create a dictionary here
2023-04-08 21:18:56 +01:00
Gwilym Inzani
7ec077e08a
Implement makercode as expected
2023-04-08 21:18:27 +01:00
Gwilym Inzani
89c883466a
Allow calling just gbafix
2023-04-08 21:14:11 +01:00
Gwilym Inzani
32d19debfb
Add -p argument for compatibility with stock gbafix
2023-04-08 21:13:22 +01:00
Gwilym Inzani
6d28e4193b
Replace objcopy + gbafix to use our own gbafix
2023-04-08 21:10:47 +01:00
Gwilym Inzani
b13318f699
Autogenerate the title
2023-04-07 00:03:00 +01:00
Gwilym Inzani
e87c90d7ad
Remove cargo feature
2023-04-06 23:59:28 +01:00
Gwilym Inzani
d81c28a0d0
Allow configuration of the header
2023-04-06 23:56:19 +01:00
Gwilym Inzani
8aa6e3182b
Add a CLI
2023-04-06 23:43:57 +01:00
Gwilym Inzani
44e0d24f1b
Pad the result
2023-04-06 23:35:44 +01:00
Gwilym Inzani
b76781799a
Use anyhow for errors
2023-04-06 23:16:38 +01:00
Gwilym Inzani
d278d50528
Extract function
2023-04-06 23:13:42 +01:00
Gwilym Inzani
07318256e0
Generate correct 0 bytes
2023-04-06 23:09:19 +01:00
Gwilym Inzani
a111a41deb
Extract constant
2023-04-06 21:55:11 +01:00
Gwilym Inzani
dce7a6726e
Add the correct header
2023-04-06 21:54:26 +01:00
Corwin
d08ce9c85b
note allocator change
2023-04-06 21:53:18 +01:00
Corwin
44ef68d1ea
note the breaking change
2023-04-06 21:49:30 +01:00
Corwin
69b1ea5e47
fix brackets
2023-04-06 21:47:21 +01:00
Corwin
686ded4377
fix doc example
2023-04-06 21:28:52 +01:00
Corwin
96a321504c
correct doc sections
2023-04-06 21:17:33 +01:00
Corwin
dffda47985
resolve interrupts unsoundness
2023-04-06 21:16:13 +01:00
Gwilym Inzani
aa77255720
Correct error message
2023-04-06 21:10:03 +01:00
Gwilym Inzani
16c3395524
Really basic elf parser
2023-04-06 21:09:44 +01:00
Corwin
d3834ed2ff
allocator unsound to use in interrupt
2023-04-06 20:48:04 +01:00
Corwin
3e2c57f838
Allocator growth ( #407 )
...
Adds growth to the block allocator.
- [x] No changelog update needed
2023-04-06 20:30:20 +01:00
Corwin
182bae100c
remove unused function
2023-04-06 19:23:55 +01:00
Corwin
46faff254f
add grow to block allocator
2023-04-06 19:23:42 +01:00
Corwin
7030d65d9f
extract mutable and staticable parts
2023-04-06 17:31:02 +01:00
Corwin
af168f709b
update lock files
2023-04-06 17:17:12 +01:00
Gwilym Inzani
812e99cef5
Reduce codegen units to 1 to ensure build works ( #406 )
...
Workaround for #393
- [x] Changelog updated / no changelog update needed
2023-04-05 17:20:42 +01:00
Gwilym Inzani
6c4f1bcc11
Add changelog entry for codegen-units=1
2023-04-05 17:07:50 +01:00
Gwilym Inzani
e07a080aad
Reduce codegen units to 1 to ensure build works
2023-04-05 17:06:56 +01:00
Gwilym Inzani
33620aaf09
Add shstrtab section for lld ( #403 )
...
Now required since you can use lld as the linker. However, still have
the 'cannot represent a difference across sections' error :(.
- [x] Changelog updated / no changelog update needed
2023-04-03 19:10:39 +01:00
Gwilym Inzani
64620afa10
Add changelog entry
2023-04-02 20:40:41 +01:00
Gwilym Inzani
9d621f9b6a
Add shstrtab section for lld
2023-04-02 20:39:38 +01:00
Gwilym Inzani
7c4445b521
Update Rust crate toml_edit to 0.19 ( #382 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [toml_edit](https://togithub.com/ordian/toml_edit ) | dependencies |
minor | `0.18` -> `0.19` |
---
### Release Notes
<details>
<summary>ordian/toml_edit</summary>
###
[`v0.19.8`](https://togithub.com/ordian/toml_edit/compare/v0.19.7...v0.19.8 )
[Compare
Source](https://togithub.com/ordian/toml_edit/compare/v0.19.7...v0.19.8 )
###
[`v0.19.7`](https://togithub.com/ordian/toml_edit/compare/v0.19.6...v0.19.7 )
[Compare
Source](https://togithub.com/ordian/toml_edit/compare/v0.19.6...v0.19.7 )
###
[`v0.19.6`](https://togithub.com/ordian/toml_edit/compare/v0.19.5...v0.19.6 )
[Compare
Source](https://togithub.com/ordian/toml_edit/compare/v0.19.5...v0.19.6 )
###
[`v0.19.5`](https://togithub.com/ordian/toml_edit/compare/v0.19.4...v0.19.5 )
[Compare
Source](https://togithub.com/ordian/toml_edit/compare/v0.19.4...v0.19.5 )
###
[`v0.19.4`](https://togithub.com/ordian/toml_edit/compare/v0.19.3...v0.19.4 )
[Compare
Source](https://togithub.com/ordian/toml_edit/compare/v0.19.3...v0.19.4 )
###
[`v0.19.3`](https://togithub.com/ordian/toml_edit/compare/v0.19.2...v0.19.3 )
[Compare
Source](https://togithub.com/ordian/toml_edit/compare/v0.19.2...v0.19.3 )
###
[`v0.19.2`](https://togithub.com/ordian/toml_edit/compare/v0.19.1...v0.19.2 )
[Compare
Source](https://togithub.com/ordian/toml_edit/compare/v0.19.1...v0.19.2 )
###
[`v0.19.1`](https://togithub.com/ordian/toml_edit/compare/v0.19.0...v0.19.1 )
[Compare
Source](https://togithub.com/ordian/toml_edit/compare/v0.19.0...v0.19.1 )
###
[`v0.19.0`](https://togithub.com/ordian/toml_edit/compare/v0.18.1...v0.19.0 )
[Compare
Source](https://togithub.com/ordian/toml_edit/compare/v0.18.1...v0.19.0 )
###
[`v0.18.1`](https://togithub.com/ordian/toml_edit/compare/v0.18.0...v0.18.1 )
[Compare
Source](https://togithub.com/ordian/toml_edit/compare/v0.18.0...v0.18.1 )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/agbrs/agb ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMTEuMSIsInVwZGF0ZWRJblZlciI6IjM1LjE3LjEifQ==-->
2023-03-23 23:26:43 +00:00
Gwilym Inzani
ee823418a0
Better error message for #[agb::entry] errors ( #400 )
...
Generates compile error calls when something goes wrong.
- [x] Changelog updated / no changelog update needed
2023-03-23 23:24:06 +00:00
renovate[bot]
24f34caf97
Update Rust crate toml_edit to 0.19
2023-03-23 23:14:02 +00:00
Gwilym Inzani
b1e8b2babb
Update Rust crate toml to 0.7 ( #378 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [toml](https://togithub.com/toml-rs/toml ) | dependencies | minor |
`0.5` -> `0.7` |
---
### Release Notes
<details>
<summary>toml-rs/toml</summary>
###
[`v0.7.3`](https://togithub.com/toml-rs/toml/compare/toml-v0.7.2...toml-v0.7.3 )
[Compare
Source](https://togithub.com/toml-rs/toml/compare/toml-v0.7.2...toml-v0.7.3 )
###
[`v0.7.2`](https://togithub.com/toml-rs/toml/compare/toml-v0.7.1...toml-v0.7.2 )
[Compare
Source](https://togithub.com/toml-rs/toml/compare/toml-v0.7.1...toml-v0.7.2 )
###
[`v0.7.1`](https://togithub.com/toml-rs/toml/compare/toml-v0.7.0...toml-v0.7.1 )
[Compare
Source](https://togithub.com/toml-rs/toml/compare/toml-v0.7.0...toml-v0.7.1 )
###
[`v0.7.0`](https://togithub.com/toml-rs/toml/compare/toml-v0.6.0...toml-v0.7.0 )
[Compare
Source](https://togithub.com/toml-rs/toml/compare/toml-v0.6.0...toml-v0.7.0 )
###
[`v0.6.0`](https://togithub.com/toml-rs/toml/compare/toml-v0.5.11...toml-v0.6.0 )
[Compare
Source](https://togithub.com/toml-rs/toml/compare/toml-v0.5.11...toml-v0.6.0 )
###
[`v0.5.11`](https://togithub.com/toml-rs/toml/compare/toml-v0.5.10...toml-v0.5.11 )
[Compare
Source](https://togithub.com/toml-rs/toml/compare/toml-v0.5.10...toml-v0.5.11 )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/agbrs/agb ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMDkuMSIsInVwZGF0ZWRJblZlciI6IjM1LjE3LjEifQ==-->
2023-03-23 23:13:10 +00:00