Comments (9)
The rtos submodule reference on the main repository was not updated after the latest batch of merges to the Firmeware.rtos repository. My fault, since I forgot to mention the need to do that when writing the merge request for the changes.
The rtos submodules in the current Firmware repository master needs to be updated to point to the current master of the Firmware.rtos repository.
For the time being, stepping into the modules/rtos folder and executing "git checkout master" restores the build process. Can you confirm this works for you, @mabeett ?
from firmware_v1.
PR open at rtos module repo: ciaa/firmware.modules.rtos#41
from firmware_v1.
The rtos submodules in the current Firmware repository master needs to be updated to point to the current master of the Firmware.rtos repository.
For the time being, stepping into the modules/rtos folder and executing "git checkout master" restores the build process. Can you confirm this works for you, @mabeett ?
Yes, checking out modules/rtos in master each example builds correctly[0]
[0] Disclaimer: I did not test the expected behavior for each example with the board.
from firmware_v1.
@mabeett If you agree, this issue should be renamed to "rtos submodules needs updating to current Firmware.rtos master." or something of that kind. I think only you can do that.
from firmware_v1.
IMO, the issue should remain as is and a new issue «rtos submodules needs updating to current Firmware.rtos master.» should be open.
When the new issue would be solved, this one should be closed too.
I mean this because the root cause es the submodule update, but this is not the issue itself.
Anyway, an administrator also may redefine the sbject an status of this issue.
from firmware_v1.
mmm...
Look at the current master, the problem persists for cortexM0 Os_Internal_Arch_Cfg.c.php
from firmware_v1.
IMO, the issue should remain as is and a new issue «rtos submodules needs updating to current Firmware.rtos master.» should be open. When the new issue would be solved, this one should be closed too. I mean this because the root cause es the submodule update, but this is not the issue itself.
Ok, agree. Let's do that.
mmm... Look at the current master, the problem persists for cortexM0 Os_Internal_Arch_Cfg.c.php
I've never compiled the firmware for the CortexM0 so I'm not sure what error are you seeing, but there is a mistake in the code line you linked:
#include "Os_Internal.h"
#if (CPU == lpc43xx)
/* THIS IS A DIRTY WORKAROUND :( ciaa/Firmware#309*/
#undef FALSE
#undef TRUE
#include "chip.h"
#endif
lpc43xx is not a CPU, but a CPUTYPE. This is something was was corrected on the M4 code when merging the SPARC/picoCIAA code, but seems to have lingered on the M0 code. This code used to work because both "lpc43xx" and "lpc4337" had the same value, but I after the most recent platform additions that's no longer the case.
Try replacing "#if (CPU == lpc43xx)" with "#if (CPUTYPE == lpc43xx)" and see if that fixes the problem you are bumping into.
from firmware_v1.
Try replacing "#if (CPU == lpc43xx)" with "#if (CPUTYPE == lpc43xx)" and see if that fixes the problem you are bumping into.
Yes, this solves the problem.
I do not know in detail the system's file organization, but I understand that the workaround should be applied in the same way for cotexM0 and cortexM4.
I mean #if (CPUTYPE == lpc43xx)
or #if (CPU == lpc4337)
in
gen/src/cortexM0/Os_Internal_Arch_Cfg.c.php
and
gen/src/cortexM4/Os_Internal_Arch_Cfg.c.php
from firmware_v1.
I do not know in detail the system's file organization, bu I understand that the workaround should be applied in the same way for cotexM0 and cortexM4. I mean #if (CPUTYPE == lpc43xx) or #if (CPU == lpc4337) in gen/src/cortexM0/Os_Internal_Arch_Cfg.c.php and gen/src/cortexM4/Os_Internal_Arch_Cfg.c.php
This is already fixed for cortexM4 in the current master of Firmware.rtos.
I'll create an issue for this.
from firmware_v1.
Related Issues (20)
- Make the OIL generator output complaint with make -s
- ethernet lwip (ciaa_nxp): blinking example does not work with DHCP neither works stable with static ip HOT 1
- makefile en linux, $CPU se superpone con entorno global #environment
- Pointer to lseek is left uninitialized in ciaaSerialDevices_addDriver() HOT 3
- example blinking_multicore not working HOT 5
- getNextTask() in Schedule_Int returns invalid task IDs on some compilers HOT 3
- NXPs: ciaaDriverDio.c differs for cortexM4 and cortexM4 HOT 3
- NXPs: ciaaDriverDio.c differs for cortexM0 and cortexM4
- buffer overflow when reading/writing the digital outputs with EDU-CIAA-NXP board.
- definitive implementation for semaphores and sleep
- Posix ciaaSerialDevices NXP UART write output not evaluated HOT 8
- ciaaPOSIX_write() stops the system in ciaa_nxp and edu_ciaa_nxp target HOT 6
- ciaaPOSIX_read() stops the system in ciaa_nxp and edu_ciaa_nxp target HOT 2
- ciaa-nxp, edu-ciaa-nxp SetEvent From ISR2 + WaitEvent from FULL preemptive task stops the system HOT 6
- The function IntSecure_End() must be called inside JmpTask and CallTask(), after finalizing safe executions HOT 1
- Problemas en arranque cuando se usa el oscilador a XT (CIAA NXP y EDU CIAA NXP)
- The rtos submodule needs updating to current Firmware.modules.rtos master
- CPU/CPUTYPE mixup in rtos generator code HOT 4
- ISSUE WHILE GENERATING make HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from firmware_v1.