Skip to content

Conversation

bbaltz505
Copy link
Contributor

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)

Brian Baltz added 2 commits October 13, 2015 16:04
Signed-off-by: Brian Baltz <brian.a.baltz@intel.com>
Signed-off-by: Brian Baltz <brian.a.baltz@intel.com>
@bbaltz505
Copy link
Contributor Author

@manoelramonintel please review. Do you know where CONFIG_BOARD_EDU_EMU is used from system/libarc32_edu/framework/include/platform.h?
-#ifdef CONFIG_BOARD_ATLASPEAK_EMU
+#ifdef CONFIG_BOARD_ARDUINO101_EMU

@@ -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
Copy link
Contributor

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

Copy link
Contributor Author

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?

Copy link
Contributor

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.

Copy link
Contributor Author

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.

Copy link
Contributor

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.

Copy link
Contributor Author

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=???

Copy link
Contributor

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.

Copy link
Contributor Author

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.

@bbaltz505
Copy link
Contributor Author

@Dan-Emutex Please note the renaming of all codename occurrences of 'EDU' and 'AtlasEdge'

@bbaltz505
Copy link
Contributor Author

@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_ .

@intel-larry
Copy link

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?

@intel-larry
Copy link

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?

@manoelramonintel
Copy link
Contributor

@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.

@intel-larry
Copy link

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.

@manoelramonintel
Copy link
Contributor

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.

@bbaltz505
Copy link
Contributor Author

@manoelramonintel let me remove the #ifdef code and ping you for review.
Also, I built several sketches with the pre-compiled library with no issue. Let me verify the BAT tests run successfully still though.

@intel-larry
Copy link

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
#define RAM_START 0xffb00000
#else
#define RAM_START 0xA8000000
#endif

Becomes:

#define RAM_START 0xA8000000

From: manoelramonintel <notifications@github.commailto:notifications@github.com>
Reply-To: 01org/corelibs-arduino101 <reply@reply.github.commailto:reply@reply.github.com>
Date: Wednesday, October 14, 2015 at 1:41 PM
To: 01org/corelibs-arduino101 <corelibs-arduino101@noreply.github.commailto:corelibs-arduino101@noreply.github.com>
Cc: Larry Barras <larry.barras@intel.commailto:larry.barras@intel.com>
Subject: Re: [corelibs-arduino101] ATLEDGE-364 Rename EDU to Arduino 101 (#52)

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.


Reply to this email directly or view it on GitHubhttps://github.com//pull/52#issuecomment-148191369.

@manoelramonintel
Copy link
Contributor

@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 !

@bbaltz505
Copy link
Contributor Author

@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.

@manoelramonintel
Copy link
Contributor

@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 :) )

@intel-larry
Copy link

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>
Reply-To: 01org/corelibs-arduino101 <reply@reply.github.commailto:reply@reply.github.com>
Date: Wednesday, October 14, 2015 at 1:45 PM
To: 01org/corelibs-arduino101 <corelibs-arduino101@noreply.github.commailto:corelibs-arduino101@noreply.github.com>
Cc: Larry Barras <larry.barras@intel.commailto:larry.barras@intel.com>
Subject: Re: [corelibs-arduino101] ATLEDGE-364 Rename EDU to Arduino 101 (#52)

@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.


Reply to this email directly or view it on GitHubhttps://github.com//pull/52#issuecomment-148193187.

Brian Baltz added 2 commits October 14, 2015 14:55
Signed-off-by: Brian Baltz <brian.a.baltz@intel.com>
Signed-off-by: Brian Baltz <brian.a.baltz@intel.com>
@bbaltz505
Copy link
Contributor Author

@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>
bbaltz505 pushed a commit that referenced this pull request Oct 14, 2015
ATLEDGE-364 Rename EDU to Arduino 101
@bbaltz505 bbaltz505 merged commit 7052d8f into master Oct 14, 2015
@bbaltz505 bbaltz505 deleted the arduino101-rename branch October 16, 2015 22:53
@kitsunami kitsunami changed the title ATLEDGE-364 Rename EDU to Arduino 101 Jira-364 Rename EDU to Arduino 101 Mar 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants