Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
qitas committed Mar 30, 2024
1 parent d02cb4d commit 00e1f1f
Show file tree
Hide file tree
Showing 21 changed files with 26 additions and 26 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# [platform-agm32](https://github.com/os-q/platform-agm32)
# [platform-agm32rv](https://github.com/os-q/platform-agm32)

[![Build Status](https://github.com/os-q/platform-agm32/workflows/examples/badge.svg)](https://github.com/os-q/platform-agm32/actions/workflows/examples.yml)

# Usage

```ini
[env:stable]
platform = AgRV
platform = agm32rv
board = ...
framework = agrv_sdk
...
Expand Down
2 changes: 1 addition & 1 deletion examples/ahb_slave/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ monitor_port = socket://localhost:19021
# Base environment. Shared in both debug and release.
[env]
# Development platform. Do not change.
platform = AgRV
platform = agm32rv

extends =
setup # Common settings.
Expand Down
2 changes: 1 addition & 1 deletion examples/analog/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ monitor_port = socket://localhost:19021
# Base environment. Shared in both debug and release.
[env]
# Development platform. Do not change.
platform = AgRV
platform = agm32rv

extends =
setup # Common settings.
Expand Down
2 changes: 1 addition & 1 deletion examples/custom_ip/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ monitor_port = socket://localhost:19021
# Base environment. Shared in both debug and release.
[env]
# Development platform. Do not change.
platform = AgRV
platform = agm32rv

extends =
setup # Common settings.
Expand Down
2 changes: 1 addition & 1 deletion examples/dfu/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ include_dir = ${setup.include_dir}
default_envs = dev

[env]
platform = AgRV
platform = agm32rv
extends = setup_uart

[env:dev]
Expand Down
2 changes: 1 addition & 1 deletion examples/embOS/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ monitor_port = socket://localhost:19021
# Base environment. Shared in both debug and release.
[env]
# Development platform. Do not change.
platform = AgRV
platform = agm32rv

extends =
setup # Common settings.
Expand Down
2 changes: 1 addition & 1 deletion examples/example/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ monitor_port = socket://localhost:19021
# Base environment. Shared in both debug and release.
[env]
# Development platform. Do not change.
platform = AgRV
platform = agm32rv

extends =
setup # Common settings.
Expand Down
2 changes: 1 addition & 1 deletion examples/freeRTOS/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ monitor_port = socket://localhost:19021
# Base environment. Shared in both debug and release.
[env]
# Development platform. Do not change.
platform = AgRV
platform = agm32rv

extends =
setup # Common settings.
Expand Down
2 changes: 1 addition & 1 deletion examples/lwip/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ monitor_port = socket://localhost:19021
# Base environment. Shared in both debug and release.
[env]
# Development platform. Do not change.
platform = AgRV
platform = agm32rv

extends =
setup # Common settings.
Expand Down
2 changes: 1 addition & 1 deletion examples/rtthread/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ monitor_port = socket://localhost:19021
# Base environment. Shared in both debug and release.
[env]
# Development platform. Do not change.
platform = AgRV
platform = agm32rv

extends =
setup # Common settings.
Expand Down
2 changes: 1 addition & 1 deletion examples/spi/fast_spi/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
default_envs = flash_fast

[common]
platform = AgRV
platform = agm32rv
board = agrv2k_407
framework = agrv_sdk
board_upload.logic_address = 0x80027000
Expand Down
2 changes: 1 addition & 1 deletion examples/spi/full_duplex_spi/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
default_envs = debug

[setup]
platform = AgRV
platform = agm32rv
board = agrv2k_407
framework = agrv_sdk

Expand Down
2 changes: 1 addition & 1 deletion examples/spi/psram/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
default_envs = debug

[setup]
platform = AgRV
platform = agm32rv
board = agrv2k_407
framework = agrv_sdk

Expand Down
2 changes: 1 addition & 1 deletion examples/uCOS/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ monitor_port = socket://localhost:19021
# Base environment. Shared in both debug and release.
[env]
# Development platform. Do not change.
platform = AgRV
platform = agm32rv

extends =
setup # Common settings.
Expand Down
2 changes: 1 addition & 1 deletion examples/uart_master/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ src_dir = .
include_dir = ./src

[setup]
platform = AgRV
platform = agm32rv
framework = agrv_sdk
board = agrv2k_103
logic_compress = true
Expand Down
2 changes: 1 addition & 1 deletion examples/usb/cdc_msc/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ monitor_port = socket://localhost:19021
# Base environment. Shared in both debug and release.
[env]
# Development platform. Do not change.
platform = AgRV
platform = agm32rv

extends =
setup # Common settings.
Expand Down
2 changes: 1 addition & 1 deletion examples/usb/host_cdc_msc_hid/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ monitor_port = socket://localhost:19021
# Base environment. Shared in both debug and release.
[env]
# Development platform. Do not change.
platform = AgRV
platform = agm32rv

extends =
setup # Common settings.
Expand Down
2 changes: 1 addition & 1 deletion examples/usb/otg_host_hid_device_cdc/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ monitor_port = socket://localhost:19021
# Base environment. Shared in both debug and release.
[env]
# Development platform. Do not change.
platform = AgRV
platform = agm32rv

extends =
setup # Common settings.
Expand Down
2 changes: 1 addition & 1 deletion examples/usb/tinyusb_lwip/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ monitor_port = socket://localhost:19021
# Base environment. Shared in both debug and release.
[env]
# Development platform. Do not change.
platform = AgRV
platform = agm32rv

extends =
setup # Common settings.
Expand Down
8 changes: 4 additions & 4 deletions platform.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "AgRV",
"title": "Agm RiscV",
"name": "agm32rv",
"title": "Agm RISC-V",
"description": "The AgRV family provides cutting edge re-configurable RISC-V based MCU hardware and software solutions.",
"homepage": "https://www.alta-gate.com",
"license": "Apache-2.0",
Expand Down Expand Up @@ -60,7 +60,7 @@
"framework-agrv_sdk": {
"optional": false,
"type": "framework",
"version": ">0.0.0"
"version": "https://github.com/os-q/framework-agrv_sdk.git"
},
"framework-agrv_ips": {
"optional": true,
Expand All @@ -70,7 +70,7 @@
"framework-agrv_tinyusb": {
"optional": true,
"type": "framework",
"version": ">0.0.0"
"version": "https://github.com/os-q/framework-agrv_tinyusb.git"
},
"framework-agrv_lwip": {
"optional": true,
Expand Down
4 changes: 2 additions & 2 deletions platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@ def append_uniq(to_list, from_list):
if from_item not in to_list:
to_list.append(from_item)

class AgrvPlatform(PlatformBase):
class Agm32rvPlatform(PlatformBase):

def __init__(self, manifest_path):
super(AgrvPlatform, self).__init__(manifest_path)
super(Agm32rvPlatform, self).__init__(manifest_path)

# Set the default debug_init_break to empty so that debug is not auto resumed in gdb.py
ProjectOptions["env.debug_init_break"].default = ""
Expand Down

0 comments on commit 00e1f1f

Please sign in to comment.