Skip to content

Commit 75a8c65

Browse files
committed
maintainer updates
1 parent 9b701d6 commit 75a8c65

File tree

3 files changed

+13
-15
lines changed

3 files changed

+13
-15
lines changed

.github/workflows/build-nuttx.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,21 +42,21 @@ jobs:
4242
run: |
4343
sudo apt -y update
4444
sudo apt -y install \
45-
bison flex gettext texinfo libncurses5-dev libncursesw5-dev \
46-
gperf automake libtool pkg-config build-essential gperf genromfs \
47-
libgmp-dev libmpc-dev libmpfr-dev libisl-dev binutils-dev libelf-dev \
48-
libexpat-dev gcc-multilib g++-multilib u-boot-tools util-linux \
49-
kconfig-frontends
50-
45+
bison flex gettext texinfo libncurses5-dev libncursesw5-dev \
46+
gperf automake libtool pkg-config build-essential gperf genromfs \
47+
libgmp-dev libmpc-dev libmpfr-dev libisl-dev binutils-dev libelf-dev \
48+
libexpat-dev gcc-multilib g++-multilib u-boot-tools util-linux \
49+
kconfig-frontends
50+
5151
- name: Install RISC-V toolchain
5252
run: |
5353
mkdir -p riscv-none-elf-gcc && \
5454
curl -s -L "https://github.com/xpack-dev-tools/riscv-none-elf-gcc-xpack/releases/download/v13.2.0-2/xpack-riscv-none-elf-gcc-13.2.0-2-linux-x64.tar.gz" \
55-
| tar -C riscv-none-elf-gcc --strip-components 1 -xz
55+
| tar -C riscv-none-elf-gcc --strip-components 1 -xz
5656
export PATH="$PATH:`pwd`/riscv-none-elf-gcc/bin/"
5757
echo "PATH=$PATH" >> $GITHUB_ENV
5858
riscv-none-elf-gcc --version
59-
59+
6060
- name: Config ${{ matrix.example }}
6161
working-directory: ${{ matrix.example }}
6262
run: cmake -B build -GNinja -DBOARD_CONFIG=rv-virt:leds_swift -DENABLE_NUTTX_TRACE=ON

nuttx-riscv-blink/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,4 @@ Quit from QEMU: `Ctrl-a x`
6868

6969
- [Nuttx - Compiling with CMake](https://nuttx.apache.org/docs/latest/quickstart/compiling_cmake.html)
7070
- [NuttX - C++ Example using CMake](https://nuttx.apache.org/docs/latest/guides/cpp_cmake.html)
71-
- [NuttX - leds_rust](https://lupyuen.github.io/articles/rust6)
71+
- [NuttX - leds_rust](https://lupyuen.github.io/articles/rust6)

nuttx-riscv-blink/leds_swift/leds_swift.swift

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,16 @@
99
//
1010
//===----------------------------------------------------------------------===//
1111

12-
// swift-format-ignore-file
13-
1412
@_cdecl("leds_swift_main")
15-
public func cMain(_ argc: Int32, _ argv: UnsafeMutablePointer<UnsafeMutablePointer<Int8>?>) -> Int32
16-
{
13+
public func cMain(
14+
_ argc: Int32, _ argv: UnsafeMutablePointer<UnsafeMutablePointer<Int8>?>
15+
) -> Int32 {
1716
let ret = task_create(
1817
"led_daemon",
1918
LEDS_PRIORITY,
2019
LEDS_STACKSIZE,
2120
led_daemon,
22-
nil,
23-
)
21+
nil)
2422

2523
if ret < 0 {
2624
print("leds_main: ERROR: Failed to start led_daemon")

0 commit comments

Comments
 (0)