-
-
Notifications
You must be signed in to change notification settings - Fork 283
Jira-364 Rename EDU to Arduino 101 #52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
f6ce7f5
to
540487e
Compare
Signed-off-by: Brian Baltz <brian.a.baltz@intel.com>
Signed-off-by: Brian Baltz <brian.a.baltz@intel.com>
540487e
to
5ccba47
Compare
@manoelramonintel please review. Do you know where CONFIG_BOARD_EDU_EMU is used from system/libarc32_edu/framework/include/platform.h? |
@@ -111,7 +111,7 @@ struct platform_shared_block_ { | |||
struct cdc_acm_shared_data * cdc_acm_buffers; | |||
}; | |||
|
|||
#ifdef CONFIG_BOARD_ATLASPEAK_EMU | |||
#ifdef CONFIG_BOARD_ARDUINO101_EMU | |||
#define RAM_START 0xffb00000 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why are you renaming Atlas Peak EMU to Arduino101 EMU ? EMU is the emulator used for Atlas Peak development like our BT team is using. I do not think this definition must be renamed. Please, keep this comment to other locations of the code
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This source code is released as part of the corelibs package so all occurrences of 'EDU' and 'Atlas*' must be removed/replaced. Is this section of code used anymore since it is for an emulator? Can it be removed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope.. Atlas Peak and Atlas Edge are different things. I understand it is the corelibs but part of this code came from platform (including the drivers). Atlas Peak is the platform name which might have the Atlas Peak EMU for debugging and development. I am not sure if Atlas Peak must be renamed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All internal codenames must be renamed - it's a release requirement from Legal. I was actually replacing AtlasEdge everywhere and replaced this by mistake but it would need to be replaced as well according to their policy. I'll check with Larry on how to handle this. This is a weird one.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok. Just keep this in mind. Atlaspeak and AtlasEdge are different things in the code. AtlasEdge might be renamed but Atlaspeak is the platform name.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, yes. I see what you're saying now.
AtlasEdge=Arduino101
AtlasPeak=???
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
exactly. I believe they will ask you to keep atlaspeak, but just confirm it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Larry said to use QUARK.
@Dan-Emutex Please note the renaming of all codename occurrences of 'EDU' and 'AtlasEdge' |
@manoelramonintel Larry said to use 'QUARK' instead of 'ATLASPEAK'. There is no equivalent to CONFIG_BOARD_ATLASPEAK_ in the firmware. The closest I could find was CONFIG_BOARD_CURIE_ . |
Hey guys, I'm trying to catch up. So what is the issue here? The AtlasPeak is the SoC inside of the Curie module. I think the thing in question is the naming of the AtlasPeak Emulation board - which is an internal project. Can we go look at the same file in the Thunderdome V1 beta (where this file actually originates from) and use the naming convention there? |
I grep'd the entire Arduino directory for CONFIG_BOARD_ATLASPEAK_EMU and the only occurrence is in this file. Are these values actually used to build the pre-built library or anywhere else? |
@intel-larry AtlasPeak EMU is used to emulate the platform using QEMU (under linux). I just want to make sure if this code be merged to the main line again, we will not impact the emulator. |
I grep'd thunderdome and I don't see it there either. It is likely we can just remove this and the "ifdef". The arc lib is only for Arduino support. I don't think we've ever run any of the Arduino sketches in qemu. |
the qemu is being used by the platform teams. If the change proposed does not impact so I am fine with any name or simply removal of the code. |
@manoelramonintel let me remove the #ifdef code and ping you for review. |
I don't hink this will ever be upstreamed. So let's just remove it and replace the all the "ifdef" "else" logic. #ifdef CONFIG_BOARD_ATLASPEAK_EMU Becomes: #define RAM_START 0xA8000000 From: manoelramonintel <notifications@github.commailto:notifications@github.com> the qemu being used by the platform teams. If the change proposed there is no impact so I am fine with any name or simply removal of the code. � |
@bbaltz505 no problem. Thanks! you are not suppose to have any problem with sketches. My concern was only qemu if in the future we merge this code back. Go ahead ! |
@manoelramonintel I'm more concerned that the extensive renaming throughout the code and platform config files (*.txt) and new, pre-compiled library didn't break something. |
@bbaltz505 I think we are fine with these files.. let's merge and test again. I am glad the recompilation of library was done without problems because we were receiving the .a from emutex instead to compile in home (this was the only reason I asked :) ) |
A valid concern. We just have to be careful, change things, test, change things, test and be judicious and methodical about it. From: Brian Baltz <notifications@github.commailto:notifications@github.com> @manoelramonintelhttps://github.com/manoelramonintel I'm more concerned that the extensive renaming throughout the code and platform config files (*.txt) and new, pre-compiled library didn't break something. � |
92dc3d9
to
c36361f
Compare
Signed-off-by: Brian Baltz <brian.a.baltz@intel.com>
Signed-off-by: Brian Baltz <brian.a.baltz@intel.com>
c36361f
to
570a904
Compare
@manoelramonintel I removed CONFIG_BOARD_ATLASPEAK_EMU ifdef section and rebuilt pre-compiled library. Ran the API BAT test with no issues. |
Signed-off-by: Brian Baltz <brian.a.baltz@intel.com>
ATLEDGE-364 Rename EDU to Arduino 101
Updated all references to 'edu' and 'Atlas Edge' in corelibs files. Verified i could compile and upload a sketch on Windows. This requires another change in intel-arduino-tools (PRs 29, 30, 31 and 32)