The Wayback Machine - https://web.archive.org/web/20200529161423/https://github.com/topics/cortex-m
Skip to content
#

cortex-m

Here are 205 public repositories matching this topic...

biansf2001
biansf2001 commented Nov 21, 2017

因为要使用rtt+emwin,在emwin532版本里,GUI_X_OS.c是和os的接口,在rtconfig.h里打开#define RT_USING_CMSIS_OS后,编译出了几条错误,如下
cmsis_rtthread.c
Error[Pe167]: argument of type "os_pthread" is incompatible with parameter of type "void (*)(void *)" \RTThread\rt-thread-v2.1.x\components\CMSIS\RTOS\cmsis_rtthread.c 33
Warning[Pe188]: enumerated type mixed with another type \RTThread\rt-thread-v2.1.x\components\CMSIS\RTOS\cm

thegecko
thegecko commented Sep 16, 2019

Target: Nucleo L073RZ
OS: MacOS 10.14.5
Mbed OS: 5.13.1
Binary: mbed-os-blinky (built with GCC or AC6)

Flashing the above target using a specified CMSIS pack sometimes works, but more often claims No cores were discovered!.

Using the pack from here

./pyocd  flash --frequency 1800000 --uid 066DFF5556547251870951
rleh
rleh commented Apr 24, 2020
uint16_t readChannel(Channel channel)

According to docs.modm.io

typedef uint8_t 	Channel
// this type may also be an enum or enum class 

the call readChannel(1) should be legal, but: error: cannot convert 'int' to 'modm::platform::Adc1::Channel'.

We should up

rubberduck203
rubberduck203 commented Feb 29, 2020

NVIC::enable() was deprecated with the following warning.

WARNING This method is a soundness hole in the API; it should actually be an unsafe function. Use NVIC::unmask which has the right unsafety.

https://docs.rs/stm32f3xx-hal/0.3.0/stm32f3xx_hal/stm32/struct.NVIC.html#method.enable

NVIC::unmask() has the following documentation.

This function is unsafe because it can break m

rockmanx4
rockmanx4 commented Aug 15, 2017

In current patch, we already implemented a futex-liked mutex. It didn't support PI. In order to achieve better real-time capability, the higher priority task should execute as soon as possible. It also makes sense on synchronization. So we could apply PI to enhance our real-time capability.

By the way, this's feature would be released soon. Furthermore, folks should not work on this feature

korken89
korken89 commented Mar 19, 2020

@jamesmunns and I had a discussion on Matrix about the current defaults that leave HardFault_ and DefaultHander_ implemented as infinite loops.
This should most likely be replaced with panic in the default case to help the implementors detect issues and if nothing is done the panic crate takes care of the default course of action.
This might increase code size a bit, but for those that do

Improve this page

Add a description, image, and links to the cortex-m topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the cortex-m topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.
Morty Proxy This is a proxified and sanitized view of the page, visit original site.